-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation for API https://hub.docker.com/v2/repositories/${repository} #2321
Comments
There is no public documentation for this API endpoint I'm afraid. We're working on updating the Hub API documentation, but we don't have any timelines for when that work will be completed at the moment. I wanted to point out one more thing, though, as a heads up. The API endpoint you're mentioning is rather confusing -- I suspect the confusion arises from the way the JS code uses it in the GH Action. It seems to concatenate The properly spelled-out API endpoint you're mentioning is as follows:
The reason why I'm mentioning this is, the API endpoints like the one above will become legacy endpoints because they're confusing (as manifested by the GH Action you mention) and will be replaced with the ones that make each API resource explicit i.e.
Now, back to your original question, sorry about the interlude. The author of the GH Action is right in assuming the need for the
Only Now, we are currently actively working on revamping the permission models slightly, so in the [hopefully] near future there will not be any need for |
@milosgajdos Thank you for the explanation. Would this be right issue to follow progress on the new API? |
Yes, thats the correct issue to track the Hub API @peter-evans |
@miparnisari feel free to close this issue if you think it was answered :) |
Thank you @milosgajdos! |
Hello, where can i find documentation for this endpoint? https://hub.docker.com/v2/repositories/${repository}
The reason I ask: there is one Github action that calls it to update a repository's description, and this piece:
https://github.com/peter-evans/dockerhub-description/blob/579f64ca0abced29dbbc44ab4c6a0b9e33ab3588/src/dockerhub-helper.ts#L39-L46
fails unless the access token has the
read, write
ANDdelete
scope. And i don't understand why it needsdelete
.The text was updated successfully, but these errors were encountered: