Magidoc

search
Query

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

Arguments

#

after

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

before

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

first

Returns the first n elements from the list.

last

Returns the last n elements from the list.

query

Non-null

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

Non-null

The types of search items to search within.

Response

#

Returns SearchResultItemConnection !.

Example

#

    
  

3

    
  

3

    
  

3