How can i get a list of tags for a docker image akin to the docker hub list

With docker hub this command

https://hub.docker.com/v2/repositories/library/debian/tags/?page_size=20

Would give me a list of tags in JSON looking like this

{“count”:535,“next”:"https://hub.docker.com/v2/repositories/library/debian/tags/?page=2\u0026page_size=20",“previous”:null,“results”:[{“name”:“unstable-slim”,“full_size”:27770486,“images”:[{“size”:28737447,“digest”:“sha256:0a69ee0bb8d4bb1fab07d985813fce2f55c9c3911d30b85b1da8c556851ba98f”,“architecture”:“386”,“os”:“linux”,“os_version”:null,“os_features”:“”,“variant”:null,“features”:“”},{“size”:26670752,“digest”:“sha256:7c1890a916f5a4572c5941eed2952fe518f0f962ee8b51883a80fa99c3521074”,“architecture”:“arm64”,“os”:“linux”,“os_version”:null,“os_features”:“”,“variant”:“v8”,“features”:“”},"},

When using Nexus repository what are the sequence of API calls (or single api call) to achieve a similar list.
I have looked in the documentation and browsed the API but cannot find anything of relevance…

Can somebody please help

Thanks in advance

You can use the search API, and search for “docker.imageName”:

https://help.sonatype.com/repomanager3/rest-and-integration-api/search-api

For hosted repositories this will return all tags.

For proxy repositories this will return the tags that are cached locally.