registry-git

The resource’s authoring source, with its linked repository resolved

get/registry-git/{asset}/{namespace}/{slug}/source

Request

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

Path parameters

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

Query parameters

branchstring

Response

Default Response

Example response

{
  "source": {
    "repositoryUid": "UakgbKJ5m9gl0JDMbcJqL",
    "lastPublishedAt": 1735689600
  },
  "repository": {
    "uid": "UakgbKJ5m9gl0JDMbcJqL",
    "createdAt": 1735689600,
    "updatedAt": 1735689600
  }
}

Changes

    • breaking

      added subschema #2 subschema #3 to the //// response property oneOf list for the response status

    • info

      the response's property default value unixTimestamp() was removed for the status

    • info

      the response's property default value unixTimestamp() was removed for the status

    • info

      removed subschema #2 subschema #3 from the //// response property oneOf list for the response status

    • info

      added the new optional query request parameter branch