Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb303be3

Browse files
committed
Update search.md
quote URLs containing ampersands in curl examples
1 parent56ead20 commitb303be3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎content/v3/search.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ media type in your Accept header. For example, via curl, the above query would
105105
look like this:
106106

107107
curl -H 'Accept: application/vnd.github.v3.text-match+json' \
108-
https://api.github.com/search/repositories?q=tetris+language:assembly&sort=stars&order=desc
108+
'https://api.github.com/search/repositories?q=tetris+language:assembly&sort=stars&order=desc'
109109

110110
This produces the same JSON payload as above, with an extra key called
111111
`text_matches`, an array of objects. These objects provide information such as
@@ -287,7 +287,7 @@ media type in your Accept header. For example, via curl, the above query would
287287
look like this:
288288

289289
curl -H 'Accept: application/vnd.github.v3.text-match+json' \
290-
https://api.github.com/search/issues?q=windows+label:bug+language:python+state:open&sort=created&order=asc
290+
'https://api.github.com/search/issues?q=windows+label:bug+language:python+state:open&sort=created&order=asc'
291291

292292
This produces the same JSON payload as above, with an extra key called
293293
`text_matches`, an array of objects. These objects provide information such as
@@ -405,7 +405,7 @@ Using curl, and the [example issue search](#issue-search-example) above, our API
405405
request would look like this:
406406

407407
curl -H 'Accept: application/vnd.github.v3.text-match+json' \
408-
https://api.github.com/search/issues?q=windows+label:bug+language:python+state:open&sort=created&order=asc
408+
'https://api.github.com/search/issues?q=windows+label:bug+language:python+state:open&sort=created&order=asc'
409409

410410
The response will include a`text_matches` array for each search result. In the
411411
JSON below, we have two objects in the`text_matches` array.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp