private-registries

List private registries for an organization

Changed on

Lists all private registry configurations available at the organization-level without revealing their encrypted values.

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

get/orgs/{org}/private-registries

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/orgs/{org}/private-registries
  • Auth: none declared

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). For more information, see "Using pagination in the REST API."

pageinteger

The page number of the results to fetch. For more information, see "Using pagination in the REST API."

Response

Response

total_countinteger required

Example response

{
  "configurations": [
    {
      "name": "MAVEN_REPOSITORY_SECRET",
      "username": "monalisa"
    }
  ]
}

Changes

  • 2022-11-2809bdd45064e8Revision changes
    • warning

      added the new anonymous enum value to the // response property for the response status

  • 2022-11-283cef241cbe89Revision changes
    • warning

      added the new oidc_gcp enum value to the // response property for the response status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status