before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "after": "string",
- "before": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
}
]
}
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "after": "string",
- "before": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
}
]
}
subreddit required | string The name of the subreddit |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
flairId | string Flair id to get all posts with that flair (optional) |
{- "after": "string",
- "before": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
}
]
}
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "after": "string",
- "before": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
}
]
}
subreddit required | string The name of the subreddit |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
flairId | string Flair id to get all posts with that flair (optional) |
{- "after": "string",
- "before": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
}
]
}
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "after": "string",
- "before": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
}
]
}
subreddit required | string The name of the subreddit |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
flairId | string Flair id to get all posts with that flair (optional) |
{- "after": "string",
- "before": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
}
]
}
time | string Default: "all" Enum: "hour" "day" "week" "month" "year" "all" The time interval for the results |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "after": "string",
- "before": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
}
]
}
subreddit required | string The name of the subreddit |
time | string Default: "all" Enum: "hour" "day" "week" "month" "year" "all" The time interval for the results |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
flairId | string Flair id to get all posts with that flair (optional) |
{- "after": "string",
- "before": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
}
]
}
username required | string Username |
password required | string Password |
{- "username": "string",
- "password": "string"
}
{- "username": "string",
- "token": "string"
}
id required | string User's id |
token required | string The token created by the server to reset the password |
newPassword required | string New password |
verifyPassword required | string New password again to verify |
{- "newPassword": "string",
- "verifyPassword": "string"
}
{- "error": "string"
}
email required | string Email to send the username to |
{- "email": "string"
}
{- "error": "string"
}
text required | string Message Content as text |
senderUsername required | string Username of the sender if it was user sent it as /u/username ad if it a subreddit send it as /r/subredditName |
receiverUsername required | string Username of the receiver if it was user sent it as /u/username ad if it a subreddit send it as /r/subredditName |
subject required | string Subject of the message |
subredditName | string name of the subreddit that you send or received the msg via |
isReply | boolean describes if the message is a reply or not |
repliedMsgId | string describes the name of the msg that this msg is a reply for |
{- "text": "string",
- "senderUsername": "string",
- "receiverUsername": "string",
- "subject": "string",
- "subredditName": "string",
- "isReply": true,
- "repliedMsgId": "string"
}
{- "error": "string"
}
postId required | string Id of the post that the mention is in |
commentId required | string Id of the comment that the mention is in |
receiverUsername required | string Username of the user that was mentioned |
{- "postId": "string",
- "commentId": "string",
- "receiverUsername": "string"
}
{- "error": "string"
}
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "text": "string",
- "subredditName": "string",
- "isModerator": true,
- "senderUsername": "string",
- "receiverUsername": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "subject": "string",
- "isSenderUser": true,
- "isReceiverUser": true
}
}
]
}
before | string The id of last item in the listing that follows before this page. null if there is no previous page Only one of after/before will be specified. |
after | string The id of last item in the listing that follows after this page. null if there is no next page Only one of after/before will be specified. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "text": "string",
- "senderUsername": "string",
- "receiverUsername": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "subject": "string",
- "type": "Mentions",
- "subredditName": "string",
- "postTitle": "string",
- "postId": "string",
- "commentId": "string",
- "numOfComments": 0,
- "isSenderUser": true,
- "isReceiverUser": true,
- "isRead": true,
- "vote": 1,
- "postOwner": "string"
}
}
]
}
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "text": "string",
- "subredditName": "string",
- "senderUsername": "string",
- "receiverUsername": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "subject": "string",
- "isSenderUser": true,
- "isReceiverUser": true
}
}
]
}
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "text": "string",
- "senderUsername": "string",
- "receiverUsername": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "subredditName": "string",
- "postTitle": "string",
- "postId": "string",
- "commentId": "string",
- "numOfComments": 0,
- "isRead": true,
- "vote": 1,
- "postOwner": "string"
}
}
]
}
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "text": "string",
- "senderUsername": "string",
- "receiverUsername": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "subredditName": "string",
- "postTitle": "string",
- "postId": "string",
- "commentId": "string",
- "numOfComments": 0,
- "isRead": true,
- "vote": 1,
- "postOwner": "string"
}
}
]
}
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "subjectTitle": "string",
- "isUser": true,
- "subjectContent": "string",
- "messages": [
- {
- "msgID": "string",
- "senderUsername": "string",
- "text": "string",
- "receiverUsername": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "subredditName": "string",
- "isSenderUser": true,
- "isReceiverUser": true
}
]
}
}
]
}
id required | string id of a thing. |
type required | string type of that thing (post, comment,..). |
{- "id": "string",
- "type": "string"
}
{- "error": "string"
}
id required | string id of a thing. |
type required | string type of that thing (post, comment,..). |
{- "id": "string",
- "type": "string"
}
{- "error": "string"
}
id required | string id of a thing. |
type required | string type of that thing (post, comment,..). |
{- "id": "string",
- "type": "string"
}
{- "error": "string"
}
id required | string id of a thing. |
type required | string type of that thing (post, comment,..). |
{- "id": "string",
- "type": "string"
}
{- "error": "string"
}
id required | string id of a thing. |
type required | string type of that thing (post, comment) |
{- "id": "string",
- "type": "string"
}
{- "error": "string"
}
subreddit required | string Subreddit name |
{- "postFlairs": [
- {
- "flairId": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string",
- "settings": {
- "modOnly": true,
- "allowUserEdits": true,
- "flairType": "Text and emojis",
- "emojisLimit": 0
}
}
]
}
subreddit required | string Subreddit name |
flairName required | string Name of the flair |
backgroundColor | string Background color of the flair |
textColor | string Color of the flair name |
required | object (FlairSettings) |
{- "flairName": "string",
- "backgroundColor": "string",
- "textColor": "string",
- "settings": {
- "modOnly": true,
- "allowUserEdits": true,
- "flairType": "Text and emojis",
- "emojisLimit": 0
}
}
{- "flairId": "string"
}
subreddit required | string Subreddit name |
flairId required | string Post flair ID |
{- "flairId": "string",
- "flairName": "string",
- "backgroundColor": "string",
- "flairOrder": 0,
- "textColor": "string",
- "settings": {
- "modOnly": true,
- "allowUserEdits": true,
- "flairType": "Text and emojis",
- "emojisLimit": 0
}
}
subreddit required | string Subreddit name |
flairId required | string id of a post flair |
flairName required | string Name of the flair |
backgroundColor | string Background color of the flair |
textColor | string Color of the flair name |
required | object (FlairSettings) |
{- "flairName": "string",
- "backgroundColor": "string",
- "textColor": "string",
- "settings": {
- "modOnly": true,
- "allowUserEdits": true,
- "flairType": "Text and emojis",
- "emojisLimit": 0
}
}
{- "error": "string"
}
subreddit required | string Subreddit name |
Array of objects |
{- "flairsOrder": [
- {
- "flairId": "string",
- "flairOrder": "string"
}
]
}
{- "error": "string"
}
subreddit required | string Subreddit name |
enablePostFlairs | boolean Indicates whether this community enabled flairs on posts or not |
allowUsers | boolean This will let users select, edit, and clear post flair for their posts in this community. |
{- "enablePostFlairs": true,
- "allowUsers": true
}
{- "error": "string"
}
subreddit required | string The name of the subreddit. |
{- "subreddit": "string"
}
{- "error": "string"
}
username required | string Username of the user to send the invitation to. |
subreddit required | string The name of the subreddit. |
permissionToEverything required | boolean True if user can have full access in that subreddit |
permissionToManageUsers required | boolean True if user can access mod notes, ban and mute users, and approve submitters |
permissionToManageSettings required | boolean True if user can manage community settings, appearance, emojis, rules, and AutoMod |
permissionToManageFlair required | boolean True if user can create and manage user and post flair |
permissionToManagePostsComments required | boolean True if user can access queues, take action on content, and manage collections and events |
{- "username": "string",
- "subreddit": "string",
- "permissionToEverything": true,
- "permissionToManageUsers": true,
- "permissionToManageSettings": true,
- "permissionToManageFlair": true,
- "permissionToManagePostsComments": true
}
{- "error": "string"
}
username required | string Username of the user to send the invitation to. |
subreddit required | string The name of the subreddit. |
{- "username": "string",
- "subreddit": "string"
}
{- "error": "string"
}
subreddit required | string name of the subreddit to leave it's moderation. |
{- "subreddit": "string"
}
{- "error": "string"
}
subreddit required | string name of the subreddit. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
limit | integer <= 100 Default: 25 the maximum number of items desired (default 25, maximum 100) |
only required | string Enum: "posts" "comments" type of things to be returned |
sort | string Default: "newestfirst" Enum: "new" "old" method of sorting the returned things |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "subreddit": "string",
- "postedBy": "string",
- "title": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "votes": 0,
- "numberOfComments": 0,
- "editedAt": "2019-08-24T14:15:22Z",
- "postedAt": "2019-08-24T14:15:22Z",
- "spammedAt": "2019-08-24T14:15:22Z",
- "saved": true,
- "vote": 1
}
}
]
}
subreddit required | string name of the subreddit. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
limit | integer <= 100 Default: 25 the maximum number of items desired (default 25, maximum 100) |
only required | string Enum: "posts" "comments" type of things to be returned |
sort | string Default: "newestfirst" Enum: "new" "old" method of sorting the returned things |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "postId": "string",
- "postTitle": "string",
- "comment": {
- "id": "string",
- "subreddit": "string",
- "commentedBy": "string",
- "commentedAt": "2019-08-24T14:15:22Z",
- "editedAt": "2019-08-24T14:15:22Z",
- "spammedAt": "2019-08-24T14:15:22Z",
- "votes": 0,
- "saved": true,
- "vote": 1
}
}
]
}
subreddit required | string name of the subreddit. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
limit | integer <= 100 Default: 25 the maximum number of items desired (default 25, maximum 100) |
only required | string Enum: "posts" "comments" type of things to be returned |
sort | string Default: "newestfirst" Enum: "new" "old" method of sorting the returned things |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "subreddit": "string",
- "postedBy": "string",
- "title": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "votes": 0,
- "numberOfComments": 0,
- "editedAt": "2019-08-24T14:15:22Z",
- "postedAt": "2019-08-24T14:15:22Z",
- "spammedAt": "2019-08-24T14:15:22Z",
- "saved": true,
- "vote": 1
}
}
]
}
subreddit required | string name of the subreddit. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
limit | integer <= 100 Default: 25 the maximum number of items desired (default 25, maximum 100) |
only required | string Enum: "posts" "comments" type of things to be returned |
sort | string Default: "newestfirst" Enum: "new" "old" method of sorting the returned things |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "postId": "string",
- "postTitle": "string",
- "comment": {
- "id": "string",
- "subreddit": "string",
- "commentedBy": "string",
- "commentedAt": "2019-08-24T14:15:22Z",
- "editedAt": "2019-08-24T14:15:22Z",
- "spammedAt": "2019-08-24T14:15:22Z",
- "votes": 0,
- "saved": true,
- "vote": 1
}
}
]
}
subreddit required | string name of the subreddit. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
limit | integer <= 100 Default: 25 the maximum number of items desired (default 25, maximum 100) |
sort | string Default: "newestfirst" Enum: "new" "old" method of sorting the returned things |
show | string optional parameter; if all is passed, filters such as "hide links that I have voted on" will be disabled. |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "subreddit": "string",
- "postedBy": "string",
- "title": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "votes": 0,
- "numberOfComments": 0,
- "editedAt": "2019-08-24T14:15:22Z",
- "postedAt": "2019-08-24T14:15:22Z",
- "spammedAt": "2019-08-24T14:15:22Z",
- "saved": true,
- "vote": 1
}
}
]
}
username required | string Username of the user to be banned |
subreddit required | string The name of the subreddit. |
banPeriod | integer The period that user will be banned in days if not permanent. (default Permanent) |
reasonForBan required | string The reason for banning that user. |
modNote | string Note on that ban |
noteInclude | string Note to include in ban message |
{- "username": "string",
- "subreddit": "string",
- "banPeriod": 0,
- "reasonForBan": "string",
- "modNote": "string",
- "noteInclude": "string"
}
{- "error": "string"
}
username required | string Username of the user to be banned |
subreddit required | string The name of the subreddit. |
{- "username": "string",
- "subreddit": "string"
}
{- "error": "string"
}
subreddit required | string name of the subreddit. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
limit | integer <= 100 Default: 25 the maximum number of items desired (default 25, maximum 100) |
show | string optional parameter; if all is passed, filters such as "hide links that I have voted on" will be disabled. |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "username": "string",
- "userId": "string",
- "avatar": "string",
- "bannedAt": "2019-08-24T14:15:22Z",
- "banPeriod": 0,
- "modNote": "string",
- "noteInclude": "string",
- "reasonForBan": "Spam"
}
]
}
subreddit required | string name of the subreddit. |
username required | string Username of the user to be approved |
{- "username": "string"
}
{- "error": "string"
}
subreddit required | string name of the subreddit. |
username required | string Username of the user to be muted |
muteReason | string Reason to why this user was muted |
{- "username": "string",
- "muteReason": "string"
}
{- "error": "string"
}
subreddit required | string name of the subreddit. |
username required | string Username of the user to be removed |
{- "username": "string"
}
{- "error": "string"
}
subreddit required | string name of the subreddit. |
username required | string Username of the user to be unmuted |
{- "username": "string"
}
{- "error": "string"
}
subreddit required | string name of the subreddit. |
{- "communityName": "string",
- "mainTopic": "string",
- "subTopics": [
- "string"
], - "communityDescription": "string",
- "sendWelcomeMessage": true,
- "welcomeMessage": "string",
- "language": "string",
- "region": "string",
- "type": "Public",
- "NSFW": true,
- "acceptingRequestsToJoin": true,
- "acceptingRequestsToPost": true,
- "approvedUsersHaveTheAbilityTo": "Post only"
}
subreddit required | string name of the subreddit. |
communityName required | string The name of the community. |
mainTopic required | string The main topic of the community. |
subTopics required | Array of strings The sub topics of the community. |
communityDescription required | string The description of the community. (maximum 500 Characters) |
sendWelcomeMessage required | boolean If that community send a welcome message to the new members or not. |
welcomeMessage required | string The welcome message of the community. (if sendWelcomeMessage is true) (maximum 5000 Characters) |
language required | string The janguage of the community. |
Region | string The region of the community. |
Type required | string Enum: "Public" "Restricted" "Private" The type of the community. |
NSFW required | boolean The community allow +18 content or not. |
acceptingRequestsToJoin required | boolean Display a button on your private subreddit that allows users to request to join. (if the type is private only) |
acceptingRequestsToPost required | boolean Accept posts or not (if the type is restricted only) |
approvedUsersHaveTheAbilityTo required | string Enum: "Post only" "Comment only" "Post & Comment" Approved users have the ability to (if the type is restricted only) |
{- "communityName": "string",
- "mainTopic": "string",
- "subTopics": [
- "string"
], - "communityDescription": "string",
- "sendWelcomeMessage": true,
- "welcomeMessage": "string",
- "language": "string",
- "Region": "string",
- "Type": "Public",
- "NSFW": true,
- "acceptingRequestsToJoin": true,
- "acceptingRequestsToPost": true,
- "approvedUsersHaveTheAbilityTo": "Post only"
}
{- "error": "string"
}
subreddit required | string name of the subreddit. |
enableSpoiler required | boolean Enable spoiler tag in posts or not |
allowImagesInComment required | boolean Allow images on comment or not |
suggestedSort required | string Enum: "none" "best" "top" "new" "old" The sugggested sort for comment in that community |
{- "enableSpoiler": true,
- "allowImagesInComment": true,
- "suggestedSort": "none"
}
{- "error": "string"
}
subreddit required | string name of the subreddit. |
{- "numberOfJoinedLastDay": 0,
- "numberOfJoinedLastWeek": 0,
- "numberOfJoinedLastMonth": 0,
- "numberOfLeftLastDay": 0,
- "numberOfLeftLastWeek": 0,
- "numberOfLeftLastMonth": 0,
- "days": [
- {
- "day": "string",
- "numberOfJoined": 0
}
], - "weeks": [
- {
- "day": "string",
- "numberOfJoined": 0
}
], - "months": [
- {
- "month": "string",
- "numberOfJoined": 0
}
]
}
subreddit required | string name of the subreddit. |
ruleName required | string The name of the rule. |
appliesTo required | string Enum: "posts and comments" "posts only" "comments only" Where to apply the rule |
reportReason | string The reason of the report. (maximum 100 charachter) |
description | string The full description of the report. (maximum 500 charachter) |
{- "ruleName": "string",
- "appliesTo": "posts and comments",
- "reportReason": "string",
- "description": "string"
}
{- "ruleId": "string"
}
subreddit required | string name of the subreddit. |
{- "rules": [
- {
- "ruleID": "string",
- "ruleName": "string",
- "ruleOrder": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "appliesTo": "posts and comments",
- "reportReason": "string",
- "description": "string"
}
]
}
subreddit required | string name of the subreddit. |
ruleId required | string id of the rule. |
ruleName required | string The name of the rule. |
ruleOrder required | integer Order of the rule (add it as it is.. don't edit it.. if you want to edit it use the /r/{subreddit}/about/rules-order endpoint to edit the rules order) |
appliesTo required | string Enum: "posts and comments" "posts only" "comments only" Where to apply the rule |
reportReason | string The reason of the report. (maximum 100 charachter) |
description | string The full description of the report. (maximum 500 charachter) |
{- "ruleName": "string",
- "ruleOrder": 0,
- "appliesTo": "posts and comments",
- "reportReason": "string",
- "description": "string"
}
{- "error": "string"
}
subreddit required | string name of the subreddit. |
required | Array of objects The order of the rules. |
{- "rulesOrder": [
- {
- "ruleId": "string",
- "ruleOrder": "string"
}
]
}
{- "error": "string"
}
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "unreadCount": 0,
- "children": [
- {
- "id": "string",
- "title": "string",
- "photo": "string",
- "type": "Comment",
- "link": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "followingUsername": "string",
- "postId": "string",
- "commentId": "string",
- "isRead": true
}
]
}
type required | string Enum: "web" "flutter" web or flutter |
accessToken required | string the access token from firebase |
{- "type": "web",
- "accessToken": "string"
}
email required | string Email of the user |
username required | string Username |
password required | string Password |
{- "email": "string",
- "username": "string",
- "password": "string"
}
{- "username": "string",
- "token": "string"
}
type required | string Enum: "google" "facebook" Type of sign up |
accessToken required | string Access token from the response of google or facebook |
{- "accessToken": "string"
}
{- "username": "string",
- "token": "string"
}
username required | string New available username |
{- "username": "string"
}
{- "error": "string"
}
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "title": "string",
- "members": 0
}
}
]
}
categoryName | string the category of subreddits |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "title": "string",
- "members": 0
}
}
]
}
{- "first": {
- "category": "string",
- "subreddits": [
- {
- "id": "string",
- "data": {
- "title": "string",
- "members": 0,
- "joined": true,
- "picture": "string"
}
}
]
}, - "second": {
- "category": "string",
- "subreddits": [
- {
- "id": "string",
- "data": {
- "title": "string",
- "members": 0,
- "joined": true,
- "picture": "string"
}
}
]
}
}
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "title": "string",
- "members": 0
}
}
]
}
{- "firstCategory": "string",
- "secondCategory": "string",
- "firstCategoryChildren": [
- {
- "id": "string",
- "data": {
- "title": "string",
- "members": 0
}
}
], - "secondCategoryChildren": [
- {
- "id": "string",
- "data": {
- "title": "string",
- "members": 0
}
}
]
}
subreddit | string the name of the subreddit |
{- "nsfw": true,
- "type": "private",
- "subredditId": "string",
- "isFavorite": true,
- "title": "string",
- "nickname": "string",
- "isModerator": true,
- "category": "string",
- "members": 0,
- "description": "string",
- "dateOfCreation": "string",
- "isMember": true,
- "banner": "string",
- "picture": "string",
- "views": 0,
- "mainTopic": "string",
- "subtopics": [
- "string"
]
}
subreddit required | string name of the subreddit. |
avatar required | object The avatar image |
{- "avatar": { }
}
{- "path": "string"
}
subredditName required | string Subreddit name |
type required | string Enum: "Public" "Restricted" "Private" Subreddit type |
nsfw required | boolean If true, this subreddit will be NSFW |
category required | string The category of that subreddit |
{- "subredditName": "string",
- "type": "Public",
- "nsfw": true,
- "category": "string"
}
{- "error": "string"
}
subredditId required | string Id of the subreddit |
message | string the sent message from the user in case the subreddit is private |
{- "subredditId": "string",
- "message": "string"
}
{- "error": "string"
}
subreddit | string the name of the subreddit |
description | string description of the community (maximum 300) |
{- "description": "string"
}
{- "error": "string"
}
subreddit | string the name of the subreddit |
title required | string title of the main topic in the community |
{- "title": "string"
}
{- "error": "string"
}
subreddit | string the name of the subreddit |
title required | Array of strings titles of the sub topics in the community |
{- "title": [
- "string"
]
}
{- "error": "string"
}
subreddit | string the name of the subreddit |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "username": "string",
- "avatar": "string",
- "dateOfModeration": "string",
- "permissions": [
- "string"
]
}
]
}
subreddit | string the name of the subreddit |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "username": "string",
- "avatar": "string",
- "dateOfApprove": "string"
}
]
}
subreddit | string the name of the subreddit |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "username": "string",
- "avatar": "string",
- "dateOfMute": "string",
- "muteReason": "string"
}
]
}
subreddit | string the name of the subreddit |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "username": "string",
- "avatar": "string",
- "dateOfInvitation": "string",
- "permissions": [
- "string"
]
}
]
}
follow | boolean True to follow or False to unfollow |
id | string id of a post |
{- "follow": true,
- "id": "string"
}
{- "error": "string"
}
id | string id of a post |
{- "id": "string"
}
{- "error": "string"
}
id | string id of a post |
sort | string Enum: "top" "new" "best" "old" sort kind |
{- "id": "string",
- "sort": "top"
}
{- "error": "string"
}
title required | string Post title |
kind required | string Enum: "link" "hybrid" "image" "video" "post" |
subreddit | string Subreddit name |
inSubreddit required | boolean True if the post is submitted in a subreddit, False if it's in the user account (not a subreddit) |
content | object Object received directly from the WYSIWYG tool |
images | Array of objects image files |
imageCaptions | Array of strings Image captions of each image submitted and an element in it should be null if the image doesn't have a caption (Do not skip the element) |
imageLinks | Array of strings Links written for the images submitted (only when kind = images) |
video | object Video file in case the kind is 'video' |
link | string Link submission in case the kind is 'link' |
nsfw | boolean Not Safe for Work |
spoiler | boolean Blur the content of the post |
flairId | string Flair ID |
sendReplies | boolean Allow post reply notifications |
sharePostId | string id of a post (given in case of sharing a post) |
scheduleDate | string <date> Date for the post submitted at in case of scheduling it |
scheduleTime | string <time> Time required for the post to be submitted at in case of scheduling it |
scheduleTimeZone | string <time_zone> Time zone chosen when scheduling a post |
{- "title": "string",
- "kind": "link",
- "subreddit": "string",
- "inSubreddit": true,
- "content": { },
- "images": [
- { }
], - "imageCaptions": [
- "string"
], - "imageLinks": [
- "string"
], - "video": { },
- "link": "string",
- "nsfw": true,
- "spoiler": true,
- "flairId": "string",
- "sendReplies": true,
- "sharePostId": "string",
- "scheduleDate": "2019-08-24",
- "scheduleTime": "14:15:22Z",
- "scheduleTimeZone": "string"
}
{- "id": "string"
}
content required | string Object received directly from the WYSIWYG tool |
postId required | string the id of the post |
{- "content": "string",
- "postId": "string"
}
{- "error": "string"
}
id required | string id of the post |
{- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
id | string id of a post |
pin | boolean True for pin and False for unpin |
{- "id": "string",
- "pin": true
}
{- "error": "string"
}
username | string Username of the user to get pinned posts |
{- "pinnedPosts": [
- {
- "id": "string",
- "kind": "link",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "title": "string",
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "postedBy": "string",
- "vote": 0,
- "yourPost": true,
- "inYourSubreddit": true,
- "locked": true
}
]
}
content | object Comment content |
postId | string id of the post that will contain the comment |
parentId | string id of the thing being replied to (parent) |
parentType | string Enum: "post" "comment" Comment is a reply to post or comment |
level | number Level of the comment (How deep is it in the comment tree) [min = 1] |
subredditName | string Subreddit that contain the post |
haveSubreddit | boolean If true, then the post is in a subreddit |
{- "content": { },
- "postId": "string",
- "parentId": "string",
- "parentType": "post",
- "level": 0,
- "subredditName": "string",
- "haveSubreddit": true
}
{- "id": "string"
}
postId required | string The post id |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of comments to return (optional) |
sort | string Default: "best" Enum: "best" "top" "new" "old" Comments sorting algorithm |
{- "after": "string",
- "before": "string",
- "children": [
- {
- "commentId": "string",
- "commentedBy": "string",
- "userImage": "string",
- "editTime": "2019-08-24T14:15:22Z",
- "publishTime": "2019-08-24T14:15:22Z",
- "commentBody": "string",
- "votes": 0,
- "saved": true,
- "followed": true,
- "locked": true,
- "vote": 1,
- "parent": "string",
- "level": 0,
- "numberofChildren": 0,
- "children": [
- { }
]
}
]
}
postId required | string The post id |
commentId required | string The comment id to show its tree |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of comments to return (optional) |
sort | string Default: "best" Enum: "best" "top" "new" "old" Comments sorting algorithm |
{- "after": "string",
- "before": "string",
- "children": [
- {
- "commentId": "string",
- "commentedBy": "string",
- "userImage": "string",
- "editTime": "2019-08-24T14:15:22Z",
- "publishTime": "2019-08-24T14:15:22Z",
- "commentBody": "string",
- "votes": 0,
- "saved": true,
- "followed": true,
- "locked": true,
- "vote": 1,
- "parent": "string",
- "level": 0,
- "numberofChildren": 0,
- "children": [
- { }
]
}
]
}
content | Object New content entered |
id | string id of the comment being edited |
{- "content": null,
- "id": "string"
}
{- "error": "string"
}
id | string id of a thing |
type | string Enum: "post" "comment" |
{- "id": "string",
- "type": "post"
}
{- "error": "string"
}
id | string id of a thing created by the user |
type | string Enum: "post" "comment" |
state | boolean True for enabling replies and false for disabling it |
{- "id": "string",
- "type": "post",
- "state": true
}
{- "error": "string"
}
id | string id of a thing |
type | string Enum: "post" "comment" |
{- "id": "string",
- "type": "post"
}
{- "error": "string"
}
id | string id of a thing |
type | string Enum: "post" "comment" |
direction | number Vote direction.. 1 for upvote and -1 for downvote |
{- "id": "string",
- "type": "post",
- "direction": 0
}
{- "error": "string"
}
id | string id of a thing created by the user |
type | string Enum: "post" "comment" "message" |
{- "id": "string",
- "type": "post"
}
{- "error": "string"
}
id | string id of a thing created by the user |
type | string Enum: "post" "comment" "message" |
reason | string Reason for why the user marked this thing as spam |
{- "id": "string",
- "type": "post",
- "reason": "string"
}
{- "error": "string"
}
id | string id of a thing created by the user |
type | string Enum: "post" "comment" "message" |
{- "id": "string",
- "type": "post"
}
{- "error": "string"
}
q required | string Search query entered |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
limit | number Default: 25 The maximum number of items desired (Maximum 100) |
type | string Default: "post" Enum: "subreddit" "user" "comment" "post" Thing being searched for |
sort | string Default: "new" Enum: "hot" "top" "new" "best" "most comments" "trending" Type of sort applied on the results |
category | string Search in a specific category |
time | string Default: "all" Enum: "hour" "day" "week" "month" "year" "all" Search within a time frame |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "kind": "link",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "title": "string",
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "postedBy": "string"
}
}
]
}
q required | string Search query entered |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
limit | number Default: 25 The maximum number of items desired (Maximum 100) |
type | string Default: "post" Enum: "subreddit" "user" "comment" "post" Thing being searched for |
sort | string Default: "new" Enum: "hot" "top" "new" "best" "most comments" "trending" Type of sort applied on the results |
category | string Search in a specific category |
time | string Default: "all" Enum: "hour" "day" "week" "month" "year" "all" Search within a time frame |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "post": {
- "id": "string",
- "kind": "link",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "title": "string",
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "postedBy": "string"
}, - "comment": {
- "id": "string",
- "commentBody": { },
- "parent": "string",
- "level": 0,
- "commentedBy": "string",
- "publishTime": "14:15:22Z",
- "votes": 0
}
}
}
]
}
q required | string Search query entered |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
limit | number Default: 25 The maximum number of items desired (Maximum 100) |
type | string Default: "post" Enum: "subreddit" "user" "comment" "post" Thing being searched for |
sort | string Default: "new" Enum: "hot" "top" "new" "best" "most comments" "trending" Type of sort applied on the results |
category | string Search in a specific category |
restrictedSubreddits | boolean Search in restricted subreddits only |
time | string Default: "all" Enum: "hour" "day" "week" "month" "year" "all" Search within a time frame |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "subredditName": "string",
- "numberOfMembers": 0,
- "nsfw": true,
- "picture": 0,
- "description": "string",
- "joined": true
}
}
]
}
q required | string Search query entered |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
limit | number Default: 25 The maximum number of items desired (Maximum 100) |
type | string Default: "post" Enum: "subreddit" "user" "comment" "post" Thing being searched for |
sort | string Default: "new" Enum: "hot" "top" "new" "best" "most comments" "trending" Type of sort applied on the results |
category | string Search in a specific category |
time | string Default: "all" Enum: "hour" "day" "week" "month" "year" "all" Search within a time frame |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "username": "string",
- "karma": 0,
- "nsfw": true,
- "joinDate": "2019-08-24T14:15:22Z",
- "following": true,
- "avatar": "string"
}
}
]
}
subreddit required | string Subreddit name |
q required | string Search query entered |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
limit | number Default: 25 The maximum number of items desired (Maximum 100) |
type | string Default: "post" Enum: "post" "comment" Thing being searched for |
sort | string Default: "new" Enum: "hot" "top" "new" "best" "most comments" "trending" Type of sort applied on the results |
category | string Search in a specific category |
time | string Default: "all" Enum: "hour" "day" "week" "month" "year" "all" Search within a time frame |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "kind": "link",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "title": "string",
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "postedBy": "string"
}
}
]
}
subreddit required | string Subreddit name |
q required | string Search query entered |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
limit | number Default: 25 The maximum number of items desired (Maximum 100) |
type | string Default: "post" Enum: "post" "comment" Thing being searched for |
sort | string Default: "new" Enum: "hot" "top" "new" "best" "most comments" "trending" Type of sort applied on the results |
category | string Search in a specific category |
time | string Default: "all" Enum: "hour" "day" "week" "month" "year" "all" Search within a time frame |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "post": {
- "id": "string",
- "kind": "link",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "title": "string",
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "postedBy": "string"
}, - "comment": {
- "id": "string",
- "commentBody": "string",
- "parent": "string",
- "level": 0,
- "commentedBy": "string",
- "publishTime": "14:15:22Z",
- "votes": 0
}
}
}
]
}
block required | boolean True to block the user, false to unblock the user |
username required | string Username of the user to block |
{- "block": true,
- "username": "string"
}
{- "error": "string"
}
follow required | boolean True to follow the user, false to unfollow the user |
username required | string Username of the user to follow |
{- "follow": true,
- "username": "string"
}
{- "error": "string"
}
username required | string The username of the user to get |
{- "displayName": "string",
- "about": "string",
- "banner": "string",
- "picture": "string",
- "karma": 0,
- "cakeDate": "2019-08-24",
- "socialLinks": [
- {
- "type": "string",
- "displayText": "string",
- "link": "string"
}
], - "nsfw": true,
- "followed": true,
- "blocked": true,
- "moderatorOf": [
- {
- "subredditId": "string",
- "subredditName": "string",
- "numOfMembers": 0,
- "nsfw": true,
- "followed": true
}
]
}
username required | string The username of the user to get |
sort | string Default: "new" Enum: "new" "hot" "top" The sorting algorithm used |
time | string Default: "all" Enum: "hour" "day" "week" "month" "year" "all" The time interval for the results (used with top only) |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "type": "fullPost",
- "data": {
- "post": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}, - "comments": [
- {
- "commentId": "string",
- "commentedBy": "string",
- "commentBody": null,
- "points": 0,
- "publishTime": "2019-08-24T14:15:22Z",
- "editTime": "2019-08-24T14:15:22Z",
- "parent": {
- "commentId": "string",
- "commentedBy": "string",
- "commentBody": null,
- "points": 0,
- "publishTime": "2019-08-24T14:15:22Z",
- "editTime": "2019-08-24T14:15:22Z"
}, - "level": 0,
- "saved": 0,
- "inYourSubreddit": true,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
]
}
}
]
}
username required | string The username of the user to get |
sort | string Default: "new" Enum: "new" "hot" "top" The sorting algorithm used |
time | string Default: "all" Enum: "hour" "day" "week" "month" "year" "all" The time interval for the results (used with top only) |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "after": "string",
- "before": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
}
]
}
username required | string The username of the user to get |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "after": "string",
- "before": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
}
]
}
username required | string Username of the user to clear his history |
{- "username": "string"
}
{- "error": "string"
}
username required | string The username of the user to get |
sort | string Default: "new" Enum: "new" "hot" "top" The sorting algorithm used |
time | string Default: "all" Enum: "hour" "day" "week" "month" "year" "all" The time interval for the results (used with top only) |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "post": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}, - "comments": [
- {
- "commentId": "string",
- "commentedBy": "string",
- "commentBody": null,
- "points": 0,
- "publishTime": "2019-08-24T14:15:22Z",
- "editTime": "2019-08-24T14:15:22Z",
- "parent": "string",
- "level": 0,
- "saved": 0,
- "inYourSubreddit": true,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
]
}
}
]
}
username required | string The username of the user to get |
sort | string Default: "new" Enum: "new" "hot" "top" The sorting algorithm used |
time | string Default: "all" Enum: "hour" "day" "week" "month" "year" "all" The time interval for the results (used with top only) |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "after": "string",
- "before": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
}
]
}
username required | string The username of the user to get |
sort | string Default: "new" Enum: "new" "hot" "top" The sorting algorithm used |
time | string Default: "all" Enum: "hour" "day" "week" "month" "year" "all" The time interval for the results (used with top only) |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "after": "string",
- "before": "string",
- "children": [
- {
- "id": "string",
- "data": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
}
]
}
username required | string The username of the user to get |
sort | string Default: "new" Enum: "new" "hot" "top" The sorting algorithm used |
time | string Default: "all" Enum: "hour" "day" "week" "month" "year" "all" The time interval for the results (used with top only) |
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "id": "string",
- "type": "post",
- "data": {
- "post": {
- "id": "string",
- "kind": "link",
- "title": "string",
- "subreddit": "string",
- "link": "string",
- "images": [
- {
- "path": "string",
- "caption": "string",
- "link": "string"
}
], - "video": "string",
- "content": { },
- "nsfw": true,
- "spoiler": true,
- "sharePostId": "string",
- "flair": {
- "id": "string",
- "flairName": "string",
- "flairOrder": 0,
- "backgroundColor": "string",
- "textColor": "string"
}, - "comments": 0,
- "votes": 0,
- "postedAt": "string",
- "sendReplies": true,
- "markedSpam": true,
- "suggestedSort": "string",
- "editedAt": "string",
- "postedBy": "string",
- "votingType": 1,
- "saved": false,
- "followed": false,
- "hidden": false,
- "spammed": false,
- "inYourSubreddit": false,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}, - "comments": [
- {
- "commentId": "string",
- "commentedBy": "string",
- "commentBody": null,
- "points": 0,
- "publishTime": "2019-08-24T14:15:22Z",
- "editTime": "2019-08-24T14:15:22Z",
- "parent": {
- "commentId": "string",
- "commentedBy": "string",
- "commentBody": null,
- "points": 0,
- "publishTime": "2019-08-24T14:15:22Z",
- "editTime": "2019-08-24T14:15:22Z"
}, - "level": 0,
- "saved": 0,
- "inYourSubreddit": true,
- "moderation": {
- "approve": {
- "approvedBy": "string",
- "approvedDate": "2019-08-24T14:15:22Z"
}, - "remove": {
- "removedBy": "string",
- "removedDate": "2019-08-24T14:15:22Z"
}, - "spam": {
- "spammedBy": "string",
- "spammedDate": "2019-08-24T14:15:22Z"
}, - "lock": true
}
}
]
}
}
]
}
{- "email": "string",
- "googleEmail": "string",
- "facebookEmail": "string",
- "country": "string",
- "gender": "string",
- "displayName": "string",
- "about": "string",
- "socialLinks": [
- {
- "type": "string",
- "displayText": "string",
- "link": "string"
}
], - "havePassword": true,
- "hasVerifiedEmail": true,
- "nsfw": true,
- "allowToFollowYou": true,
- "adultContent": true,
- "autoplayMedia": true,
- "newFollowerEmail": true,
- "unsubscribeFromEmails": true
}
country | string The new country |
gender | string The new gender |
displayName | string The new display name |
about | string The brief description of the user |
havePassword | boolean User to know if the user have a password or not |
nsfw | boolean This content is NSFW or not |
allowToFollowYou | boolean If true, Other users can follow you |
adultContent | boolean If true, View adult and NSFW (not safe for work) content in your feed and search results |
autoplayMedia | boolean If true, Play videos and gifs automatically when in the viewport |
newFollowerEmail | boolean If true, Send an email when a user follows you |
unsubscribeFromEmails | boolean If true, Don't send any emails |
{- "country": "string",
- "gender": "string",
- "displayName": "string",
- "about": "string",
- "havePassword": true,
- "nsfw": true,
- "allowToFollowYou": true,
- "adultContent": true,
- "autoplayMedia": true,
- "newFollowerEmail": true,
- "unsubscribeFromEmails": true
}
type required | string Enum: "google" "facebook" Type of connect |
accessToken required | string Access token from the response of google or facebook |
password required | string Password entered for verification |
{- "accessToken": "string",
- "password": "string"
}
{- "error": "string"
}
type required | string Enum: "google" "facebook" Type of disconnect |
password required | string Password entered for verification |
{- "password": "string"
}
{- "error": "string"
}
currentPassword required | string The current password |
newEmail required | string The new email |
{- "currentPassword": "string",
- "newEmail": "string"
}
{- "error": "string"
}
currentPassword required | string The current password |
newPassword required | string The new password |
confirmNewPassword required | string Confirm the new password |
{- "currentPassword": "string",
- "newPassword": "string",
- "confirmNewPassword": "string"
}
{- "error": "string"
}
before | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the previous things. |
after | string Only one of after/before should be specified. The id of last item in the listing to use as the anchor point of the slice and get the next things. |
limit | integer Default: 25 Maximum number of items desired [Maximum = 100] |
{- "before": "string",
- "after": "string",
- "children": [
- {
- "username": "string",
- "avatar": "string",
- "blockDate": "2019-08-24T14:15:22Z"
}
]
}