Skip to content

Commit

Permalink
Merge pull request #21 from inspirehep/explain-pagination-limit
Browse files Browse the repository at this point in the history
Link to 10000 results workaround in #20
  • Loading branch information
michamos authored Dec 20, 2021
2 parents 56223c9 + 7d1453b commit 794ff87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ The following external identifiers can be used:
|`arxiv`|`1207.7214`, `hep-ph/0603175`|to get a literature record given an [arXiv](https://arxiv.org) identifier|
|`orcid`|`0000-0003-3897-046X`|to get an author record given an [ORCID](https://orcid.org) iD|

For example,
For example,
```
https://inspirehep.net/api/orcid/0000-0002-9079-593X
```
Expand Down Expand Up @@ -277,6 +277,8 @@ For example, to get the 50 most cited papers of Edward Witten at once, the follo
https://inspirehep.net/api/literature?sort=mostcited&size=50&q=a E.Witten.1
```

Note that, in addition to the limit of results returned per page, there is currently a technical limitation preventing the retrieval of more than 10000 results for a given search query. The workaround is to break up the single search into several searches having less than 10000 results each. See [this comment](https://github.com/inspirehep/rest-api-doc/issues/20#issuecomment-997932079) for more information.

### Search response

The response for a search is a JSON object with the following keys:
Expand Down

0 comments on commit 794ff87

Please sign in to comment.