List read-only regions
List read-only regions for the database's default branch
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_database, delete_database, write_database, read_branch, delete_branch, create_branch, promote_branches, demote_branches, delete_production_branch, connect_branch, connect_production_branch, connect_production_read_only_branch, delete_branch_password, delete_production_branch_password, delete_production_read_only_branch_password, read_deploy_request, create_deploy_request, approve_deploy_request, read_comment, create_comment, restore_backup, restore_production_branch_backup, read_backups, write_backups, delete_backups, delete_production_branch_backups, write_branch_vschema, write_production_branch_vschema, read_workflow, write_workflow, delete_workflow
OAuth Scopes
| Resource | Scopes |
|---|---|
| Organization | read_branches |
| Database | read_branches |
Path parameters
Organization name slug from list_organizations. Example: acme.
Database name slug from list_databases. Example: app-db.
Query parameters
If provided, specifies the page offset of returned results
If provided, specifies the number of returned results
Response
List of the database's read-only regions
Changes
Changed in 3 of the 24 revisions of this API.74
- ○
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
- ○
- ▲
the response property
data/items/ready_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
- ○
added the required property
data/items/region/mysql_supportedto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/region/postgresql_supportedto 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
- ▲