Add example of package registry public API endpoint on the deploy tokens page
What does this MR do and why?
Based on a ticket - internal only, it was not quite clear which endpoints deploy tokens work on.
The docs already mention that you can use a deploy token for HTTP authentication to the GitLab package registry public API.
In the section I've changed, it's mentioned that Deploy tokens can’t be used with the GitLab public API and can be used with some endpoints, such as those from the package registry, but it's not exactly clear which endpoints these are until you visit a page like this which provides an example of publishing to the package registry using the public registry API.
This was also made clear in an internal slack conversation - internal only
The aim of the MR is to provide an example of a format of the public registry API endpoints, in the deploy tokens page.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.