User-related API environment
Pre-live user-related API docs
These pages describe the Pre-live user-related API stack.
Use pre-live OAuth credentials, pre-live API base URLs, and pre-live app URLs when following this documentation. Keep your OAuth flow, API requests, callback URLs, and manual testing within the pre-live environment.
- Use prelive.quran.com for auth-related testing.
- Use prelive.quranreflect.org for Quran Reflect paths where applicable.
- Do not mix production sessions or production user data with pre-live testing.
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": {}
}
}