Skip to main content

Upload a file

POST 

/v2/spaces/:space_id/files

Send multipart/form-data with a file field, or JSON {"url": …}. A source that refuses the fetch, or a URL that cannot be fetched, is a 400 naming /url; only a genuine server fault answers 500. The id that comes back is the one file blocks, image blocks and icon_image values reference.

Request

Responses

Dry run; validation result without committing