Chapter 2. Enabling and using the Red Hat Quay API
By leveraging the Red Hat Quay API, you can streamline container registry management, automate tasks, and integrate Red Hat Quay’s functionalities into your existing workflow. This can improve efficiency, offer enhanced flexibility (by way of repository management, user management, user permissions, image management, and so on), increase the stability of your organization, repository, or overall deployment, and more.
Detailed instructions for how to use the Red Hat Quay API can be found in the Red Hat Quay API guide. In that guide, the following topics are covered:
- Red Hat Quay token types, including OAuth 2 access tokens, robot account tokens, and OCI referrers tokens, and how to generate these tokens.
-
Enabling the Red Hat Quay API by configuring your
config.yaml
file. - How to use the Red Hat Quay API by passing in your OAuth 2 account token into the desired endpoint.
- API examples, including one generic example of how an administrator might automate certain tasks.
See the Red Hat Quay API guide before attempting to use the API endpoints offered in this chapter.