BackupsApi
All URIs are relative to https://api.ionos.com/databases/postgresql
Method | HTTP request | Description |
---|---|---|
Get /clusters/{clusterId}/backups | List backups of cluster | |
Get /clusters/backups/{backupId} | Fetch a cluster backup | |
Get /clusters/backups | List cluster backups |
ClusterBackupsGet
List backups of cluster
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
clusterId | string | The unique ID of the cluster. |
Other Parameters
Other parameters are passed through a pointer to an apiClusterBackupsGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
limit | int32 | The maximum number of elements to return. Use together with 'offset' for pagination. | [default to 100] |
offset | int32 | The first element to return. Use together with 'limit' for pagination. | [default to 0] |
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
ClustersBackupsFindById
Fetch a cluster backup
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
backupId | string | The unique ID of the backup. |
Other Parameters
Other parameters are passed through a pointer to an apiClustersBackupsFindByIdRequest struct via the builder pattern
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
ClustersBackupsGet
List cluster backups
Example
Path Parameters
Other Parameters
Other parameters are passed through a pointer to an apiClustersBackupsGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
limit | int32 | The maximum number of elements to return. Use together with 'offset' for pagination. | [default to 100] |
offset | int32 | The first element to return. Use together with 'limit' for pagination. | [default to 0] |
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
Last updated