List the review requests from an organization
List the review requests from an organization sorted by
updated_at in descendent order.
Results can be sorted using sort parameter with following fields:
- last_updated_at (default with descending order nulls last)
- status (where order is open, merged, closed in asc order)
- repository (asc by default)
Authorizations
API key as username in Basic Authorization with
empty password.
Parameters
Path Parameters
UUID of the organization
"uuid"Query Parameters
Page number to return
1"int64"1Number of elements per page
"int64"110Review request status like open, closed or merged.
Only select entities whose repository matches any
of the strings in the provided array. Only full strings will
be matched.
Only collaborators whose identifier is set.
Only entities that relates to those users.
Only review requests whose author is the TMC User UUID.
This is an interim solution until a flexible filter is implemented.
Only return entities where the given user was a requested reviewer.
"uuid"Only select review requests with the provided draft value.
falseSelect review_requests where the following attributes match the provided
search query. If string contains a comma or spaces all terms will be
searched and matched.
- pull request number
- pull request title
- commit SHA
- commit title
- branch
- base_branch
"fix,main"Only entities that has a created_at timestamp from this date including
the date.
"2024-04-11T20:31:00Z""date-time"Only entities that has a created_at timestamp up to this date including
the date.
"2024-04-11T21:31:00Z""date-time"Sorting
Allows for sorting of the returned entities based on specified fields and order.
Multiple fields can be provided with their sorting direction, separated by commas.
For example, to sort by 'updated_at' in ascending order and then by 'path' in descending order,
the parameter can be specified as follows: sort=updated_at,asc&sort=path,desc.
By default, entities are sorted by 'updated_at' in descending order.
{
"UpdatedAtDescPathDescExample": {
"Value": [
"updated_at,asc",
"path,desc"
]
}
}Responses
OK