Get file content
GET/v2/spaces/:space_id/files/:file_id/content
Returns a file or icon from this space. Pass a file id or the icon_image value from a space or member. Images support width variants. Range and conditional requests are supported.
Requestโ
Responsesโ
- 200
- 206
- 304
- 400
- 401
- 403
- 404
- 412
- 416
- 500
File contents; Content-Type matches the stored media type
Response Headers
File representation validator
Private cache; revalidate before reuse
File modification date, when available
Response length in bytes
Supported range unit
Requested byte range
Response Headers
File representation validator
Private cache; revalidate before reuse
File modification date, when available
Response length in bytes
Supported range unit
Returned byte range or total file length
Not modified; no response body
Response Headers
File representation validator
Private cache; revalidate before reuse
File modification date, when available
Invalid path, query or request input
Missing, unknown, revoked or expired key; shared authentication envelope
The shared key-scope gate uses the legacy envelope; an operation-specific refusal may use the v2 error envelope
File or icon not found in this space
Request precondition failed
Invalid or unsatisfiable byte range
Response Headers
Returned byte range or total file length
File content could not be read