List backups
Authorization
A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:
Service Token Accesses read_backups
OAuth Scopes
| Resource | Scopes |
|---|---|
| Organization | read_backups |
| Database | read_backups |
| Branch | read_backups |
Path parameters
The name of the organization the branch belongs to
The name of the database the branch belongs to
The name of the branch
Query parameters
Whether to include all backups, including deleted ones
Filter backups by state
Filter backups by backup policy ID
Filter backups started after this date (e.g. 2023-01-01T00:00:00Z)
Filter backups started before this date (e.g. 2023-01-31T23:59:59Z)
Filter backups that are running during a specific time (e.g. 2023-01-01T00:00:00Z..2023-01-01T23:59:59Z)
Filter backups by production branch
If provided, specifies the page offset of returned results
If provided, specifies the number of returned results
Response
Returns database branch backups
Changes
Changed in 6 of the 24 revisions of this API.2617
- ○
added the required property
total_countto the response with the200statusresponse-required-property-added
- ○
added the required property
total_pagesto the response with the200statusresponse-required-property-added
- ○
- ○
added the required property
per_pageto the response with the200statusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the required property
data/items/uncompressed_sizeto the response with the200statusresponse-required-property-added
- ○
- ▲
the response property
data/items/actorbecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/items/backup_policybecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/items/backup_policy/last_ran_atbecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/items/backup_policy/next_run_atbecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/items/backup_policy/schedule_daybecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/items/backup_policy/schedule_weekbecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/items/completed_atbecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/items/database_branchbecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/items/database_branch/deleted_atbecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/items/deleted_atbecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/items/expires_atbecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/items/restored_branches/items/deleted_atbecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/items/schema_snapshotbecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/items/schema_snapshot/linted_atbecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/items/started_atbecame nullable for the status200response-property-became-nullable
- ▲
the response property
next_pagebecame nullable for the status200response-property-became-nullable
- ▲
the response property
next_page_urlbecame nullable for the status200response-property-became-nullable
- ▲
the response property
prev_pagebecame nullable for the status200response-property-became-nullable
- ▲
the response property
prev_page_urlbecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/items/backup_policybecame optional for the status200response-property-became-optional
- ▲
the response property
data/items/database_branchbecame optional for the status200response-property-became-optional
- ▲
the response property
data/items/schema_snapshotbecame optional for the status200response-property-became-optional
- ○
added the required property
data/items/backup_policy/display_nameto the response with the200statusresponse-required-property-added
- ○
added the required property
typeto the response with the200statusresponse-required-property-added
- ▲
- ▲
for the
queryrequest parameterpage, the type/format was changed fromnumber/tointeger/request-parameter-type-changed
- ▲
for the
queryrequest parameterper_page, the type/format was changed fromnumber/tointeger/request-parameter-type-changed
- ▲
- ▲
the
data/items/backup_policy/schedule_dayresponse's property type/format changed fromstring/tonumber/for status200response-property-type-changed
- ▲
the
data/items/backup_policy/schedule_weekresponse's property type/format changed fromstring/tonumber/for status200response-property-type-changed
- ○
removed the
0.00enum value from thedata/items/backup_policy/schedule_dayresponse property for the response status200response-property-enum-value-removed
- ○
removed the
0.00enum value from thedata/items/backup_policy/schedule_weekresponse property for the response status200response-property-enum-value-removed
- ○
removed the
1.00enum value from thedata/items/backup_policy/schedule_dayresponse property for the response status200response-property-enum-value-removed
- ○
removed the
1.00enum value from thedata/items/backup_policy/schedule_weekresponse property for the response status200response-property-enum-value-removed
- ○
removed the
2.00enum value from thedata/items/backup_policy/schedule_dayresponse property for the response status200response-property-enum-value-removed
- ○
removed the
2.00enum value from thedata/items/backup_policy/schedule_weekresponse property for the response status200response-property-enum-value-removed
- ○
removed the
3.00enum value from thedata/items/backup_policy/schedule_dayresponse property for the response status200response-property-enum-value-removed
- ○
removed the
3.00enum value from thedata/items/backup_policy/schedule_weekresponse property for the response status200response-property-enum-value-removed
- ○
removed the
4.00enum value from thedata/items/backup_policy/schedule_dayresponse property for the response status200response-property-enum-value-removed
- ○
removed the
5.00enum value from thedata/items/backup_policy/schedule_dayresponse property for the response status200response-property-enum-value-removed
- ○
removed the
6.00enum value from thedata/items/backup_policy/schedule_dayresponse property for the response status200response-property-enum-value-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲