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.
Unhide a comment
Restore a post-owner-hidden comment or reply on a post owned by the authenticated user.
Path Parameters
Unique numeric comment ID to unhide
Header Parameters
Authenticated user access token for the documented /v1 route.
- 200
- 400
- 401
- 404
Comment unhidden
Schema
Whether the post owner has hidden the comment
{
"hidden": true
}
Comment restored by the post owner
{
"hidden": false
}
Authenticated user does not own the post
Schema
error object required
{
"success": false,
"name": "string",
"error": {
"code": "string",
"message": "string",
"details": {}
}
}
User does not own the post
{
"success": false,
"name": "ActionNotAllowed",
"error": {
"code": "ActionNotAllowed",
"message": "You can't perform this action now please refresh"
}
}
User not authenticated
Comment is visible, deleted, or unavailable
Schema
error object required
{
"success": false,
"name": "string",
"error": {
"code": "string",
"message": "string",
"details": {}
}
}
Comment changed before the action completed
{
"success": false,
"name": "COMMENT_NOT_AVAILABLE",
"error": {
"code": "COMMENT_NOT_AVAILABLE",
"message": "This comment is no longer available.",
"details": {}
}
}