Get branch file

http
GET /projects/{project_reference}/branches/{branchName}/files/{filePath}

Return branch file. Requires project.read.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
branchNamepathYes
filePathpathYes
include_server_functionsquery
fieldsqueryResponse projection, for example (id,path,size). Omit to return all file fields, including content.

Responses

StatusDescription
200File from the branch with selectable response fields.
400Missing file path
401Unauthorized
403Restricted server-function source or insufficient permissions
404Not found
500Server error