Get file headers
HEAD/v2/spaces/:space_id/files/:file_id/content
Returns the file or icon headers without a response body. Accepts the same ids as file download.
Requestโ
Responsesโ
- 200
- 304
- 400
- 401
- 403
- 404
- 412
- 500
File headers; no response body
Response Headers
ETag
File representation validator
Cache-Control
Private cache; revalidate before reuse
Last-Modified
File modification date, when available
Content-Length
Response length in bytes
Accept-Ranges
Supported range unit
Not modified; no response body
Response Headers
ETag
File representation validator
Cache-Control
Private cache; revalidate before reuse
Last-Modified
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
File content could not be read