files

Read a workspace file's text

Read a workspace file's text.

get/files/content

Request

  • Base URL
    https://www.dench.com/api/v1
  • Auth
    • HTTP bearer
    • or HTTP bearer

Query parameters

pathstring required

Workspace file path, e.g. /reports/q2.md. A leading /workspace/ mount prefix is stripped.

slugstring

Response

Successful response

pathstring required
isDirboolean required
virtualboolean required
sizenumber nullable required
mtimenumber nullable
contentstring nullable required

Inline text, or null for binary / uncached files.

encodingstring nullable required
contentHashstring nullable
downloadableboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.