Tài liệu tham khảo API
databases
10 điểm cuối trong khu vực này. Mỗi điểm cuối có trang riêng với các tham số, phản hồi và một yêu cầu bạn có thể chạy.
| Phương thức | Đường dẫn | Chức năng | Quyền |
|---|---|---|---|
| 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. | — |