@@ -140,11 +140,11 @@ Suppose you want to find the definition of the `addClass` function inside
140140[ jQuery] ( https://github.com/jquery/jquery ) . Your query would look something like
141141this:
142142
143- https://api.github.com/search/code?q=addClass+in:file+language:js+@ jquery/jquery
143+ https://api.github.com/search/code?q=addClass+in:file+language:js+repo: jquery/jquery
144144
145145Here, we're searching for the keyword ` addClass ` within a file's contents. We're
146146making sure that we're only looking in files where the language is JavaScript.
147- And we're scoping the search to the ` @ jquery/jquery` repository.
147+ And we're scoping the search to the ` repo: jquery/jquery` repository.
148148
149149<%= headers 200 %>
150150<%= json(: code_search_v3_results ) %>
@@ -158,7 +158,7 @@ media type in your Accept header. For example, via curl, the above query would
158158look like this:
159159
160160 curl -H 'Accept: application/vnd.github.v3.text-match+json' \
161- https://api.github.com/search/code?q=addClass+in:file+language:js+@ jquery/jquery
161+ https://api.github.com/search/code?q=addClass+in:file+language:js+repo: jquery/jquery
162162
163163This produces the same JSON payload as above, with an extra key called
164164` text_matches ` , an array of objects. These objects provide information such as
@@ -199,11 +199,10 @@ The `q` search term can also contain any combination of the supported issue sear
199199 * [ ` mentions ` ] ( https://help.github.com/articles/searching-issues#mentions )
200200 Finds issues that mention a certain user.
201201 * [ ` commenter ` ] ( https://help.github.com/articles/searching-issues#commenter )
202- Finds issues with comments by a certain user.
202+ Finds issues that a certain user commented on .
203203 * [ ` involves ` ] ( https://help.github.com/articles/searching-issues#involves )
204- Finds issues with involving a certain user. This qualifier finds issues that were
205- either created by a certain user, assigned to that user, mention that user,
206- or were commented on by that user.
204+ Finds issues that were either created by a certain user, assigned to that
205+ user, mention that user, or were commented on by that user.
207206 * [ ` state ` ] ( https://help.github.com/articles/searching-issues#state )
208207 Filter issues based on whether they're open or closed.
209208 * [ ` labels ` ] ( https://help.github.com/articles/searching-issues#labels )
0 commit comments