Skip to content

Endpoints

Skills, versions, downloads, resolving, publishers, tokens, trusted publishing, reports and keys.

Applies to EngineCloud
View as Markdown
On this page
  1. Skills and versions
  2. Resolving and checking
  3. Publishers and tokens
  4. Reports and keys

Skills and versions

Method and pathDoes
GET /skills?q=&kind=&label=&publisher=Search
GET /skills/{publisher}/{name}The skill: publisher, labels, versions, last review
PATCH /skills/{publisher}/{name}Change its description, homepage or visibility (listed, unlisted, private)
DELETE /skills/{publisher}/{name}Delete a skill no one else ever installed; otherwise yank its versions
GET /skills/{publisher}/{name}/versionsEvery version and its state
POST /skills/{publisher}/{name}/versions?visibility=&tag=Publish: the package as application/gzip → 202 { version, state: "checking" }
GET /skills/{publisher}/{name}/versions/{version}Manifest, hash, signature, provenance, review, state
GET /skills/{publisher}/{name}/versions/{version}/download302 to the version’s immutable package
GET /skills/{publisher}/{name}/versions/{version}/files/{path}One file of the version, as text
POST /skills/{publisher}/{name}/versions/{version}/yank{ reason }; POST …/unyank brings it back
GET /skills/{publisher}/{name}/diff?from=&to=What changed in the steps, files and touches
GET /skills/{publisher}/{name}/statsInstalls per day for the last 90 days

Resolving and checking

Method and pathDoes
POST /resolve{ skills: { "sypnia/sypnia-design-guide": "^1.4.0" } } → the versions, their hashes and their needs
POST /checkA package → its findings; nothing is stored

Publishers and tokens

Method and pathDoes
GET /publishers/{handle}, POST /publishersA publisher; create one for an organization
PATCH /publishers/{handle}Its name, links and verified domain
GET|POST /publishers/{handle}/members, DELETE /publishers/{handle}/members/{account}Who has the publisher role
GET|POST /publishers/{handle}/tokens, DELETE /tokens/{id}Tokens, with scopes and expiry
GET|POST /skills/{publisher}/{name}/trusted, DELETE /skills/{publisher}/{name}/trusted/{id}Repositories allowed to publish
POST /trusted/tokenExchange a CI identity for a token that lasts minutes

Reports and keys

Method and pathDoes
POST /reports{ skill, version?, reason }
GET /keysThe registry’s public signing keys, current and announced

The OpenAPI document is in the engine’s repository, at spec/openapi.yaml.

  1. Skills and versions
  2. Resolving and checking
  3. Publishers and tokens
  4. Reports and keys

    Search pages, sections and terms