POST
api/v1/v/{subverse}

Posts a new submission to the specified subverse.

Request

URL Parameters

Name (Data Type)Description
subverse: string

The subverse in which to post

Additional information

  • Required

Body Parameters

The properties of the post

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

Not Implemented. Specifies if the submission is NSFW or not.

isAnonymized: boolean

Not Implemented. Specifies if the submission is Anonymous or not.

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:
{
  "title": "Is this my only love in life?",
  "content": "cookies"
}

Response

ApiDataResponseOfSubmission
Name (Data Type)Description
data: Submission

success: boolean

version: string

error: ErrorInfo

Response Formats

application/json

Sample:
{
  "success": true,
  "data": {
    "id": 23422,
    "subverse": "HapyManDingo",
    "type": "Text",
    "userName": "Atko",
    "title": "sample string 1",
    "url": null,
    "thumbnailUrl": null,
    "content": "sample string 3",
    "formattedContent": null,
    "commentCount": 0,
    "creationDate": "2017-08-20T03:49:25.2386715Z",
    "lastEditDate": null,
    "isAnonymized": false,
    "isAdult": false,
    "isDeleted": false,
    "views": 0,
    "attributes": [],
    "isOwner": false,
    "archiveDate": null,
    "vote": null,
    "sum": 0,
    "upCount": 0,
    "downCount": 0
  },
  "version": "1.1.6251.24016"
}