container_registry
Retrieve details of a container registry repository
Retrieves details of a specified container registry repository.
get/api/v4/registry/repositories/{id}
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID of the repository
Query parameters
tagsboolean
Determines if tags should be included
tags_countboolean
Determines if the tags count should be included
sizeboolean
Determines if the size should be included
Response
Retrieve details of a container registry repository
Example response
{
"id": 1,
"name": "releases",
"path": "group/project/releases",
"project_id": 9,
"location": "gitlab.example.com/group/project/releases",
"created_at": "2019-01-10T13:39:08.229Z",
"cleanup_policy_started_at": "2020-08-17T03:12:35.489Z",
"tags_count": 3,
"tags": {
"name": "latest",
"path": "namespace1/project1/test_image_1:latest",
"location": "registry.dev/namespace1/project1/test_image_1:latest"
},
"delete_api_path": "delete/api/path",
"size": 12345,
"status": "delete_scheduled"
}Changes
No recorded changes to this operation across all 5 revisions of this API.