Reviews
These API endpoints are related to reviews on IBL
{target_type}/{target_id}/reviewsGet Reviews
Gets the reviews of a bot by its ID or vanity.
Path Parameters
target_typeRequiredstring
The target type of the entity
target_idRequiredstring
The target ID of the entity
Success
{target_type}/{target_id}/reviewsCreate Review
Creates a new review for an entity. A user may have only one root review per entity. Triggers a garbage collection step to remove any orphaned reviews afterwards. Note that non-users can only create an 'owner review'. Returns 204 on success
Authorization
User-Auth<token>
Requires a user token. Should be prefixed with User in Authorization header.
In: header
Bot-Auth<token>
Requires a bot token. Should be prefixed with Bot in Authorization header.
In: header
Server-Auth<token>
Requires a server API session token. Should be prefixed with Server in Authorization header.
In: header
Team-Auth<token>
Requires a team API session token. Should be prefixed with Team in Authorization header.
In: header
Request Body
application/jsonRequiredcontentstring
owner_reviewboolean
Whether or not the review is an owner review
parent_idstring
starsinteger
"int32"Path Parameters
target_typeRequiredstring
The target type of the entity
target_idRequiredstring
The target ID of the entity
Success
{target_type}/{target_id}/reviews/{review_id}Edit Review
Edits a review by review ID. The user must be the author of this review. This will automatically trigger a garbage collection task. Note that non-users can only edit 'owner review's. Returns 204 on success
Authorization
User-Auth<token>
Requires a user token. Should be prefixed with User in Authorization header.
In: header
Bot-Auth<token>
Requires a bot token. Should be prefixed with Bot in Authorization header.
In: header
Server-Auth<token>
Requires a server API session token. Should be prefixed with Server in Authorization header.
In: header
Team-Auth<token>
Requires a team API session token. Should be prefixed with Team in Authorization header.
In: header
Request Body
application/jsonRequiredcontentstring
starsinteger
"int32"Path Parameters
target_typeRequiredstring
The target type of the entity
target_idRequiredstring
The target ID of the entity
review_idRequiredstring
The review ID of the entity
Success
{target_type}/{target_id}/reviews/{review_id}Delete Review
Deletes a review by review ID. The user must be the author of this review. This will automatically trigger a garbage collection task and returns 204 on success
Authorization
User-Auth<token>
Requires a user token. Should be prefixed with User in Authorization header.
In: header
Bot-Auth<token>
Requires a bot token. Should be prefixed with Bot in Authorization header.
In: header
Server-Auth<token>
Requires a server API session token. Should be prefixed with Server in Authorization header.
In: header
Team-Auth<token>
Requires a team API session token. Should be prefixed with Team in Authorization header.
In: header
Path Parameters
target_typeRequiredstring
The target type of the entity
target_idRequiredstring
The target ID of the entity
review_idRequiredstring
The review ID of the entity
Success