APIs related to the Container Registry product.
Return container registry user's authentication credentials.
{- "username": "e3d49354-35d7-4565-b634-65d8b86aa594",
- "password": "62kWa168QL!d4IVwN6wTfTYFv63=Sc1D",
- "email": "janedoe@email.com"
}Creates a container registry in Magalu Cloud.
| name required | string A unique, global name for the container registry. It must be written in lowercase letters and consists only of numbers and letters, up to a limit of 63 characters. |
| proxy_cache_id | string Default: "" Proxy Cache UUID. |
{- "name": "cool_registry",
- "proxy_cache_id": "ef376048-a0f7-446c-826b-1d5cb3e5a5b0"
}{- "id": "0c6bbd87-881a-4bf8-b3f6-4ff3ceacb42c",
- "name": "cool_registry"
}List user's container registries.
| _limit | integer (Limit) >= 1 Limit |
| _offset | integer >= 0 Offset |
| _sort | string(^[\w-]+:(asc|desc)(,[\w-]+:(asc|desc))*)?$ Default: "created_at:asc" Fields to use as reference to sort. |
| name | string Name |
{- "results": [
- {
- "id": "0c6bbd87-881a-4bf8-b3f6-4ff3ceacb42c",
- "name": "cool_registry",
- "storage_usage_bytes": 12345,
- "created_at": "2024-05-15T19:56:47Z",
- "updated_at": "2024-05-15T19:56:47Z",
- "proxy_cache_id": "3a1b8f76-1238-41d8-946d-b69f231d91e4"
}
], - "meta": {
- "page": {
- "count": 50,
- "limit": 50,
- "offset": 0,
- "total": 100
}
}
}Show detailed information about the user's container registry.
| registry_id required | string <uuid> Container Registry's UUID. |
{- "id": "0c6bbd87-881a-4bf8-b3f6-4ff3ceacb42c",
- "name": "cool_registry",
- "storage_usage_bytes": 12345,
- "created_at": "2024-05-15T19:56:47Z",
- "updated_at": "2024-05-15T19:56:47Z",
- "proxy_cache_id": "3a1b8f76-1238-41d8-946d-b69f231d91e4"
}Delete a container registry by uuid.
| registry_id required | string <uuid> Container Registry's UUID. |
{- "slug": "bad_request",
- "message": "invalid param",
- "detail": { }
}List all user's repositories in the container registry.
| registry_id required | string <uuid> Container Registry's UUID. |
| _limit | integer (Limit) >= 1 Limit |
| _offset | integer >= 0 Offset |
| _sort | string(^[\w-]+:(asc|desc)(,[\w-]+:(asc|desc))*)?$ Default: "created_at:desc" Fields to use as reference to sort. |
| name | string Used to filter repositories in response |
{- "goal": {
- "total": 1
}, - "results": [
- {
- "id": "ef376048-a0f7-446c-826b-1d5cb3e5a5b0",
- "registry_name": "cool_registry",
- "name": "alpine",
- "image_count": 2,
- "created_at": "2024-05-15T19:56:47Z",
- "updated_at": "2024-05-15T19:56:47Z"
}
], - "meta": {
- "page": {
- "count": 50,
- "limit": 50,
- "offset": 0,
- "total": 100
}
}
}Return detailed repository's information filtered by id.
| registry_id required | string <uuid> Container Registry's UUID. |
| repository_id required | string <uuid> Repository's UUID. |
{- "id": "ef376048-a0f7-446c-826b-1d5cb3e5a5b0",
- "registry_name": "cool_registry",
- "name": "alpine",
- "image_count": 2,
- "created_at": "2024-05-15T19:56:47Z",
- "updated_at": "2024-05-15T19:56:47Z"
}Delete a repository by id.
| registry_id required | string <uuid> Container Registry's UUID. |
| repository_id required | string <uuid> Repository's UUID. |
{- "slug": "bad_request",
- "message": "invalid param",
- "detail": { }
}List all images in container registry repository
| registry_id required | string <uuid> Container Registry's UUID. |
| repository_id required | string <uuid> Repository's UUID. |
| _limit | integer (Limit) >= 1 Limit |
| _offset | integer >= 0 Offset |
| _sort | string(^[\w-]+:(asc|desc)(,[\w-]+:(asc|desc))*)?$ Default: "pushed_at:desc" Fields to use as reference to sort. |
| expand | Array of strings You can get more detailed info about: ['tags_details', 'extra_attr', 'manifest_media_type', 'media_type'] |
| name | string Used to filter images in response |
{- "results": [
- {
- "digest": "sha256:aef9ff594b36575be6248901a4e5a9bad031f3e0fd42c33a6d2bd501dde5e955",
- "size_bytes": 3552429,
- "pushed_at": "2024-05-15T19:56:47Z",
- "pulled_at": "2024-05-15T19:56:47Z",
- "tags": [
- "latest"
], - "manifest_media_type": "application/vnd.docker.distribution.manifest.v2+json",
- "media_type": "application/vnd.docker.container.image.v1+json",
- "tags_details": [
- {
- "name": "latest",
- "pushed_at": "2024-05-15T19:56:47Z",
- "pulled_at": "2024-05-15T19:56:47Z",
- "signed": false
}
], - "extra_attr": { }
}
], - "meta": {
- "page": {
- "count": 50,
- "limit": 50,
- "offset": 0,
- "total": 100
}
}
}Delete repository image by digest or tag
| registry_id required | string <uuid> Container Registry's UUID. |
| repository_id required | string <uuid> Repository's UUID. |
| digest_or_tag required | string Digest or tag of an image |
{- "slug": "bad_request",
- "message": "invalid param",
- "detail": { }
}Show detailed information about the image.
| registry_id required | string <uuid> Container Registry's UUID. |
| repository_id required | string <uuid> Repository's UUID. |
| digest_or_tag required | string Digest or tag of an image. |
{- "digest": "sha256:aef9ff594b36575be6248901a4e5a9bad031f3e0fd42c33a6d2bd501dde5e955",
- "size_bytes": 3552429,
- "pushed_at": "2024-05-15T19:56:47Z",
- "pulled_at": "2024-05-15T19:56:47Z",
- "tags": [
- "latest"
], - "manifest_media_type": "application/vnd.docker.distribution.manifest.v2+json",
- "media_type": "application/vnd.docker.container.image.v1+json",
- "tags_details": [
- {
- "name": "latest",
- "pushed_at": "2024-05-15T19:56:47Z",
- "pulled_at": "2024-05-15T19:56:47Z",
- "signed": false
}
], - "extra_attr": { }
}Creates a proxy cache in Magalu Cloud.
| name required | string A unique name for each tenant, used for the proxy-cache. It must be written in lowercase letters and consists only of numbers and letters, up to a limit of 63 characters. |
| provider required | string A provider identifier string. Available providers can be checked through mcr-api or mgccli. |
| url required | string An Endpoint URL for the proxied registry. Example URL for available providers can be checked through mcr-api or mgccli. |
| access_key | string Default: "" A string consistent with provider access_id. |
| access_secret | string Default: "" A string consistent with provider access_secret. |
| description | string Default: "" A string. |
{- "name": "cool_registry_proxy",
- "provider": "docker-hub",
- "access_key": "example-access-key",
- "access_secret": "example-access-secret",
- "description": "cool_description"
}{- "id": "0c6bbd87-881a-4bf8-b3f6-4ff3ceacb42c",
- "name": "cool_registry_proxy"
}List user's proxy caches.
| _limit | integer (Limit) >= 1 Limit |
| _offset | integer >= 0 Offset |
| _sort | string(^[\w-]+:(asc|desc)(,[\w-]+:(asc|desc))*)?$ Default: "created_at:asc" Fields to use as reference to sort. |
{- "results": [
- {
- "id": "0c6bbd87-881a-4bf8-b3f6-4ff3ceacb42c",
- "name": "cool_proxy",
- "provider": "docker-hub",
- "created_at": "2024-05-15T19:56:47Z",
- "updated_at": "2024-05-15T19:56:47Z",
- "description": "Proxy cache for Docker Hub"
}
], - "meta": {
- "page": {
- "count": 50,
- "limit": 50,
- "offset": 0,
- "total": 100
}
}
}Get a proxycache by uuid.
| proxy_cache_id required | string <uuid> Proxy cache's UUID. |
{- "id": "0c6bbd87-881a-4bf8-b3f6-4ff3ceacb42c",
- "name": "cool_proxy",
- "provider": "docker-hub",
- "created_at": "2024-05-15T19:56:47Z",
- "updated_at": "2024-05-15T19:56:47Z",
- "description": "Proxy cache for Docker Hub"
}Update a proxycache by uuid.
| proxy_cache_id required | string <uuid> Proxy cache's UUID. |
| name | string Default: "" A unique name for each tenant, used for the proxy-cache. It must be written in lowercase letters and consists only of numbers and letters, up to a limit of 63 characters. |
| url | string Default: "" An Endpoint URL for the proxied registry. Example URL for available providers can be checked through mcr-api or mgccli. |
| access_key | string Default: "" A string consistent with provider access_id. |
| access_secret | string Default: "" A string consistent with provider access_secret. |
| description | string Default: "" A string. |
{- "name": "updated_cool_registry_proxy",
- "access_key": "example-access-key",
- "access_secret": "example-access-secret",
- "description": "cool_description"
}{- "id": "0c6bbd87-881a-4bf8-b3f6-4ff3ceacb42c",
- "name": "cool_proxy",
- "provider": "docker-hub",
- "created_at": "2024-05-15T19:56:47Z",
- "updated_at": "2024-05-15T19:56:47Z",
- "description": "Proxy cache for Docker Hub"
}Delete a proxycache by uuid.
| proxy_cache_id required | string <uuid> Proxy cache's UUID. |
{- "slug": "bad_request",
- "message": "invalid param",
- "detail": { }
}Validates the provided credentials and endpoint information for a remote registry used in a proxy cache configuration. This endpoint does not persist any data — it only tests if the given credentials allow access to the target registry.
| provider required | string Type of the remote registry (e.g., harbor, dockerhub) |
| url required | string Endpoint URL of the remote registry |
| access_key required | string Access key or username for authentication |
| access_secret required | string Secret or password for authentication |
{- "provider": "docker-hub",
- "credential_type": "basic",
- "access_key": "my_username",
- "access_secret": "my_password"
}{- "status": "valid",
- "message": "Proxy cache credentials are valid"
}Verifies and returns the current connection status of a configured proxy cache, including validation of credentials and endpoint accessibility.
| proxy_cache_id required | string <uuid> Example: 123e4567-e89b-12d3-a456-426614174000 Unique identifier of the proxy cache configuration |
{- "status": "connected",
- "message": "Proxy cache configuration is active."
}