Deprecated: use POST /plugins/skill:{skillId}/revisions. Create a revision — a complete snapshot [write]

Changed on

Deprecated: use POST /plugins/skill:{skillId}/revisions. Still served exactly as before; every answer carries a Deprecation header. Omitted files are not carried over. The new SKILL.md name must match the skill's name (400 name_mismatch).

post/skills/{skillId}/revisions

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/skills/{skillId}/revisions
  • Auth
    HTTP bearer

Request body multipart/form-data

filesstring[] required

One zip archive or individual files. SKILL.md with name + description frontmatter must sit at the root of the single top-level directory. ≤30 MB uncompressed; zip entries keep their unix exec bit.

displayNamestring
executablePathsstring

Optional JSON array of executable file paths within a revision upload. Preserves Unix mode when editing loose files; omit to keep legacy loose-file behavior.

expectedLatestRevisionstring

Optional revision precondition when uploading a revision; 409 revision_conflict if latest changed. Omit to preserve unconditional upload behavior.

Response

Created

Changes

    • info

      endpoint deprecated

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status

    • info

      the response property became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status