registry-git
The resource’s authoring source, with its linked repository resolved
get/registry-git/{asset}/{namespace}/{slug}/source
Request
- Base URLhttps://api.scalar.com/core
- URLhttps://api.scalar.com/core/registry-git/{asset}/{namespace}/{slug}/source
- AuthHTTP 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 #2subschema #3to the////response propertyoneOflist for the response status - info
the
response's property default valueunixTimestamp()was removed for the status - info
the
response's property default valueunixTimestamp()was removed for the status - info
removed
subschema #2subschema #3from the////response propertyoneOflist for the response status
- breaking
- info
added the new optional
queryrequest parameterbranch
- info