Create an upload session.
Upload session IDs returned by this endpoint can be used to upload large files, get the status of an upload session, or resume an interrupted session. See the Resumable Upload API document for complete usage instructions.
Type | Description |
---|---|
User or System User. The app user who granted the token must have an Administrator or Developer role on the app. | |
None. |
uploads
из этих местоположений: Параметр | Описание |
---|---|
file_length int64 | The file length in bytes |
file_name RegexParam | The name of the file to be uploaded |
file_type RegexParam | The MIME type of the file to be uploaded |
session_type enum {attachment} | Значение по умолчанию: attachment The type of upload session that is being requested by the app |
id
: string, Ошибка | Описание |
---|---|
104 | Incorrect signature |
100 | Invalid parameter |
368 | The action attempted has been deemed abusive or is otherwise disallowed |