Skip to main content

List Container Registries

Retrieve all container registry configurations for your company.

Endpoint

GET /{companyId}/containerRegistryConfig

Authentication

Required: Yes (Session or Bearer Token with 2FA)

Query Parameters

None

Response

Success Response (200 OK)

[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"companyIdRef": "770e8400-e29b-41d4-a716-446655440002",
"name": "Production ACR",
"url": "prod.azurecr.io",
"isActive": true,
"isDeleted": false,
"createdAt": "2024-11-26T10:00:00Z",
"modifiedBy": "user-123"
},
{
"id": "660e8400-e29b-41d4-a716-446655440001",
"companyIdRef": "770e8400-e29b-41d4-a716-446655440002",
"name": "GitHub Packages",
"url": "ghcr.io",
"isActive": true,
"isDeleted": false,
"createdAt": "2024-11-25T15:30:00Z",
"modifiedBy": "user-456"
}
]

Security Note: Credentials (dockerConfig) are never returned in list responses.

Error Responses

Status CodeDescription
401Unauthorized - Invalid or missing authentication
500Internal Server Error

Examples

cURL

curl -X GET "https://api.thevenin.cloud/{companyId}/containerRegistryConfig" \
-H "Authorization: Bearer tvn_your_api_token_here"

Response Example

[
{
"id": "reg-123",
"name": "Azure Production",
"url": "myprod.azurecr.io",
"isActive": true,
"createdAt": "2024-11-20T10:00:00Z"
},
{
"id": "reg-456",
"name": "GitHub Private",
"url": "ghcr.io",
"isActive": true,
"createdAt": "2024-11-22T14:30:00Z"
},
{
"id": "reg-789",
"name": "Staging Registry",
"url": "staging.azurecr.io",
"isActive": false,
"createdAt": "2024-11-15T09:00:00Z"
}
]