API Stability Long-Term

The marketplace() GraphQL query is used to specify marketplace fields.

For more information on packages, see the Packages documentation page.

Syntax

Below is the syntax for the marketplace() query field:

graphql
marketplace: Marketplace!

For this query field, there's no input. However, there are several parameters that may be given. Below is an example of how this query field might be used:

Show:
graphql
query {
  marketplace 
     {categoryGroups 
         {title, categories { id, title} }
    }
}
Example Responses
Show:
json
{
  "data": {
    "marketplace": {
      "categoryGroups": 
        [{"title": "Use Case",
          "categories": 
          [ { "id": "devOps",
              "title": "DevOps" },
            { "id": "secops",
              "title": "SecOps" },
            { "id": "itops",
              "title": "ITOps" } ]
        }]
    }
  }
}

Returned Datatypes

For marketplace(), there's one parameter with some sub-parameters. Below is a list of the parameters with links to the sub-parameters:

Table: Marketplace

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 26, 2024
categoryGroups[MarketplaceCategoryGroup]yes Long-TermGets all categories that can be used to filter search results in the marketplace. See MarketplaceCategoryGroup.