Backup API
Create and manage organization backups.
All paths are relative to https://www.labii.dev and require bearer authentication unless noted otherwise. Replace each placeholder with an identifier from your Labii environment.
Endpoints
| Operation | Method | Path |
|---|---|---|
| Get backup list | GET | /organizations/backup/list/organization/{{organization_sid}}/list/ |
| Create backup | POST | /organizations/backup/list/organization/{{organization_sid}}/list/ |
| Get backup detail | GET | /organizations/backup/detail/{{backup_sid}}/ |
| Update backup | PATCH | /organizations/backup/detail/{{backup_sid}}/ |
| Delete backup | DELETE | /organizations/backup/detail/{{backup_sid}}/ |
The final URL segment on list endpoints selects the response serializer. The examples use list; supported endpoints can also expose representations such as name or detail.
Serializer fields
List response item: sid, name, status, number_of_versions, number_of_files, file_size, date_created, date_expired, change_permission, verbose_name
Detail response: sid, name, description, status, number_of_versions, number_of_files, price, file_size, download, date_expired, date_created, updated_by, date_updated, help_text, change_permission, verbose_name
Write serializer: sid, organization, name, description, status, number_of_versions, number_of_files, file_size, price, date_expired, updated_by, date_updated, date_created
The write serializer is the backend validation schema. The view may populate identity, parent, and audit fields from the URL or authenticated user, and may disallow fields for a particular operation.
List response JSON
The values below are placeholders that show the exact keys returned by the current list serializer. They do not indicate that every field is nullable.
{
"page_size": 10,
"page_number": 1,
"page_count": 1,
"count": 1,
"next": null,
"previous": null,
"add_permission": false,
"results": [
{
"sid": null,
"name": null,
"status": null,
"number_of_versions": null,
"number_of_files": null,
"file_size": null,
"date_created": null,
"date_expired": null,
"change_permission": null,
"verbose_name": null
}
]
}
Detail response JSON
The values below are placeholders that show the exact keys returned by the current detail serializer. Nested relationship and metadata values depend on the resource.
{
"sid": null,
"name": null,
"description": null,
"status": null,
"number_of_versions": null,
"number_of_files": null,
"price": null,
"file_size": null,
"download": null,
"date_expired": null,
"date_created": null,
"updated_by": null,
"date_updated": null,
"help_text": null,
"change_permission": null,
"verbose_name": null
}
Example request
curl --request GET \
--url 'https://www.labii.dev/organizations/backup/list/organization/{{organization_sid}}/list/' \
--header 'Authorization: Bearer <api_key>'