capsule

Rename a skill file, keeping its identity and bytes

Changed on
post/api/preview/capsules/{id}/skill-files/move

Request

Path parameters

idstring required

UUID v4 string

Request body

expected_revision_idstring required

The file's current head revision. A different current head is refused with stale_revision.

new_pathstring required

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

pathstring required

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

Response

Successful response

evicted_revisionsinteger required

Changes