CI Visibility GitHub Accounts
List GitHub CI Visibility status
Retrieve the list of GitHub accounts (organizations or users) available to this Datadog organization through its GitHub App installation, along with each account's and repository's CI Visibility opt-in status.
get/api/v2/ci/github/accounts
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/tokenScopesintegrations_read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK
Example response
{
"data": [
{
"attributes": {
"account": "datadog",
"enabled": true,
"host": "github.com",
"repo_count": 12,
"repositories": [
{
"enabled": true,
"name": "shopist"
}
]
},
"id": "github.com/datadog",
"type": "ci_github_account"
}
]
}Changes
Changes to this operation have not been checked yet.