Skip to content

List all registry repositories for a project

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

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

id
required
One of:
string

The ID or URL-encoded path of the project

page
integer
default: 1 nullable

Current page number

Example
1
per_page
integer
default: 20 nullable

Number of items per page

Example
20
tags
boolean
nullable

Determines if tags should be included

tags_count
boolean
nullable

Determines if the tags count should be included

OK

Media type application/json
object
id
integer format: int64
name
string
path
string
project_id
integer format: int64
location
string
created_at
string format: date-time
cleanup_policy_started_at
string format: date-time
tags_count
integer
tags
object
name
string
path
string
location
string
delete_api_path
string
size
integer
status
string
Example
{
"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"
}

Bad Request

Unauthorized

Not Found