Skip to content

Commit 794ff87

Browse files
authored
Merge pull request #21 from inspirehep/explain-pagination-limit
Link to 10000 results workaround in #20
2 parents 56223c9 + 7d1453b commit 794ff87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The following external identifiers can be used:
103103
|`arxiv`|`1207.7214`, `hep-ph/0603175`|to get a literature record given an [arXiv](https://arxiv.org) identifier|
104104
|`orcid`|`0000-0003-3897-046X`|to get an author record given an [ORCID](https://orcid.org) iD|
105105

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

280+
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.
281+
280282
### Search response
281283

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

0 commit comments

Comments
 (0)