POST
/api/comment
post_api_commentCreate a comment or message reply
Request body
application/x-www-form-urlencoded
Responses
Status | Description |
---|---|
200 | Created comment |
Community-maintained Reddit API endpoints.
/api/comment
post_api_commentCreate a comment or message reply
application/x-www-form-urlencoded
Status | Description |
---|---|
200 | Created comment |
/api/editusertext
post_api_editusertextEdit a comment or self-post
application/x-www-form-urlencoded
Status | Description |
---|---|
200 | Edited content |
/api/v1/me
get_api_v1_meGet current user profile
Status | Description |
---|---|
200 | Current user details |
/api/v1/me/karma
get_api_v1_me_karmaGet user karma breakdown
Status | Description |
---|---|
200 | Karma by subreddit |
/api/v1/me/prefs
get_api_v1_me_prefsGet user preferences
Status | Description |
---|---|
200 | Preferences object |
/api/v1/me/prefs
patch_api_v1_me_prefsUpdate user preferences
application/json
Status | Description |
---|---|
200 | Updated preferences |
/api/vote
post_api_voteVote on item
application/x-www-form-urlencoded
Status | Description |
---|---|
200 | Vote applied |
/best
get_bestGet best listings
Name | In | Required | Description |
---|---|---|---|
after | query | No | |
before | query | No | |
limit | query | No | |
show | query | No |
Status | Description |
---|---|
200 | Listing response |
/r/{subreddit}/about
get_r_subreddit_aboutGet subreddit info
Name | In | Required | Description |
---|---|---|---|
subreddit | path | Yes | |
sr_detail | query | No |
Status | Description |
---|---|
200 | Subreddit metadata |
/r/{subreddit}/api/subscribe
post_r_subreddit_api_subscribeSubscribe or unsubscribe to a subreddit
Name | In | Required | Description |
---|---|---|---|
subreddit | path | Yes |
application/x-www-form-urlencoded
Status | Description |
---|---|
200 | Subscription status |