openapi: 3.0.3
info:
version: 1.1.4
title: GitHub Application About Packages API
description: 'Use the REST API to retrieve information about GitHub Apps and GitHub App
installations.'
license:
name: MIT
url: https://spdx.org/licenses/MIT
termsOfService: https://docs.github.com/articles/github-terms-of-service
contact:
name: Support
url: https://support.github.com/contact?tags=dotcom-rest-api
x-github-plan: ghes
x-github-release: 3.9
servers:
- url: '{protocol}://{hostname}/api/v3'
variables:
hostname:
description: Self-hosted Enterprise Server hostname
default: HOSTNAME
protocol:
description: Self-hosted Enterprise Server protocol
default: http
tags:
- name: Packages
description: Manage packages for authenticated users and organizations.
paths:
/orgs/{org}/docker/conflicts:
get:
summary: GitHub Get List of Conflicting Packages During Docker Migration for Organization
description: 'Lists all packages that are in a specific organization, are readable by the requesting user, and that encountered a conflict during a Docker migration.
OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint.'
tags:
- Packages
operationId: packages/list-docker-migration-conflicting-packages-for-organization
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization
parameters:
- $ref: '#/components/parameters/org'
responses:
'200':
description: Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/package'
examples:
default:
$ref: '#/components/examples/packages-for-org'
'401':
$ref: '#/components/responses/requires_authentication'
'403':
$ref: '#/components/responses/forbidden'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: packages
subcategory: packages
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/orgs/{org}/packages:
get:
summary: GitHub List Packages for an Organization
description: 'Lists packages in an organization readable by the user.
OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."'
tags:
- Packages
operationId: packages/list-packages-for-organization
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/packages/packages#list-packages-for-an-organization
parameters:
- name: package_type
description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.
in: query
required: true
schema:
type: string
enum:
- npm
- maven
- rubygems
- docker
- nuget
- container
example: npm
- $ref: '#/components/parameters/org'
- $ref: '#/components/parameters/package-visibility'
- name: page
description: The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
in: query
schema:
type: integer
default: 1
example: 42
- name: per_page
description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
in: query
schema:
type: integer
default: 30
example: 42
responses:
'200':
description: Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/package'
examples:
default:
$ref: '#/components/examples/packages-for-org'
'400':
$ref: '#/components/responses/package_es_list_error'
'401':
$ref: '#/components/responses/requires_authentication'
'403':
$ref: '#/components/responses/forbidden'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: packages
subcategory: packages
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/orgs/{org}/packages/{package_type}/{package_name}:
get:
summary: GitHub Get a Package for an Organization
description: 'Gets a specific package in an organization.
OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."'
tags:
- Packages
operationId: packages/get-package-for-organization
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/packages/packages#get-a-package-for-an-organization
parameters:
- $ref: '#/components/parameters/package-type'
- $ref: '#/components/parameters/package-name'
- $ref: '#/components/parameters/org'
responses:
'200':
description: Response
content:
application/json:
schema:
$ref: '#/components/schemas/package'
examples:
default:
$ref: '#/components/examples/package-org'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: packages
subcategory: packages
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
delete:
summary: GitHub Delete a Package for an Organization
description: 'Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.
The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."'
tags:
- Packages
operationId: packages/delete-package-for-org
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/packages/packages#delete-a-package-for-an-organization
parameters:
- $ref: '#/components/parameters/package-type'
- $ref: '#/components/parameters/package-name'
- $ref: '#/components/parameters/org'
responses:
'204':
description: Response
'401':
$ref: '#/components/responses/requires_authentication'
'403':
$ref: '#/components/responses/forbidden'
'404':
$ref: '#/components/responses/not_found'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: packages
subcategory: packages
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/orgs/{org}/packages/{package_type}/{package_name}/restore:
post:
summary: GitHub Restore a Package for an Organization
description: "Restores an entire package in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this\nscenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\""
tags:
- Packages
operationId: packages/restore-package-for-org
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/packages/packages#restore-a-package-for-an-organization
parameters:
- $ref: '#/components/parameters/package-type'
- $ref: '#/components/parameters/package-name'
- $ref: '#/components/parameters/org'
- name: token
description: package token
schema:
type: string
required: false
in: query
example: example_value
responses:
'204':
description: Response
'401':
$ref: '#/components/responses/requires_authentication'
'403':
$ref: '#/components/responses/forbidden'
'404':
$ref: '#/components/responses/not_found'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: packages
subcategory: packages
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/orgs/{org}/packages/{package_type}/{package_name}/versions:
get:
summary: GitHub List Package Versions for a Package Owned by an Organization
description: 'Lists package versions for a package owned by an organization.
OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."'
tags:
- Packages
operationId: packages/get-all-package-versions-for-package-owned-by-org
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization
parameters:
- $ref: '#/components/parameters/package-type'
- $ref: '#/components/parameters/package-name'
- $ref: '#/components/parameters/org'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/per-page'
- name: state
in: query
required: false
description: The state of the package, either active or deleted.
schema:
type: string
enum:
- active
- deleted
default: active
example: active
responses:
'200':
description: Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/package-version'
examples:
default:
$ref: '#/components/examples/package-versions-for-org'
'401':
$ref: '#/components/responses/requires_authentication'
'403':
$ref: '#/components/responses/forbidden'
'404':
$ref: '#/components/responses/not_found'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: packages
subcategory: packages
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}:
get:
summary: GitHub Get a Package Version for an Organization
description: 'Gets a specific package version in an organization.
OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."'
tags:
- Packages
operationId: packages/get-package-version-for-organization
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/packages/packages#get-a-package-version-for-an-organization
parameters:
- $ref: '#/components/parameters/package-type'
- $ref: '#/components/parameters/package-name'
- $ref: '#/components/parameters/org'
- $ref: '#/components/parameters/package-version-id'
responses:
'200':
description: Response
content:
application/json:
schema:
$ref: '#/components/schemas/package-version'
examples:
default:
$ref: '#/components/examples/package-version-org'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: packages
subcategory: packages
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
delete:
summary: GitHub Delete Package Version for an Organization
description: 'Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.
The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."'
tags:
- Packages
operationId: packages/delete-package-version-for-org
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/packages/packages#delete-package-version-for-an-organization
parameters:
- $ref: '#/components/parameters/package-type'
- $ref: '#/components/parameters/package-name'
- $ref: '#/components/parameters/org'
- $ref: '#/components/parameters/package-version-id'
responses:
'204':
description: Response
'401':
$ref: '#/components/responses/requires_authentication'
'403':
$ref: '#/components/responses/forbidden'
'404':
$ref: '#/components/responses/not_found'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: packages
subcategory: packages
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore:
post:
summary: GitHub Restore Package Version for an Organization
description: "Restores a specific package version in an organization.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this\nscenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\nThe authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\""
tags:
- Packages
operationId: packages/restore-package-version-for-org
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/packages/packages#restore-package-version-for-an-organization
parameters:
- $ref: '#/components/parameters/package-type'
- $ref: '#/components/parameters/package-name'
- $ref: '#/components/parameters/org'
- $ref: '#/components/parameters/package-version-id'
responses:
'204':
description: Response
'401':
$ref: '#/components/responses/requires_authentication'
'403':
$ref: '#/components/responses/forbidden'
'404':
$ref: '#/components/responses/not_found'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: packages
subcategory: packages
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/user/docker/conflicts:
get:
summary: GitHub Get List of Conflicting Packages During Docker Migration for Authenticated-user
description: 'Lists all packages that are owned by the authenticated user within the user''s namespace, and that encountered a conflict during a Docker migration.
OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint.'
tags:
- Packages
operationId: packages/list-docker-migration-conflicting-packages-for-authenticated-user
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-authenticated-user
responses:
'200':
description: Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/package'
examples:
default:
$ref: '#/components/examples/packages-for-user'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: packages
subcategory: packages
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/user/packages:
get:
summary: GitHub List Packages for the Authenticated User's Namespace
description: 'Lists packages owned by the authenticated user within the user''s namespace.
OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."'
tags:
- Packages
operationId: packages/list-packages-for-authenticated-user
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/packages/packages#list-packages-for-the-authenticated-users-namespace
parameters:
- name: package_type
description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.
in: query
required: true
schema:
type: string
enum:
- npm
- maven
- rubygems
- docker
- nuget
- container
example: npm
- $ref: '#/components/parameters/package-visibility'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/per-page'
responses:
'200':
description: Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/package'
examples:
default:
$ref: '#/components/examples/packages-for-user'
'400':
$ref: '#/components/responses/package_es_list_error'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: packages
subcategory: packages
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/user/packages/{package_type}/{package_name}:
get:
summary: GitHub Get a Package for the Authenticated User
description: 'Gets a specific package for a package owned by the authenticated user.
OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."'
tags:
- Packages
operationId: packages/get-package-for-authenticated-user
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/packages/packages#get-a-package-for-the-authenticated-user
parameters:
- $ref: '#/components/parameters/package-type'
- $ref: '#/components/parameters/package-name'
responses:
'200':
description: Response
content:
application/json:
schema:
$ref: '#/components/schemas/package'
examples:
default:
$ref: '#/components/examples/package-user'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: packages
subcategory: packages
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
delete:
summary: GitHub Delete a Package for the Authenticated User
description: 'Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.
OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."'
tags:
- Packages
operationId: packages/delete-package-for-authenticated-user
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/packages/packages#delete-a-package-for-the-authenticated-user
parameters:
- $ref: '#/components/parameters/package-type'
- $ref: '#/components/parameters/package-name'
responses:
'204':
description: Response
'401':
$ref: '#/components/responses/requires_authentication'
'403':
$ref: '#/components/responses/forbidden'
'404':
$ref: '#/components/responses/not_found'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: packages
subcategory: packages
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/user/packages/{package_type}/{package_name}/restore:
post:
summary: GitHub Restore a Package for the Authenticated User
description: "Restores a package owned by the authenticated user.\n\nYou can restore a deleted package under the following conditions:\n - The package was deleted within the last 30 days.\n - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this\nscenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.\nOAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\""
tags:
- Packages
operationId: packages/restore-package-for-authenticated-user
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/packages/packages#restore-a-package-for-the-authenticated-user
parameters:
- $ref: '#/components/parameters/package-type'
- $ref: '#/components/parameters/package-name'
- name: token
description: package token
schema:
type: string
required: false
in: query
example: example_value
responses:
'204':
description: Response
'401':
$ref: '#/components/responses/requires_authentication'
'403':
$ref: '#/components/responses/forbidden'
'404':
$ref: '#/components/responses/not_found'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: packages
subcategory: packages
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/user/packages/{package_type}/{package_name}/versions:
get:
summary: GitHub List Package Versions for a Package Owned by the Authenticated User
description: 'Lists package versions for a package owned by the authenticated user.
OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."'
tags:
- Packages
operationId: packages/get-all-package-versions-for-package-owned-by-authenticated-user
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user
parameters:
- $ref: '#/components/parameters/package-type'
- $ref: '#/components/parameters/package-name'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/per-page'
- name: state
in: query
required: false
description: The state of the package, either active or deleted.
schema:
type: string
enum:
- active
- deleted
default: active
example: active
responses:
'200':
description: Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/package-version'
examples:
default:
# --- truncated at 32 KB (704 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/openapi/github-packages-api-openapi.yml