List global OCI registries
const url = 'http://localhost:3000/api/v1/global-registries/oci?name=docker®istryType=GENERIC&authType=NONE&search=hub&limit=20&offset=0';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:3000/api/v1/global-registries/oci?name=docker®istryType=GENERIC&authType=NONE&search=hub&limit=20&offset=0' \ --header 'X-API-Key: <X-API-Key>'Retrieves a list of all global OCI registries. Requires Super Admin privileges.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Example
dockerFilter by name (partial match)
Filter by enabled status
Filter by registry type
Filter by authentication type
Filter by mandatory status
Example
hubSearch across name, URL, and description
Number of items to return
Number of items to skip
Cursor for pagination (registry ID)
Responses
Section titled “ Responses ”OCI registries retrieved successfully
object
List of global OCI registries
object
Registry unique identifier
Unique name for the registry
Description of the registry purpose
Registry URL
Registry type/provider
Authentication type
Whether credentials are configured
Whether to verify TLS certificates
Last health check timestamp
Current health status
Last sync timestamp
Last sync error message
Sync interval in minutes
Whether the registry is enabled
Whether this registry is mandatory for all tenants
Priority in the combined registry list
Explicit repository list used for sync. When non-empty, /v2/_catalog discovery is skipped.
Creation timestamp
Last update timestamp
Total number of registries matching the query
Number of items returned
Number of items skipped
Whether there are more items
Cursor for fetching next page
Example
{ "items": [ { "id": "550e8400-e29b-41d4-a716-446655440000", "name": "docker-hub", "description": "Docker Hub public registry", "url": "https://registry-1.docker.io", "registryType": "GENERIC", "authType": "NONE", "hasCredentials": false, "verifyTls": true, "healthStatus": "healthy", "syncIntervalMinutes": 60, "enabled": true, "mandatory": false, "priority": 0, "repositories": [] } ], "total": 10, "limit": 20, "offset": 0, "hasMore": false, "nextCursor": "550e8400-e29b-41d4-a716-446655440000"}Unauthorized
Forbidden - Super Admin required