capsule

Read one page of a skill file's current content

Changed on
get/api/preview/capsules/{id}/skill-files/content

Request

Path parameters

idstring required

UUID v4 string

Query parameters

pathstring required

Path relative to the skill folder, with forward slashes (e.g. scripts/run.sh).

revision_idstring

The head revision a paged read started at. A different current head answers 409 with restart instructions.

offsetstring

Byte offset of the page, as returned in next_offset. 0 when omitted.

raw'1'

1 returns the exact bytes as application/octet-stream for download.

Response

Successful response

encoding'utf-8' required
executableboolean required
next_offsetinteger nullable required
offsetinteger required
pathstring required

Path relative to the skill folder, with forward slashes (e.g. scripts/run.sh).

revision_idstring required

UUID v4 string

sizeinteger required
textstring required

Changes