Restore Files
Restores one or more files from the specified backup.
Query Parameters
- embed string
Embeds the details of each associated resource. Set the parameter to one of the following embeddable links to include additional details associated with the resource.
For more information about embedded links, refer to the Embedding Referenced Resources section of this guide.Embeddable Link Description read-task Embeds the associated task in the response. For example, ?embed=read-task
- application/json
Request Body required
source object required
target object
Responses
- 202
- default
Success
- application/api.clumio.restored-files=v1+json
- Schema
- Example (from schema)
Schema
_embedded object
_links object
- id string
The Clumio-assigned ID of the restored file.
- passcode string
The passcode that the end-user must use to access the restored file, in the case the restored file was emailed to the end-user as part of transparent data access.
- task_id string
The Clumio-assigned ID of the task created by this restore request. The progress of the task can be monitored using the
GET /tasks/{task_id}
endpoint.
{
"_embedded": {},
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
},
"read-task": {
"href": "string",
"templated": true,
"type": "string"
}
},
"id": "string",
"passcode": "string",
"task_id": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}
POST /restores/files
Authorization
Request
Request
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/files' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-files=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"source": {
"backup_id": "string",
"files": [
{
"filesystem_id": "string",
"path": "string"
}
]
},
"target": {
"direct_download": {},
"email": {
"email_address": "string",
"message": "string"
}
}
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/files' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-files=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"source": {
"backup_id": "string",
"files": [
{
"filesystem_id": "string",
"path": "string"
}
]
},
"target": {
"direct_download": {},
"email": {
"email_address": "string",
"message": "string"
}
}
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/files' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-files=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"source": {
"backup_id": "string",
"files": [
{
"filesystem_id": "string",
"path": "string"
}
]
},
"target": {
"direct_download": {},
"email": {
"email_address": "string",
"message": "string"
}
}
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/files' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-files=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"source": {
"backup_id": "string",
"files": [
{
"filesystem_id": "string",
"path": "string"
}
]
},
"target": {
"direct_download": {},
"email": {
"email_address": "string",
"message": "string"
}
}
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/files' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-files=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"source": {
"backup_id": "string",
"files": [
{
"filesystem_id": "string",
"path": "string"
}
]
},
"target": {
"direct_download": {},
"email": {
"email_address": "string",
"message": "string"
}
}
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/files' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-files=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"source": {
"backup_id": "string",
"files": [
{
"filesystem_id": "string",
"path": "string"
}
]
},
"target": {
"direct_download": {},
"email": {
"email_address": "string",
"message": "string"
}
}
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/files' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-files=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"source": {
"backup_id": "string",
"files": [
{
"filesystem_id": "string",
"path": "string"
}
]
},
"target": {
"direct_download": {},
"email": {
"email_address": "string",
"message": "string"
}
}
}'