PUT
api/v1/submissions/{submissionID}

Edits a submission.

Request

URL Parameters

Name (Data Type)Description
submissionID: integer

The ID of the submission to edit.

Additional information

  • Required

Body Parameters

Values to edit

UserSubmission
Name (Data Type)Description
content: string

Optional. A value containing the content/text for a submission. Editable for self-posts only.

Additional information

  • Max length: 10000

isAdult: boolean

Specifies if the submission is NSFW or not. If subverse is marked as adult, this setting is overridden

isAnonymized: boolean

Specifies if the submission is Anonymous or not. Used only if subverse allows user defined anonymous posts.

title: string

The title for a post. This value is editable within a 10 minute window, afterwards title edits are ignored.

Additional information

  • Max length: 200

  • Min length: 10

url: string

Optional. A value containing the url for a link submission. If this value is set, content is ignored. Not-Editable once saved.

Request Formats

application/json

Sample:
{
  "content": "sample string 1",
  "isAdult": true,
  "isAnonymized": true,
  "title": "sample string 5",
  "url": "sample string 6"
}

Response

ApiDataResponseOfSubmission
Name (Data Type)Description
data: Submission

success: boolean

version: string

error: ErrorInfo

Response Formats

application/json

Sample:
{
  "success": true,
  "data": {
    "id": 7564,
    "subverse": "TheRealMe",
    "type": "Link",
    "userName": "DerpyGuy",
    "title": "This is my real picture",
    "url": "http://images.tribe.net/tribe/upload/photo/7d3/566/7d3566e6-75de-48ca-b2fd-bf56574948eb",
    "thumbnailUrl": null,
    "content": null,
    "formattedContent": null,
    "commentCount": 43,
    "creationDate": "2017-06-20T12:14:57.8480986Z",
    "lastEditDate": null,
    "isAnonymized": false,
    "isAdult": false,
    "isDeleted": false,
    "views": 23432,
    "attributes": [],
    "isOwner": false,
    "archiveDate": null,
    "vote": null,
    "sum": 34178,
    "upCount": 34223,
    "downCount": 45
  },
  "version": "1.1.6291.19775"
}