Github API - Test Config

query search

Perform a search across resources, returning a maximum of 1,000 results.

Arguments
after String

String [scalar]

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

API:
Github GraphQL API

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

before String

String [scalar]

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

API:
Github GraphQL API

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

first Int

Int [scalar]

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

API:
Github GraphQL API

Returns the first n elements from the list.

last Int

Int [scalar]

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

API:
Github GraphQL API

Returns the last n elements from the list.

query String

String [scalar]

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

API:
Github GraphQL API

The search string to look for. GitHub search syntax is supported. For more
information, see "Searching on
GitHub
,"
"Understanding the search syntax,"
and "Sorting search results."

type SearchType

SearchType [enum]

Represents the individual results of a search.

Possible values
DISCUSSION

Returns matching discussions in repositories.

ISSUE

Returns results matching issues in repositories.

REPOSITORY

Returns results matching repositories.

USER

Returns results matching users and organizations on GitHub.

API:
Github GraphQL API

The types of search items to search within.

Returns
SearchResultItemConnection

SearchResultItemConnection [object]

A list of results that matched against a search query. Regardless of the number
of matches, a maximum of 1,000 results will be available across all types,
potentially split across many pages.

Attributes
codeCount Int

The total number of pieces of code that matched the search query. Regardless
of the total number of matches, a maximum of 1,000 results will be available
across all types.

discussionCount Int

The total number of discussions that matched the search query. Regardless of
the total number of matches, a maximum of 1,000 results will be available
across all types.

A list of edges.

issueCount Int

The total number of issues that matched the search query. Regardless of the
total number of matches, a maximum of 1,000 results will be available across all types.

nodes SearchResultItem []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

repositoryCount Int

The total number of repositories that matched the search query. Regardless of
the total number of matches, a maximum of 1,000 results will be available
across all types.

userCount Int

The total number of users that matched the search query. Regardless of the
total number of matches, a maximum of 1,000 results will be available across all types.

wikiCount Int

The total number of wiki pages that matched the search query. Regardless of
the total number of matches, a maximum of 1,000 results will be available
across all types.

API:
Github GraphQL API
API:
Github GraphQL API