Backup

Last updated 4 months ago

get
Backup List

{{ base_url }}
/organizations/backup/list/{level}/{sid}/{serializer}/
Request
Response
Path Parameters
level
required
string
organization
sid
required
string
serializer
required
string
Headers
token
required
string
200: OK
{
"page_size": 10,
"page_number": 1,
"page_count": 1,
"count": 2,
"next": null,
"previous": null,
"add_permission": true,
"results": [
{
"sid": "xxx",
"name": "20180803031606.gz",
"description": "Data backup on 20180803031606",
"database_size": "47.0 MB",
"date_created": "2018-08-03T03:17:41.438432Z",
"change_permission": false
},
...
]
}
401: Unauthorized
Authentication credentials were not provided.
403: Forbidden
You do not have permission to perform this action.
406: Not Acceptable
Wrong id - the provided sid is not correct
Wrong level - the provided level is not acceptable

post
Backup List

{{ base_url }}
/organizations/backup/list/{level}/{sid}/{serializer}/
Each POST creates one backup. No form data required.
Request
Response
Path Parameters
level
required
string
organization
sid
required
string
serializer
required
string
200: OK
{
"sid": "xxx",
"name": "20180803031606.gz",
"description": "Data backup on 20180803031606",
"database_size": "47.0 MB",
"date_created": "2018-08-03T03:17:41.438432Z",
"change_permission": false
}
401: Unauthorized
Authentication credentials were not provided.
403: Forbidden
You do not have permission to perform this action.
406: Not Acceptable
Wrong id - the provided sid is not correct
Wrong level - the provided level is not acceptable

get
Backup Detail

{{ base_url }}
/organizations/backup/detail/{sid}/
Request
Response
Path Parameters
sid
required
string
200: OK
{
"sid": "xxx",
"name": "20180803031606.gz",
"description": "Data backup on 20180803031606",
"database_size": "47.0 MB",
"date_created": "2018-08-03T03:17:41.438432Z",
"change_permission": false
}