Description
List all backups of databases.
Request URL
Database API v1.0 GET /v1/databases/(uuid: database_id)/backup
Request Paramters
Parameter | Value | Style | Type | Description |
---|---|---|---|---|
X-Auth-Token | - | header | string | User Token |
offset(Optional) | - | query | int | Index Number to Start a Proceeding Default:0 |
limit(Optional) | - | query | int | Maximum Number of Results Default:1000 |
sort_key(Optional) | backup_name/create_date | query | string | Sort Key Default:create_date |
sort_type(Optional) | asc/desc | query | string | Sort Type Default:asc |
Responce Paramters
Parameter | Value | Style | Type | Description |
---|---|---|---|---|
backup | - | - | list | - |
backup_id | - | plain | UUID | Backup ID |
backup_name | - | plain | string | Backup Name |
create_date | - | plain | string | Date and Hour of Backup |
total_count | - | plain | int | Total Count |
current_count | - | plain | int | Current Count |
Request Json
This operation does not accept a request body.
Normal response codes
200 - Success
Error response codes
400 - Bad Request
401 - Access Denied
Repeatable
Yes
Example
curl -i -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: 39be9f8d53044388b7f2e867eba8b140" \ https://database-hosting.tyo1.cloud.z.com/v1/databases/148147ba-8999-4901-9cd6-634db82f80ea/backup
HTTP/1.1 200 Success Date: Tue, 09 Dec 2014 01:46:58 GMT Server: Apache Content-Length: 1003 Content-Type: application/json { "backup": [ { "backup_id": "c89f2a7d-0175-446a-bd00-fd2c6a9b0927", "backup_name": "02p8y_dbname01_201504061900", "create_date": "2015-04-06T19:00:00Z" }, { "backup_id": "35629cfb-9ec6-46f2-884d-28f76ab5aed4", "backup_name": "02p8y_dbname01_201504071900", "create_date": "2015-04-07T19:00:00Z" } ], "total_count":100, "current_count":10 }