Skip to main content

createOciRepo

form schema

Create a new (empty) OCI repository in your organization's catalog.

The id becomes the repository's permanent name and cannot be changed after creation. Repositories must exist before any version can be published — pushing to a non-existent repository returns 404.

createOciRepo(
organizationId: ID!
input: CreateOciRepoInput!
): OciRepoPayload

Form Schema

This mutation supports dynamic form generation using JSON Schema.

Loading schema...

Arguments

createOciRepo.organizationId ● ID! non-null scalar {#organization-id}

Your organization's unique identifier.

createOciRepo.input ● CreateOciRepoInput! non-null input {#input}

Create a new OCI repository in your organization's catalog. Repositories must exist before any version can be published to them.

Type

OciRepoPayload object