container_registry

List all registry repositories for a project

Lists all registry repositories for a specified project. Responses are paginated and return 20 results by default.

get/api/v4/projects/{id}/registry/repositories

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project

Query parameters

pageinteger

Current page number

per_pageinteger

Number of items per page

tagsboolean

Determines if tags should be included

tags_countboolean

Determines if the tags count should be included

Response

List all registry repositories for a project

idinteger required
namestring required
pathstring required
project_idinteger required
locationstring required
created_atstring date-time required
cleanup_policy_started_atstring date-time required
tags_countinteger
delete_api_pathstring
sizeinteger
statusstring required

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.