1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<section version="5.0" xmlns="http://docbook.org/ns/docbook"
|
3
|
xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sec_http-pubs" xreflabel="Search HTTP API for metadata about publications">
|
4
|
<title>Publications</title>
|
5
|
<para>Endpoint: <code>http://api.openaire.eu/search/publications</code></para>
|
6
|
<!-- TODO: uncomment when the API version feature is implemented -->
|
7
|
<!-- <para>Endpoint to a specific version of the API: <code>http://api.openaire.eu/search/{API_VERSION}/publications</code></para> -->
|
8
|
|
9
|
<variablelist>
|
10
|
<varlistentry>
|
11
|
<term>sortBy</term>
|
12
|
<listitem>
|
13
|
<para>Select the sorting order: <code>sortBy=field,[ascending|descending]</code></para>
|
14
|
<para>where <code>field</code> is one of: <code>dateofcollection</code>, <code>resultstoragedate</code>, <code>resultstoragedate</code>, <code>resultembargoenddate</code>, <code>resultembargoendyear</code>, <code>resultdateofacceptance</code>, <code>resultacceptanceyear</code></para>
|
15
|
</listitem>
|
16
|
</varlistentry>
|
17
|
<varlistentry>
|
18
|
<term>doi</term>
|
19
|
<listitem>
|
20
|
<para>Gets the publications with the given DOIs, if any. Allowed values: comma separated list of DOIs. Alternatevely, it is possible to repeat the paramater for each requested doi.</para>
|
21
|
<!--<para><code>here goes the sample query</code></para> -->
|
22
|
</listitem>
|
23
|
</varlistentry>
|
24
|
<varlistentry>
|
25
|
<term>openairePublicationID</term>
|
26
|
<listitem>
|
27
|
<para>Gets the publication with the given openaire identifier, if any. Allowed values: comma separated list of openaire identifiers. Alternatevely, it is possible to repeat the paramater for each requested identifier.</para>
|
28
|
<!--<para><code>here goes the sample query</code></para> -->
|
29
|
</listitem>
|
30
|
</varlistentry>
|
31
|
<varlistentry>
|
32
|
<term>fromDateAccepted</term>
|
33
|
<listitem>
|
34
|
<para>Gets the publications whose date of acceptance is greater than or equal the given date. Allowed values: date formatted as <code>YYYY-MM-DD</code>.</para>
|
35
|
<!--<para><code>here goes the sample query</code></para> -->
|
36
|
</listitem>
|
37
|
</varlistentry>
|
38
|
<varlistentry>
|
39
|
<term>toDateAccepted</term>
|
40
|
<listitem>
|
41
|
<para>Gets the publications whose date of acceptance is less than or equal the given date. Allowed values: date formatted as <code>YYYY-MM-DD</code>.</para>
|
42
|
<!--<para><code>here goes the sample query</code></para> -->
|
43
|
</listitem>
|
44
|
</varlistentry>
|
45
|
<varlistentry>
|
46
|
<term>title</term>
|
47
|
<listitem>
|
48
|
<para>Gets the publications whose titles contain the given list of keywords. Allowed values: white-space separated list of keywords.</para>
|
49
|
<!--<para><code>here goes the sample query</code></para> -->
|
50
|
</listitem>
|
51
|
</varlistentry>
|
52
|
<varlistentry>
|
53
|
<term>author</term>
|
54
|
<listitem>
|
55
|
<para>Search for publications by authors. Allowed value is a white-space separated list of names and/or surnames.</para>
|
56
|
<!--<para><code>here goes the sample query</code></para> -->
|
57
|
</listitem>
|
58
|
</varlistentry>
|
59
|
<varlistentry>
|
60
|
<term>openaireAuthorID</term>
|
61
|
<listitem>
|
62
|
<para>Search for publications by openaire author identifier. Allowed values: comma separated list of identifiers. Alternatevely, it is possible to repeat the paramater for each author id. In both cases, author identifiers will form a query with OR semantics.</para>
|
63
|
<!--<para><code>here goes the sample query</code></para> -->
|
64
|
</listitem>
|
65
|
</varlistentry>
|
66
|
<varlistentry>
|
67
|
<term>openaireProviderID</term>
|
68
|
<listitem>
|
69
|
<para>Search for publications by openaire data provider identifier. Allowed values: comma separated list of identifiers. Alternatevely, it is possible to repeat the paramater for each provider id. In both cases, provider identifiers will form a query with OR semantics.</para>
|
70
|
<!--<para><code>here goes the sample query</code></para> -->
|
71
|
</listitem>
|
72
|
</varlistentry>
|
73
|
<varlistentry>
|
74
|
<term>openaireProjectID</term>
|
75
|
<listitem>
|
76
|
<para>Search for publications by openaire project identifier. Allowed values: comma separated list of identifiers. Alternatevely, it is possible to repeat the paramater for each provider id. In both cases, provider identifiers will form a query with OR semantics.</para>
|
77
|
<!--<para><code>here goes the sample query</code></para> -->
|
78
|
</listitem>
|
79
|
</varlistentry>
|
80
|
<varlistentry>
|
81
|
<term>hasProject</term>
|
82
|
<listitem>
|
83
|
<para>Allowed values: <code>true|false</code>. If hasProject is true gets the publications
|
84
|
that have a link to a project. If hasProject is false gets the publications with no links
|
85
|
to projects.</para>
|
86
|
<!--<para><code>here goes the sample query</code></para> -->
|
87
|
</listitem>
|
88
|
</varlistentry>
|
89
|
<varlistentry>
|
90
|
<term>projectID</term>
|
91
|
<listitem>
|
92
|
<para>Search for publications associated to a project with the given grant identifier.</para>
|
93
|
<!--<para><code>here goes the sample query</code></para> -->
|
94
|
</listitem>
|
95
|
</varlistentry>
|
96
|
<varlistentry>
|
97
|
<term>FP7ProjectID</term>
|
98
|
<listitem>
|
99
|
<para>Search for publications associated to a FP7 project with the given grant number. It is equivalent to a query by <code>funder=FP7&projectID=grantID</code></para>
|
100
|
<!--<para><code>here goes the sample query</code></para> -->
|
101
|
</listitem>
|
102
|
</varlistentry>
|
103
|
<varlistentry>
|
104
|
<term>OA</term>
|
105
|
<listitem>
|
106
|
<para>Allowed values: <code>true|false</code>. If OA is true gets Open Access publications.
|
107
|
If OA is false gets the non Open Access publications</para>
|
108
|
<!--<para><code>here goes the sample query</code></para> -->
|
109
|
</listitem>
|
110
|
</varlistentry>
|
111
|
</variablelist>
|
112
|
|
113
|
</section>
|