Skip to main content

ociRepo

Fetch a single OCI repository by name.

Returns the repository along with its nested tags and releaseChannels collections. Returns null with a NOT_FOUND error if the repository does not exist in your organization.

query {
ociRepo(organizationId: "your-org-id", id: "aws-aurora-postgres") {
id
name
artifactType
tags(sort: { field: VERSION, order: DESC }) {
items { tag createdAt }
cursor { next }
}
releaseChannels(filter: { stable: true }) {
items { name tag }
}
}
}
ociRepo(
organizationId: ID!
id: ID!
): OciRepo

Arguments

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

Your organization's unique identifier.

ociRepo.id ● ID! non-null scalar {#id}

The repository name (e.g., aws-aurora-postgres).

Type

OciRepo object

An OCI repository in your organization's bundle catalog.

An OCI repository is the container for all published versions of a single infrastructure-as-code package. It is analogous to a Docker image repository but for Massdriver bundles.

Each repository has a unique name (e.g., aws-aurora-postgres) and contains:

  • Tags -- the individual published versions (1.0.0, 1.1.0, 1.2.3, etc.)
  • Release channels -- auto-resolving version constraints (latest, ~1, ~1.2) that always point to the newest matching tag

To fetch a specific bundle version from a repository, use the bundle query with a BundleId like aws-aurora-postgres@1.2.3 or aws-aurora-postgres@~1.