Skip to content
LogoLogo

Reserve a private file in Workspace storage

Reserve a private file in Workspace storage

POST/api/v1/workspaces/{workspace_id}/discuss/uploads

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Request Body

application/json
filenameRequired
string·min 1·max 255
content_lengthRequired
integer <int64>·min 1·max 10485760
sha256Required
string

Responses