Skip to main content
GET
cURL

Authorizations

Authorization
string
header
default:dav_gr_your_grant
required

A session's data-plane grant, from dataPlane.token. Valid only on the data-plane host, only for the one project its session opened, and only for minutes.

A grant is not an API key and the two are not interchangeable: presenting a grant to a control-plane operation is rejected, and an API key is not accepted on the data plane. The separation is deliberate — a grant is meant to be cheap to lose, so it reaches one project, does no more than the key that minted it, and is revoked when its session closes.

Path Parameters

ownerId
string
required

Id of the account or organization that owns the project, from the project's ownerId.

Minimum string length: 1
projectId
string
required

Project id, compound as {projectId}--{branchName}. Must be the project the session opened.

Minimum string length: 1
fileName
string
required

Stored filename, in the form {fileId}.{extension}.

Minimum string length: 1

Response

File bytes.

The response is of type file.