api-docs

Version records for a registry document, with their chain heads

get/registry/{asset}/{namespace}/{slug}/versions

Request

  • Base URL
    https://api.scalar.com/core
  • URL
    https://api.scalar.com/core/registry/{asset}/{namespace}/{slug}/versions
  • Auth
    HTTP bearer

Path parameters

asset'apis' | 'schemas' | 'rules' required
namespacestring required
slugstring required

Response

Default Response

Example response

{
  "versions": [
    {
      "uid": "UakgbKJ5m9gl0JDMbcJqL",
      "createdAt": 1735689600,
      "updatedAt": 1735689600,
      "version": "1.2.0",
      "tools": [
        {
          "path": "/products"
        }
      ]
    }
  ]
}

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      removed the delete enum value from the ///// response property for the response status

    • info

      removed the get enum value from the ///// response property for the response status

    • info

      removed the head enum value from the ///// response property for the response status

    • info

      removed the options enum value from the ///// response property for the response status

    • info

      removed the patch enum value from the ///// response property for the response status

    • info

      removed the post enum value from the ///// response property for the response status

    • info

      removed the put enum value from the ///// response property for the response status

    • info

      removed the query enum value from the ///// response property for the response status

    • info

      removed the trace enum value from the ///// response property for the response status

    • info

      the versions/items/tools/anyOf[subschema #1]/items/method response's property pattern ^[!#$%&'*+.^_|~0-9A-Za-z-]+$ was added for the status 200