v50

latestOpenAPI 3.0.3MITraw.githubusercontent.com2023-11-288093493.9 MB
billing

Get GitHub Advanced Security active committers for an enterprise

Gets the GitHub Advanced Security active committers for an enterprise per repository.

Each distinct user login across all repositories is counted as a single Advanced Security seat, so the total_advanced_security_committers is not the sum of active_users for each repository.

The total number of repositories with committer information is tracked by the total_count field.

get/enterprises/{enterprise}/settings/billing/advanced-security

Path parameters

enterprisestring required

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

Query parameters

per_pageinteger

The number of results per page (max 100).

pageinteger

Page number of the results to fetch.

Response

Success

total_advanced_security_committersinteger
total_countinteger

Example response

{
  "total_advanced_security_committers": 25,
  "total_count": 2,
  "repositories": [
    {
      "name": "octocat/Hello-World",
      "advanced_security_committers": 25,
      "advanced_security_committers_breakdown": [
        {
          "last_pushed_date": "2021-11-03"
        }
      ]
    }
  ]
}