Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.snipp.gg/llms.txt

Use this file to discover all available pages before exploring further.

Update an existing upload’s title, description, or privacy level.

Behavior

  • You must own the upload to edit it.
  • At least one of the title, description, or post-privacy headers must be provided.
  • Send an empty string for title or description to clear the field.
  • title is truncated to 30 characters, description to 200 characters.

Examples

Update a post’s title and privacy:
curl -X PATCH "https://relay.snipp.gg/editUpload" \
  -H "relay-key: YOUR_RELAY_KEY" \
  -H "code: AbCd1234" \
  -H "title: New title" \
  -H "post-privacy: public"
Clear a post’s description:
curl -X PATCH "https://relay.snipp.gg/editUpload" \
  -H "relay-key: YOUR_RELAY_KEY" \
  -H "code: AbCd1234" \
  -H "description: "

Responses

{
  "message": "Upload updated successfully.",
  "post": {
    "code": "AbCd1234",
    "title": "New title",
    "description": null,
    "postPrivacy": "public"
  }
}