Hanzo
OpenapiRegistry

Projects lists the namespaces the caller can see with what each holds: the…

Projects lists the namespaces the caller can see with what each holds: the org's slug, its repository count on the OCI catalog, and its package count on…

GET /v1/registry/projects

Addresshttps://api.hanzo.ai/v1/registry/projects
MethodGET
Operationget_registry_projects
AuthAuthorization: Bearer $HANZO_API_KEY

Projects lists the namespaces the caller can see with what each holds: the org's slug, its repository count on the OCI catalog, and its package count on the npm registry. Today that is exactly one row — the caller's org.

Request

GET /v1/registry/projects takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200registryProjectListok

200 body — 4 fields.

FieldInTypeAlwaysDescription
databodyregistryProject[]Data is the namespaces visible to the caller.
data[].imagesbodyintegerImages is how many of the org's repositories the OCI catalog holds.
data[].packagesbodyintegerPackages is how many of the org's packages the npm registry reports.
data[].projectbodystringProject is the namespace: the org's slug, which prefixes its image names and scopes its npm packages.

Failure carries the platform error shape — see Errors.

Examples

hanzo registry projects

Registry API · All Hanzo APIs · Interactive reference

How is this guide?

On this page