Container Vendor

Container Vendor#

Stores information about a Vendor

published | Boolean required read-only

Indicate that the vendor has been published.

allow_hosted_container_registry | Boolean read-only

company_url | URI read-only

URL to the vendor’s main website.

contact | ContainerVendorContact read-only

General contact information for the vendor, to be displayed on the vendor page on RHCC.

description | String read-only

mdm_id | String read-only

MDM (Master Data Management) identifier.

drupal_company_id | Integer read-only

Company node ID from Red Hat Connect.

industries | List[String] read-only

The industry / vertical the vendor belongs to.

label | String

String parameters

min_length | 1 max_length | 255

label_locked | Boolean read-only

A flag that determines if vendor label can be changed.

Warning

The field was deprecated and it is no longer used to “lock” vendor.label. The vendor label field was originally used as a namespace for container repositories. The namespace is now managed by certification projects using dedicated field certProject.container.repository_namespace.

logo_url | URI read-only

name | String read-only

String parameters

min_length | 1 max_length | 255

object_type | String read-only

String parameters

constant | containerVendor

registry_urls | List[String] read-only

rss_feed_url | URI nullableread-only

RSS feed for vendor.

service_account_token | String nullableread-only

String parameters

min_length | 1

Token for outbound namespace for pulling published marketplace images.

social_media_links | List[ContainerVendorSocialMediaLinks] read-only

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.

product_listings | RESTGetProductListingsForVendorByOrgId

URI to this vendor’s product listings.

repositories | RESTGetRepositoriesForVendorLabel

URI to this vendor’s repositories.

containerVendor_org_id

Fields
  • org_id: ASC

Parameters
  • unique: True

Description
Index for containerVendor collection based on the org_id field

label_1

Fields
  • label: ASC

Parameters
  • unique: True

  • sparse: True

Description
Index for containerVendor collection based on the label field.

edges.product_listings_org_id | List[Product Listing]

Edge to related product listings by org_id.

Parent arguments: [‘org_id’]

Uses GQL query: find_vendor_product_listings_by_org_id

Example queries
{
    get_vendor(id: "6304c560cbb2b2d2d4053b8e") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                product_listings_org_id {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_vendor_by_org_id(org_id: 42) {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                product_listings_org_id {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_vendor_by_label(label: "example") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                product_listings_org_id {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_repository_vendor_by_registry_path(registry: "example", repository: "example") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                product_listings_org_id {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}

edges.product_listings_label | List[Product Listing]

Edge to related product listings by label.

Parent arguments: [‘label’]

Uses GQL query: find_vendor_product_listings_by_label

Example queries
{
    get_vendor(id: "6304c560cbb2b2d2d4053b8e") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                product_listings_label {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_vendor_by_org_id(org_id: 42) {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                product_listings_label {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_vendor_by_label(label: "example") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                product_listings_label {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_repository_vendor_by_registry_path(registry: "example", repository: "example") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                product_listings_label {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}

edges.certification_projects | List[Certification Project]

Edge to related certification projects by org_id.

Parent arguments: [‘org_id’]

Uses GQL query: find_vendor_certification_projects_by_org_id

Example queries
{
    get_vendor(id: "6304c560cbb2b2d2d4053b8e") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                certification_projects {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_vendor_by_org_id(org_id: 42) {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                certification_projects {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_vendor_by_label(label: "example") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                certification_projects {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_repository_vendor_by_registry_path(registry: "example", repository: "example") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                certification_projects {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}

edges.repositories | List[Container Repository]

Edge to related repositories.

Parent arguments: [‘_id’]

Uses GQL query: find_repositories_by_vendor_id

Example queries
{
    get_vendor(id: "6304c560cbb2b2d2d4053b8e") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                repositories {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_vendor_by_org_id(org_id: 42) {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                repositories {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_vendor_by_label(label: "example") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                repositories {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}
{
    get_repository_vendor_by_registry_path(registry: "example", repository: "example") {
        error {
            detail
            status
        }
        data {
            _id
            edges {
                repositories {
                    error {
                        status
                        detail
                    }
                    data {
                        _id
                    }
                }
            }
        }
    }
}