Skip to main content
Skip to content

GitHub Apps

Справочная документация по типам схем GraphQL в категории приложений GitHub.

Queries

marketplaceCategories

Query

Get alphabetically sorted list of Marketplace categories.

Тип: [MarketplaceCategory!]!

Аргументы для marketplaceCategories

Имя.Description

excludeEmpty (Boolean)

Exclude categories with no listings.

excludeSubcategories (Boolean)

Returns top level categories only, excluding any subcategories.

includeCategories ([String!])

Return only the specified categories.

marketplaceCategory

Query

Look up a Marketplace category by its slug.

Тип: MarketplaceCategory

Аргументы для marketplaceCategory

Имя.Description

slug (String!)

The URL slug of the category.

useTopicAliases (Boolean)

Also check topic aliases for the category slug.

marketplaceListing

Query

Look up a single Marketplace listing.

Тип: MarketplaceListing

Аргументы для marketplaceListing

Имя.Description

slug (String!)

Select the listing that matches this slug. It's the short name of the listing used in its URL.

marketplaceListings

Query

Look up Marketplace listings.

Тип: MarketplaceListingConnection!

Аргументы для marketplaceListings

Имя.Description

adminId (ID)

Select listings that can be administered by the specified user.

after (String)

Returns the elements in the list that come after the specified cursor.

allStates (Boolean)

Select listings visible to the viewer even if they are not approved. If omitted or false, only approved listings will be returned.

before (String)

Returns the elements in the list that come before the specified cursor.

categorySlug (String)

Select only listings with the given category.

first (Int)

Returns the first n elements from the list.

last (Int)

Returns the last n elements from the list.

organizationId (ID)

Select listings for products owned by the specified organization.

primaryCategoryOnly (Boolean)

Select only listings where the primary category matches the given category slug.

The default value is false.

slugs ([String])

Select the listings with these slugs, if they are visible to the viewer.

useTopicAliases (Boolean)

Also check topic aliases for the category slug.