head
Was this helpful?
HEAD /api/v1/rawFiles/:fileId:fileId
string
The globally unique identifier for this file
None
You must have metadata access to file's associated dataset, and your access token must have the following scope:
data.metadata
The request body must be empty.
In addition to standard response headers, this API provides the additional information associated with the file:
Content-Disposition
HTTP content disposition, including information about the file's name. However, it is recommended to use X-Redivis-Filename as the content-disposition can be hard to parse.
Content-Length
The size, in bytes, of the response. Note if using Range Requests, this will be the size of the current response, not the entire file.
Content-Range
Will only be returned if a Range was set on the request headers. Takes the form
Content-Type
The file's MIME type, derived from the file extension. If the MIME type is unknown, will be set to application/octet-stream.
Digest
Contains the md5 checksum of the file content, encoded as a base64 string. Takes the form md5=checksum
X-Redivis-Filename
The URL-encoded representation of the filename.
No content is returned in the response body.
Was this helpful?
Was this helpful?
bytes startByte-endByte/totalcurl -I -H "Authorization: Bearer $REDIVIS_ACCESS_TOKEN" \
"https://redivis.com/api/v1/rawFiles/93qh-6wdzwrz84.bc574P4o8ypzp8yKCnrgIw"
