v50

latestOpenAPI 3.0.3MITraw.githubusercontent.com2023-07-147873273.9 MB
billing

Get GitHub Advanced Security active committers for an organization

Gets the GitHub Advanced Security active committers for an organization 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 advanced_security_committers for each repository.

If this organization defers to an enterprise for billing, the total_advanced_security_committers returned from the organization API may include some users that are in more than one organization, so they will only consume a single Advanced Security seat at the enterprise level.

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

get/orgs/{org}/settings/billing/advanced-security

Path parameters

orgstring required

The organization name. The name is not case sensitive.

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"
        }
      ]
    }
  ]
}