Skip to content

Container Registry API

This page documents the client wrapper functions and raw HTTP interface for the Container Registry segment of the Utho Cloud API.

Endpoints

GET `/registry/projects`

Summary: Container Registry List

Responses

Status Description
200 Successful response

Example (CLI)

# Using the generic call command
utho call GET /registry/projects -k $CLOUD_API_KEY

Example (TypeScript)

import { ApiClient } from 'utho-cdk';
const client = new ApiClient({ baseUrl: "https://api.utho.com/v2", apiKey: process.env.CLOUD_API_KEY });
const res = await client.request({ method: 'GET', path: '/registry/projects' });
console.log(res);

GET `/registry`

Summary: Registry Credentials

Responses

Status Description
200 Successful response

Example (CLI)

# Using the generic call command
utho call GET /registry -k $CLOUD_API_KEY

Example (TypeScript)

import { ApiClient } from 'utho-cdk';
const client = new ApiClient({ baseUrl: "https://api.utho.com/v2", apiKey: process.env.CLOUD_API_KEY });
const res = await client.request({ method: 'GET', path: '/registry' });
console.log(res);

POST `/registry`

Summary: Create Container Registry

Request Body

  • application/json

Responses

Status Description
200 Successful response

Example (CLI)

# Using the generic call command
utho call POST /registry -k $CLOUD_API_KEY

Example (TypeScript)

import { ApiClient } from 'utho-cdk';
const client = new ApiClient({ baseUrl: "https://api.utho.com/v2", apiKey: process.env.CLOUD_API_KEY });
const res = await client.request({ method: 'POST', path: '/registry' });
console.log(res);

DELETE `/registry/project/{registry-name}`

Summary: Destroy Conainer Registry

Parameters

Name In Type Required Description
registry-name path string yes

Responses

Status Description
200 Successful response

Example (CLI)

# Using the generic call command
utho call DELETE /registry/project/{registry-name} -k $CLOUD_API_KEY

Example (TypeScript)

import { ApiClient } from 'utho-cdk';
const client = new ApiClient({ baseUrl: "https://api.utho.com/v2", apiKey: process.env.CLOUD_API_KEY });
const res = await client.request({ method: 'DELETE', path: '/registry/project/{registry-name}' });
console.log(res);