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.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.