Get all files in a tenant
successful operation
Authorization information is missing or invalid.
Internal server error
{- "count": 0,
- "next": "string",
- "previous": "string",
- "results": [
- {
- "id": 0,
- "download_url": "string",
- "name": "string",
- "key": "string",
- "is_dir": false,
- "kind": "string",
- "hash": "string",
- "size": "string",
- "path": "string",
- "permissions": "string",
- "tags": [
- "string"
], - "description": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "enterprise": "string",
- "owner": {
- "id": 0,
- "username": "string"
}
}
]
}Get information about a file
successful operation
Authorization information is missing or invalid.
Not Found.
Internal server error
{- "id": 0,
- "download_url": "string",
- "name": "string",
- "key": "string",
- "is_dir": false,
- "kind": "string",
- "hash": "string",
- "size": "string",
- "path": "string",
- "permissions": "string",
- "tags": [
- "string"
], - "description": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "enterprise": "string",
- "owner": {
- "id": 0,
- "username": "string"
}
}Delete content.
The resource was deleted successfully.
Authorization information is missing or invalid.
Forbidden, no permission to perform this action.
Not Found.
Internal server error
{- "errors": [
- "string"
], - "message": "string",
- "status": 0
}successful operation
Bad request
Authorization information is missing or invalid.
Forbidden, no permission to perform this action.
Not Found.
Unsupported media type.
Internal server error
{- "id": 0,
- "download_url": "string",
- "name": "string",
- "key": "string",
- "is_dir": false,
- "kind": "string",
- "hash": "string",
- "size": "string",
- "path": "string",
- "permissions": "string",
- "tags": [
- "string"
], - "description": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "enterprise": "string",
- "owner": {
- "id": 0,
- "username": "string"
}
}Uploaded content to Esper
Successful Operation
Bad request
Authorization information is missing or invalid.
Forbidden, no permission to perform this action.
Unsupported media type.
Internal server error
{- "id": 0,
- "download_url": "string",
- "name": "string",
- "key": "string",
- "is_dir": false,
- "kind": "string",
- "hash": "string",
- "size": "string",
- "path": "string",
- "permissions": "string",
- "tags": [
- "string"
], - "description": "string",
- "created": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "enterprise": "string",
- "owner": {
- "id": 0,
- "username": "string"
}
}Upload file through SCAPI server to REMOTE_FILE_MANAGER bucket. Files are automatically deleted after 1 day.
File uploaded successfully
Bad request
Authorization information is missing or invalid.
Forbidden, no permission to perform this action.
File too large (max 50MB)
Internal server error
{- "file_key": "123/files/document_abc123.pdf",
- "bucket": "REMOTE_FILE_MANAGER",
- "file_size": 1048576,
- "content_type": "application/pdf",
- "auto_delete_after_minutes": 1440,
- "download_expires_in": 3600
}Generate a pre-signed download URL for an existing file in REMOTE_FILE_MANAGER bucket
Download URL generated successfully
Bad request
Authorization information is missing or invalid.
Forbidden, no permission to perform this action.
Internal server error
{- "file_key": "123/files/document_abc123.pdf",
- "expires_in": 3600
}{- "file_key": "123/files/document_abc123.pdf",
- "expires_in": 3600
}