docs(oat): document Hub API endpoint OAT support for repos-new - #25835
Open
vdamery wants to merge 3 commits into
Open
docs(oat): document Hub API endpoint OAT support for repos-new#25835vdamery wants to merge 3 commits into
vdamery wants to merge 3 commits into
Conversation
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
vdamery
force-pushed
the
docs/oat-hub-api-support
branch
from
August 14, 2026 15:42
9358dbb to
3d226c4
Compare
Adds <span class="oat"></span> labels to all repository-related
endpoints that accept org access tokens via the AllowOAT() middleware:
- GET/POST /v2/namespaces/{namespace}/repositories
- GET/HEAD /v2/namespaces/{namespace}/repositories/{repository}
- GET/HEAD /v2/namespaces/{namespace}/repositories/{repository}/tags
- GET/HEAD /v2/namespaces/{namespace}/repositories/{repository}/tags/{tag}
- PATCH/POST /v2/namespaces/{namespace}/repositories/{repository}/immutabletags
- POST /v2/repositories/{namespace}/{repository}/groups
Also documents the OAT-specific listing behavior on GET repositories:
an OAT with scope-repository-list sees all repos including private;
without it, only public repos are returned.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
vdamery
force-pushed
the
docs/oat-hub-api-support
branch
from
August 14, 2026 15:58
3d226c4 to
71716c8
Compare
Add a Hub API support section to the OAT manual page explaining:
- Which endpoint categories accept OAT authentication
- The scope-based listing behavior on GET /v2/namespaces/{ns}/repositories
(scope-repository-list → all repos including private; else public-only)
- Endpoints that do not support OAT (manifests, collaborators, settings)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
vdamery
force-pushed
the
docs/oat-hub-api-support
branch
from
August 14, 2026 16:01
71716c8 to
4d4abfd
Compare
Add a new "Available scopes" section documenting all repository-level and organization-level OAT scopes with their descriptions and scope hierarchy (which higher scopes include lower ones). Update the "Create an organization access token" section to reference the full scope list and include the new org-level scopes (scope-repository-list, scope-repository-create, scope-registry-usage-read) in the organization permissions step.
vdamery
marked this pull request as ready for review
August 14, 2026 16:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents which Docker Hub API endpoints accept org access token (OAT) authentication, and the scope-dependent listing behavior for repository listing.
Changes
content/reference/api/hub/latest.yaml: Added<span class="oat"></span>markers to 11 repository endpoint groups under/v2/namespaces/{namespace}/repositories/. Includes a note on scope-based listing behavior forGET /v2/namespaces/{namespace}/repositories.content/manuals/enterprise/security/access-tokens.md: New "Hub API support" section covering supported endpoint categories and thescope-repository-listlisting behavior.OAT listing behavior
GET /v2/namespaces/{namespace}/repositories:scope-repository-list→ returns all repos including privateTest plan
<span class="oat">badge on repo endpoints