Get Registries
Return a paginated list of registries ordered by name for an organization. The id of the organization is fetched from CSP token
It filters registries removed or not
It filters registries by a provider
HARBOR
It filters registries automatically hosted by Bitnami Secure Images
It filters registries manually hosted by Bitnami Secure Images
Objects are private to the organization in the request (shared=false) or shared between organizations (shared=true)
Object is owned by the organization in the request (owned=true)
An integer that identifies the page number for a paged response
An integer that identifies the maximum page size for a paged response
Paginated list of registries in an organization
{
"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",
"created_at": "2023-03-03T00:59:52.762Z",
"created_by": "johndoe",
"updated_at": "2023-03-03T00:59:52.762Z",
"updated_by": "johndoe",
"removed_at": "2023-03-03T00:59:52.762Z",
"removed_by": "johndoe",
"application_count": 2,
"credentials_limit": 10,
"unhealthy_cause": "Get \"https://myregistry.org\": dial tcp 11.11.11.22:443: connect: no route to host",
"_links": {
"credentials": {
"href": "/v1/registries/cddcfa79-352c-4555-9d28-4442de559876/credentials"
}
}
}
]
}
An error related to the request
{
"type": "https://example.com/probs/validation-error",
"title": "Validation error",
"status": 400,
"detail": "There was an error validating the request",
"violations": [
{
"field": "amount",
"message": "It should be greater than zero"
}
]
}
It represents a constraints violation error
The requesting user is not authorized to get the registries
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
An internal server error object
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
The server is temporarily unavailable
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
curl -H 'Authorization: <value>' https://{api_host}/v1/registries