Desk

Read one file of a hosted project

Changed on

UTF-8 text and the hash of its bytes. A file that is not text answers error: binary.

get/api/v0/desk/projects/{project_id}/file

Request

Path parameters

project_idstring uuid required

Query parameters

pathstring required

Path relative to the project root.

Response

Successful Response

pathstring required
contentstring nullable
sha256string required
sizeinteger
truncatedboolean
errorstring nullable

Changes