OciRepo
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.
type OciRepo {
id: ID!
name: OciRepoName!
reference: String!
artifactType: String!
attributes: Map!
effectiveAttributes: Map!
createdAt: DateTime!
updatedAt: DateTime!
description: String
icon: String
sourceUrl: String
readme: String
changelog: String
releaseChannels(
filter: OciRepoReleaseChannelsFilter
sort: OciRepoReleaseChannelsSort
cursor: Cursor
): OciRepoReleaseChannelsPage
tags(
filter: OciRepoTagsFilter
sort: OciRepoTagsSort
cursor: Cursor
): OciRepoTagsPage
grants(
cursor: Cursor
): GrantsPage
}
Fieldsโ
OciRepo.idย โย ID! non-null scalar {#id}โ
OciRepo.nameย โย OciRepoName! non-null scalar {#name}โ
Repository name, unique within your organization (e.g., aws-aurora-postgres).
OciRepo.referenceย โย String! non-null scalar {#reference}โ
The bare OCI reference
for this repository: <registry>/<org>/<repo> (for example,
api.massdriver.cloud/acme/aws-aurora-postgres).
Append :<tag> or @<digest> to address a specific manifest and use the
result directly with oras, docker, or any OCI-compliant client:
oras pull api.massdriver.cloud/acme/aws-aurora-postgres:1.2.3
OciRepo.artifactTypeย โย String! non-null scalar {#artifact-type}โ
The OCI artifact type
stored in this repository โ application/vnd.massdriver.bundle.v1+json or
application/vnd.massdriver.resource-type.v1+json.
OciRepo.attributesย โย Map! non-null scalar {#attributes}โ
Key-value attributes assigned directly to this repository, used by ABAC
policies. Reserved keys starting with md- are auto-injected by the system
and excluded from this map โ see effectiveAttributes for the merged view.
OciRepo.effectiveAttributesย โย Map! non-null scalar {#effective-attributes}โ
The full set of attributes that ABAC policy evaluation sees for this
repository โ your user attributes plus auto-injected md-* system
attributes (today: md-id, md-repo).
OciRepo.createdAtย โย DateTime! non-null scalar {#created-at}โ
Timestamp when this repository was created (UTC).
OciRepo.updatedAtย โย DateTime! non-null scalar {#updated-at}โ
Timestamp when this repository was last modified (UTC).
OciRepo.descriptionย โย String scalar {#description}โ
Short summary of what this repository provisions, taken from the latest
published release. For a resource-type repository it is the schema
description of the type's newest published version. null when the
repository has no releases yet or the author omitted the description.
OciRepo.iconย โย String scalar {#icon}โ
URL to this repository's display icon, or null if it has none.
For a bundle repository the URL is authenticated and serves the SVG
packaged with its latest release โ callers must have an active browser
session or valid API credentials for the owning organization. Embedding it in
an <img> tag from the web UI works because the browser sends the session
cookie automatically; programmatic clients must include an Authorization
header.
For a resource-type repository it is the icon URL declared by the type's newest published version.
OciRepo.sourceUrlย โย String scalar {#source-url}โ
URL of the source code this repository is published from (for example, a GitHub link), when the author provides one. Taken from the latest release.
OciRepo.readmeย โย String scalar {#readme}โ
The README for this repository, in markdown โ taken from the latest
stable release. null if no release has shipped a README. To get a
specific version's README, query that tag's readme field, or the
bundle(id: "name@version") { readme } field.
OciRepo.changelogย โย String scalar {#changelog}โ
The changelog for this repository, in markdown โ taken from the latest
stable release. null if no release has shipped a changelog. To get a
specific version's changelog, query that tag's changelog field, or
the bundle(id: "name@version") { changelog } field.
OciRepo.releaseChannelsย โย OciRepoReleaseChannelsPage object {#release-channels}โ
Paginated list of release channels for this repository.
Each channel is a version constraint that auto-resolves to the latest matching
tag. Use the channel filter to show only stable or only development channels.
OciRepo.releaseChannels.filterย โย OciRepoReleaseChannelsFilter input {#oci-repo-release-channels-filter}โ
Filter by stable or development channels.
OciRepo.releaseChannels.sortย โย OciRepoReleaseChannelsSort input {#oci-repo-release-channels-sort}โ
Sort order for channels. Defaults to name ascending.
OciRepo.releaseChannels.cursorย โย Cursor input {#oci-repo-release-channels-cursor}โ
Cursor from a previous page's cursor.next or cursor.previous.
OciRepo.tagsย โย OciRepoTagsPage object {#tags}โ
Paginated list of published version tags in this repository.
Each tag represents a single immutable bundle release. Defaults to newest
version first (version descending).
OciRepo.tags.filterย โย OciRepoTagsFilter input {#oci-repo-tags-filter}โ
Narrow results to a specific version or channel.
OciRepo.tags.sortย โย OciRepoTagsSort input {#oci-repo-tags-sort}โ
Sort order for tags. Defaults to version descending (newest first).
OciRepo.tags.cursorย โย Cursor input {#oci-repo-tags-cursor}โ
Cursor from a previous page's cursor.next or cursor.previous.
OciRepo.grantsย โย GrantsPage object {#grants}โ
Grants the publisher has authored on this repository โ what it is shared as, and which recipient projects qualify. If you can see this repository you can see all of its grants; grants are publisher-side metadata, not visibility-gated themselves.
OciRepo.grants.cursorย โย Cursor input {#oci-repo-grants-cursor}โ
Cursor from a previous page's cursor.next or cursor.previous.
Returned Byโ
ociRepo query
Member Ofโ
Component objectย โย OciRepoEvent objectย โย OciRepoPayload objectย โย OciReposPage object
Implemented Byโ
GrantSource union