Сведения о запросах
Каждая схема GraphQL имеет корневой тип как для запросов, так и для изменений. Тип запроса определяет операции GraphQL, которые извлекают данные с сервера.
Дополнительные сведения см. в разделе Формирование вызовов с помощью GraphQL.
Note
Для запросов GitHub App, выполненных с маркерами доступа пользователей, следует использовать отдельные запросы для проблем и запросов на вытягивание. Например, используйте фильтры is:issue
или is:pull-request
и их эквиваленты. Использование соединения search
для возврата сочетания проблем и запросов на вытягивание в одном запросе приведет к пустому набору узлов.
codeOfConduct
Look up a code of conduct by its key.
Тип: CodeOfConduct
Аргументы для codeOfConduct
Имя. | Описание |
---|---|
| The code of conduct's key. |
enterpriseAdministratorInvitation
Look up a pending enterprise administrator invitation by invitee, enterprise and role.
Аргументы для enterpriseAdministratorInvitation
Имя. | Описание |
---|---|
| The slug of the enterprise the user was invited to join. |
| The role for the enterprise member invitation. |
| The login of the user invited to join the enterprise. |
enterpriseAdministratorInvitationByToken
Look up a pending enterprise administrator invitation by invitation token.
Аргументы для enterpriseAdministratorInvitationByToken
Имя. | Описание |
---|---|
| The invitation token sent with the invitation email. |
enterpriseMemberInvitation
Look up a pending enterprise unaffiliated member invitation by invitee and enterprise.
enterpriseMemberInvitationByToken
Look up a pending enterprise unaffiliated member invitation by invitation token.
Аргументы для enterpriseMemberInvitationByToken
Имя. | Описание |
---|---|
| The invitation token sent with the invitation email. |
license
Look up an open source license by its key.
marketplaceListing
Look up a single Marketplace listing.
Тип: MarketplaceListing
Аргументы для marketplaceListing
Имя. | Описание |
---|---|
| Select the listing that matches this slug. It's the short name of the listing used in its URL. |
marketplaceListings
Look up Marketplace listings.
Аргументы для marketplaceListings
Имя. | Описание |
---|---|
| Select listings that can be administered by the specified user. |
| Returns the elements in the list that come after the specified cursor. |
| Select listings visible to the viewer even if they are not approved. If omitted or false, only approved listings will be returned. |
| Returns the elements in the list that come before the specified cursor. |
| Select only listings with the given category. |
|