Spec0docsCLI 0.7.0
API Explorer

List version history

Returns every published version of the API in reverse-chronological order, including the SemVer tag, git SHA recorded at publish, publish timestamp, and a flag indicating whether breaking changes were detected against the previous version. The spec content itself is not inlined — fetch individual versions with GET /versions/{tag}.

GET
/api/v1/public/registry/{orgSlug}/{apiName}/versions

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer token. Either a Personal Access Token (pat_...) or a Service Account Token (sat_...). Issued via the Spec0 dashboard or /me/personal-access-tokens.

In: header

Path Parameters

orgSlug*string
apiName*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://app.spec0.io/api/v1/public/registry/string/string/versions"
[
  {
    "tag": "string",
    "gitSha": "string",
    "publishedAt": "string",
    "breakingChangesRecorded": true,
    "breakingChangeSummary": "string"
  }
]
{
  "error": "string",
  "message": "string"
}
{
  "status": 0,
  "title": "string",
  "detail": "string",
  "type": "string",
  "instance": "string"
}
{
  "status": 0,
  "title": "string",
  "detail": "string",
  "type": "string",
  "instance": "string"
}
Was this helpful?