Skip to main content

OciReposFilter

Filters for narrowing the OCI repositories list.

All filters are combined with AND logic.

input OciReposFilter {
artifactType: String
name: OciRepoNameFilter
createdAt: DatetimeFilter
attributes: [AttributeFilter!]
search: String
projectId: ID
viewer: Boolean
}

Fields​

OciReposFilter.artifactType ● String scalar {#artifact-type}​

Filter by OCI artifact media type. Supported types are application/vnd.massdriver.bundle.v1+json and application/vnd.massdriver.resource-type.v1+json. When omitted, repositories of every artifact type are returned. Passing an unsupported type returns an empty list.

OciReposFilter.name ● OciRepoNameFilter input {#name}​

Filter repositories by name using exact match, prefix, or set membership.

OciReposFilter.createdAt ● DatetimeFilter input {#created-at}​

Match by when the repository was created. Combine gte and lte to select a date range.

OciReposFilter.attributes ● [AttributeFilter!] list input {#attributes}​

Match by the repository's attributes. Repositories are organization-level, so there is no inheritance — only attributes set on the repository itself match, plus md-repo and md-id, which both resolve to the repository name. Each entry targets one attribute key; multiple entries are combined with AND.

Full-text search across the repository name, readme, and changelog. Results are ranked by relevance unless you provide an explicit sort. For terms longer than 3 characters, name-prefix matches are also included. Note: pagination cursors returned by search results use offset-based pagination and are not interchangeable with cursors from non-search queries.

OciReposFilter.projectId ● ID scalar {#project-id}​

Only repositories granted to this project. These are the bundles that can be added to the project. Returns NOT_FOUND when you cannot view the project.

OciReposFilter.viewer ● Boolean scalar {#viewer}​

true returns only repositories your own repo:view group policies match. false returns only repositories you see only through a grant to a project you can view, with no repo:view policy of yours matching them. When omitted, both are returned.

Member Of​

ociRepos query