Content manifest#
Stores a content manifest
image
| ContentManifestImage
Associated container image.
incompleteness_reasons
| List[ContentManifestIncompletenessReason]
Reasons for manifest incompleteness.
org_id
| Integer read-only
Red Hat Org ID / account_id from Red Hat SSO. Also corresponds to company_org_id in Red Hat Connect.
_id
| ObjectID read-only
MongoDB unique _id
creation_date
| DateTime read-only
The date when the entry was created. Value is created automatically on creation.
last_update_date
| DateTime read-only
The date when the entry was last updated.
image._id
- Fields
image._id: ASC
- Parameters
unique: True
sparse: True
- Description
- Index for effective filtering of contentManifests by image._id field.
edges.components
| List[Content Manifest Component]
Components associated with the manifest.
Parent arguments: [‘_id’]
Example queries
{
find_content_manifests(sort_by: [{ field: "creation_date", order: DESC }], page: 0, page_size: 50) {
error {
detail
status
}
total # omit for better performance
page_size
page
data {
_id
edges {
components(page_size: 5) {
error {
status
detail
}
total # omit for better performance
page_size
page
data {
_id
}
}
}
}
}
}
{
get_content_manifest(id: "6304c560cbb2b2d2d4053b8e") {
error {
detail
status
}
data {
_id
edges {
components(page_size: 5) {
error {
status
detail
}
total # omit for better performance
page_size
page
data {
_id
}
}
}
}
}
}
edges.image
| Container Image
An image associated with the manifest.
Parent arguments: [‘image’, ‘_id’]
Uses GQL query: get_image
Example queries
{
find_content_manifests(sort_by: [{ field: "creation_date", order: DESC }], page: 0, page_size: 50) {
error {
detail
status
}
total # omit for better performance
page_size
page
data {
_id
edges {
image {
error {
status
detail
}
data {
_id
}
}
}
}
}
}
{
get_content_manifest(id: "6304c560cbb2b2d2d4053b8e") {
error {
detail
status
}
data {
_id
edges {
image {
error {
status
detail
}
data {
_id
}
}
}
}
}
}