Get all deployments from an organization.
Get all deployments from an organization.
That's different from GET /v1/deployments/{org_uuid} which is
intended for dashboards to see active deployments.
Results can be sorted using sort parameter with following fields:
- updated_at (default with descending order)
- finished_at (desc by default)
- total_stack_count (desc by default)
- type
- duration (desc by default)
Authorizations
Parameters
Path Parameters
UUID of the organization
"uuid"Query Parameters
Page number to return
1"int64"1Number of elements per page
"int64"110Only select entities whose repository matches any
of the strings in the provided array. Only full strings will
be matched.
Only select entities whose auth type was in provided array.
Only entities whose status matches any of
provided input elements.
Only collaborators whose identifier is set.
Only entities that relates to those users.
Select deployments 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"Only entities that has a started_at timestamp from this date including
the date.
"2024-04-11T20:31:00Z""date-time"Only entities that has a started_at timestamp up to this date including
the date.
"2024-04-11T21:31:00Z""date-time"Only entities that has a finished_at timestamp from this date including
the date.
"2024-04-11T20:31:00Z""date-time"Only entities that has a finished_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