BackupsApi
BackupsApi
All URIs are relative to https://api.ionos.com/databases/postgresql
GET /clusters/{clusterId}/backups
List backups of cluster
GET /clusters/backups/{backupId}
Fetch a cluster backup
GET /clusters/backups
List cluster backups
cluster_backups_get
ClusterBackupList cluster_backups_get(cluster_id, limit=limit, offset=offset)
List backups of cluster
Retrieves a list of all backups of the given PostgreSQL cluster.
Example
Parameters
cluster_id
str
The unique ID of the cluster.
limit
int
The maximum number of elements to return. Use together with 'offset' for pagination.
[optional] [default to 100]
offset
int
The first element to return. Use together with 'limit' for pagination.
[optional] [default to 0]
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
clusters_backups_find_by_id
BackupResponse clusters_backups_find_by_id(backup_id)
Fetch a cluster backup
Retrieve a PostgreSQL cluster backup by using its ID. This value can be found when you GET a list of PostgreSQL cluster backups.
Example
Parameters
backup_id
str
The unique ID of the backup.
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
clusters_backups_get
ClusterBackupList clusters_backups_get(limit=limit, offset=offset)
List cluster backups
Retrieves a list of all PostgreSQL cluster backups.
Example
Parameters
limit
int
The maximum number of elements to return. Use together with 'offset' for pagination.
[optional] [default to 100]
offset
int
The first element to return. Use together with 'limit' for pagination.
[optional] [default to 0]
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
Last updated