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
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Make lazy search developers happy#744

Merged
izuzak merged 1 commit intogithub:masterfromwinniehell:patch-1
Mar 30, 2015
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletionscontent/v3/search.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -105,7 +105,7 @@ media type in your Accept header. For example, via curl, the above query would
look like this:

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

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

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

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

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

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

[8]ページ先頭

©2009-2025 Movatter.jp