List the users suggested to review a change request
Returns up to a few users suggested to review the change request, most relevant first: people who edited the pages it changes and review in the space, then other editors of those pages, then the space's recent reviewers. Only users who may review the space are returned, and the change request's author and the current user are left out. Use this to pick reviewers before requesting a review.
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$changeRequestIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$Responses
200
The suggested reviewers
application/json
404
The change request could not be found.
application/json
get/spaces/{spaceId}/change-requests/{changeRequestId}/suggested-reviewers
GET /v1/spaces/{spaceId}/change-requests/{changeRequestId}/suggested-reviewers HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"object": "user",
"id": "text",
"displayName": "text",
"email": "text",
"photoURL": "text",
"urls": {
"location": "https://example.com"
}
}
]
}Last updated
Was this helpful?