How to get container registry information using the API

In the documentation for GitLab CE 9.x, GET /projects/:id returns information on a project including container_registry_enabled. All the examples shown have values of this field set to false. What if it were set to true instead? Will I get more information on the container registry?

Specifically, I would like to be able to fetch the image name and available tags.

In the GET methods do not have parameter container_registry_enabled. “container_registry_enabled”: false is only shown in the sample output.
container_registry_enabled value is set when creating or editing a container. Further information about this setting can be found at the page below.

Also, did you check the following thread? Seems like there’s no api yet for the container.

I don’t see what you are referring to in the Issue 2.

Is there a workaround to get the container registry url, at least?

If you inspect the JSON response of the registry page, you can see it makes this request (add your private access token):

https://gitlab.com/<user>/<project_name>/container_registry.json?format=json&private_token=

Get the tags_path URL and it will give you a list of images