Get Registries

Get Registries

Return a paginated list of registries ordered by name for an organization. The id of the organization is fetched from CSP token

Request
URI
GET
https://{api_host}/v1/registries
COPY
Query Parameters
boolean
removed
Optional

It filters registries removed or not

string
provider
Optional

It filters registries by a provider

provider example
HARBOR
boolean
hosted
Optional

It filters registries automatically hosted by TAC

boolean
vmware_managed
Optional

It filters registries manually hosted by TAC

boolean
shared
Optional

Objects are private to the organization in the request (shared=false) or shared between organizations (shared=true)

boolean
owned
Optional

Object is owned by the organization in the request (owned=true)

integer
page
Optional
Constraints: minimum: 1 default: 1

An integer that identifies the page number for a paged response

integer
page_size
Optional
Constraints: minimum: 1 maximum: 100 default: 20

An integer that identifies the maximum page size for a paged response


Authentication
This operation uses the following authentication methods.
Responses
200

Paginated list of registries in an organization

Returns RegistriesPage of type(s) application/json
This response body class contains all of the following: InlineRegistriesPage0 , InlineRegistriesPage1
{
    "page": 1,
    "page_size": 5,
    "total_size": 10,
    "total_pages": 2,
    "items": [
        {
            "id": "549cfa79-352c-4555-9d28-4442de551829",
            "name": "Harbor registry for my org",
            "url": "https://harbor.mydomain.com",
            "healthy": true,
            "last_checked_at": "2023-03-03T00:59:52.762Z",
            "description": "Registry for storing container releases",
            "hosted": false,
            "vmware_managed": false,
            "shared": false,
            "owned": false,
            "provider": "HARBOR",
            "flavor": "STANDALONE",
            "created_at": "2023-03-03T00:59:52.762Z",
            "updated_at": "2023-03-03T00:59:52.762Z",
            "removed_at": "2023-03-03T00:59:52.762Z",
            "removed_by": "John Doe",
            "base_image_count": 1,
            "application_count": 2,
            "credentials_limit": 10,
            "_links": {
                "credentials": {
                    "href": "/v1/registries/cddcfa79-352c-4555-9d28-4442de559876/credentials"
                }
            }
        }
    ]
}

400

An error related to the request

Returns ConstraintsViolationsError of type(s) application/problem+json
This response body class contains all of the following: InlineConstraintsViolationsError0
"ConstraintsViolationsError Object"
array of object
violations
Required

It represents a constraints violation error


403

The requesting user is not authorized to get the registries

Returns Error403 of type(s) application/problem+json
This response body class contains all of the following: InlineError4030
"Error403 Object"

500

An internal server error object

Returns Error500 of type(s) application/problem+json
This response body class contains all of the following: InlineError5000
"Error500 Object"

503

The server is temporarily unavailable

Returns Error503 of type(s) application/problem+json
This response body class contains all of the following: InlineError5030
"Error503 Object"

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/v1/registries