Git Repositories
Get Repository Configuration
Reads a repository's settings. Each section is source: repository when the repository overrides it, with the organization default in global_default, or source: global when it follows the organization default. The organization-wide only sections (bot-authored pull request attribution, included file extensions, active branches duration, issue start time) are not listed; read them with GET /api/v1/git/config
get/api/v1/git/repositories/{repo_id}/config
Request
- Base URLhttps://public-api.linearb.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
repo_idinteger required
The repository id, as GET /api/v1/git/repositories returns it
Response
Successful Response
Example response
{
"repository_id": 80231,
"repository_name": "api"
}Changes
No recorded changes to this operation across all 1 revision of this API.