Skip to content
NebulaCtrldocs
HTTP APIEndpoints

Registry

Resolve an image reference to an immutable digest. Each operation lists its method and path, parameters, request body, responses and an example call.

POST/api/v1/registry/resolve

Authorization

AuthorizationBearer <token>

An API token, sent as Authorization: Bearer <token>. A token belongs to one organization and has the role it was created with, so it needs no X-Nebula-Organization header; if you send one, it must name the token's organization.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/api/v1/registry/resolve" \  -H "Content-Type: application/json" \  -d '{    "reference": "ghcr.io/acme/api:1.4.0"  }'
{  "$schema": "https://example.com/ResolveOutputBody.json",  "imageRef": "string",  "platform": "string",  "resolvedAt": "2019-08-24T14:15:22Z"}