settings
default
🛡️👤 Insert or update a logical repository - a named set of rules to match PRs, releases, and deployments that pretends to be a regular GitHub repository everywhere in UI and API requests.
put/settings/logical_repository
Request
- Base URL{{ server_url }}/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"account": 1,
"prs": {
"title": ".*[Cc]omponent [Aa]lpha",
"labels_include": [
"alpha",
"webapp"
]
},
"parent": "github.com/athenianco/athenian-monorepo",
"deployments": {},
"name": "Webapp",
"releases": {
"branches": "{{ \"{{default}}\" }}",
"tags": "webapp-.*",
"match": "tag"
}
}Response
Created or updated logical repository.
Example response
{
"prs": {
"title": ".*[Cc]omponent [Aa]lpha",
"labels_include": [
"alpha",
"webapp"
]
},
"parent": "github.com/athenianco/athenian-monorepo",
"deployments": {},
"name": "Webapp",
"releases": {
"branches": "{{ \"{{default}}\" }}",
"tags": "webapp-.*",
"match": "tag"
}
}Changes
No recorded changes to this operation across all 90 revisions of this API.