Upload file
POST/v1/spaces/:space_id/files
Uploads a file to the specified space. Accepts multipart/form-data with a file field. The file is processed and stored, then a file object is created. Returns the file object ID along with its name, MIME type and size.
Request​
Responses​
- 200
- 400
- 401
- 403
- 404
- 410
- 500
File uploaded successfully
Bad request
Unauthorized
Forbidden — read-only space or no permission
Space not found
Space was deleted
Internal server error