User-related API environment
Production user-related API docs
These pages describe the Production user-related API stack.
Use production OAuth credentials, production API base URLs, and production app URLs when following this documentation.
Need to test before going live? Switch to the Pre-live docs using the environment switcher above.
Toggle like/unlike a comment
Toggle like status. If liked, removes like. Notifies comment author on new likes.
Path Parameters
id number required
Unique numeric comment ID
Responses
- 200
- 401
- 404
Like toggled
application/json
Schema
Example (from schema)
Example
Schema
liked boolean
true if liked, false if unliked
{
"liked": true
}
{
"liked": true
}
User not authenticated
Comment not found
Loading...