Create the editing session
POST/api/2.0/files/file/:fileId/edit_session
Creates a session to edit the existing file with multiple chunks (needed for WebDAV).
Note: Information about created session which includes:
- id: unique ID of this upload session,
- created: UTC time when the session was created,
- expired: UTC time when the session will expire if no chunks are sent before that time,
- location: URL where you should send your next chunk,
- bytes_uploaded: number of bytes uploaded for the specific upload ID,
- bytes_total: total number of bytes which will be uploaded.
Request
Responses
- 200
- 401
- 403
Information about created session
Unauthorized
You don't have enough permission to edit the file