Download OpenAPI specification:
Storages API for upload and download
| accountId required | string <uuid> Example: accountId=bf6f895e-a8a7-462b-9aaa-ae50e4a9cbd9 |
| type required | string Enum: "files" "chats" |
| node required | string Example: node=a3a8d5d3-f236-4d00-9ba5-91f5a70d514f unique identifier of the uploaded file |
| version required | integer Example: version=1 the file version |
| file | string <binary> |
| accountId required | string <uuid> Example: accountId=bf6f895e-a8a7-462b-9aaa-ae50e4a9cbd9 |
| type required | string Enum: "files" "chats" |
| node required | string Example: node=a3a8d5d3-f236-4d00-9ba5-91f5a70d514f unique identifier of the uploaded file |
| version required | integer Example: version=1 the file version |
| file | string <binary> |
| accountId required | string <uuid> Example: accountId=bf6f895e-a8a7-462b-9aaa-ae50e4a9cbd9 |
| type required | string Enum: "files" "chats" |
| node required | string Example: node=a3a8d5d3-f236-4d00-9ba5-91f5a70d514f unique identifier of the uploaded file |
| version required | integer Example: version=1 the file version |
| accountId required | string <uuid> Example: accountId=bf6f895e-a8a7-462b-9aaa-ae50e4a9cbd9 |
| type required | string Enum: "files" "chats" |
| node required | string Example: node=a3a8d5d3-f236-4d00-9ba5-91f5a70d514f unique identifier of the uploaded file |
| version required | integer Example: version=1 the file version |
| accountId required | string <uuid> Example: accountId=bf6f895e-a8a7-462b-9aaa-ae50e4a9cbd9 |
| type required | string Enum: "files" "chats" |
Array of objects |
{- "ids": [
- {
- "node": "string",
- "version": "string"
}
]
}| accountId required | string <uuid> Example: accountId=bf6f895e-a8a7-462b-9aaa-ae50e4a9cbd9 account identifier of the source file |
| type required | string Enum: "files" "chats" |
| sourceNode required | string Example: sourceNode=a3a8d5d3-f236-4d00-9ba5-91f5a70d514f unique identifier of the source file |
| sourceVersion required | integer Example: sourceVersion=1 the source file version |
| destinationAccountId required | string <uuid> Example: destinationAccountId=bf6f895e-a8a7-462b-9aaa-ae50e4a9cbd9 account identifier of the destination file |
| destinationNode required | string Example: destinationNode=a3a8d5d3-f236-4d00-9ba5-91f5a70d514f unique identifier of the destination file |
| destinationVersion required | integer Example: destinationVersion=1 the destination file version |
| override required | boolean Example: override=true if true, the destination file will be overridden |