Get files

http
POST /projects/{project_reference}/files/batch

Return the files at the given paths. Requires project.read.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
refquery
branchquery
branch_idquery

Request body

FieldTypeRequiredDescription
pathsarrayYesArray of file paths to fetch

Responses

StatusDescription
200Files with content.
400Invalid input, or an invalid or conflicting content selector
401Unauthorized
403Forbidden - insufficient permissions
404Not found
500Server error