Sanggunian sa API
databases
May 10 endpoint sa lugar na ito. Ang bawat isa ay may sariling pahina kasama ang mga parameter nito, ang tugon nito, at ang kahilingang maaari mong patakbuhin.
| Paraan | Landas | Ano ang ginagawa nito | Permiso |
|---|---|---|---|
| GET | /v1/databases | The organisation's managed databases. | — |
| POST | /v1/databases | Validate a managed database, and say where to buy it. | — |
| GET | /v1/databases/catalogue | The managed-database sizes and engine versions on sale. | — |
| DELETE | /v1/databases/{databaseId} | Delete a managed database and its backups. | — |
| GET | /v1/databases/{databaseId} | One managed database. | — |
| GET | /v1/databases/{databaseId}/allowed-ips | Which sources may connect to this database. | — |
| POST | /v1/databases/{databaseId}/allowed-ips | Permit a source address or range to connect. | — |
| DELETE | /v1/databases/{databaseId}/allowed-ips/{ruleId} | Revoke a source's access. | — |
| POST | /v1/databases/{databaseId}/credentials | Reveal the database password. | — |
| POST | /v1/databases/{databaseId}/upgrade | Move the database to a newer PostgreSQL major. | — |