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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”page
integer
Current page number
Example
1per_page
integer
Number of items per page
Example
20tags
boolean
Determines if tags should be included
tags_count
boolean
Determines if the tags count should be included
Responses
Section titled “Responses”OK
Media typeapplication/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