Graphon API

Download an object

Returns the bytes of one object version as they are stored, with the same headers as an S3 GetObject: Content-Type, ETag, x-amz-version-id, and x-amz-meta-<key> for its metadata. One byte range returns 206. A met If-None-Match returns 304 with no body. Get object metadata returns the same fields as JSON. Role: viewer or higher.

GET/v1/workspaces/{workspaceId}/buckets/{bucketId}/objects/{keyToken}/content

Authentication

Send your Graphon API key with every request. The value is the whole API key that Graphon showed when you created it. See Authentication.

Authorization: Bearer <GRAPHON_API_KEY>

Path parameters

The workspace id.

bucketIdstring

The bucket id.

keyTokenstring

The object key, base64url-encoded without padding.

Query parameters

versionIdstring (optional)

The version to read. Leave it out for the live version.

Headers

rangestring (optional)

One byte range, such as bytes=0-1023. The response is then 206.

if-matchstring (optional)

Read only when the live etag matches.

if-none-matchstring (optional)

Return 304 when the etag matches.

if-modified-sincestring (optional)

Return 304 when the object did not change since then.

if-unmodified-sincestring (optional)

Read only when the object did not change since then.

Was this page helpful?
View as Markdown