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

Path parameters

repo_idinteger required

The repository id, as GET /api/v1/git/repositories returns it

Response

Successful Response

repository_idinteger required
repository_namestring nullable
settingsobject required

Example response

{
  "repository_id": 80231,
  "repository_name": "api"
}

Changes

No recorded changes to this operation across all 1 revision of this API.