forked from yql/yql-tables
-
Notifications
You must be signed in to change notification settings - Fork 30
/
museumoflondon.laarcGetPubs.xml
26 lines (26 loc) · 1.19 KB
/
museumoflondon.laarcGetPubs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false">
<meta>
<author>Daniel Pett</author>
<description>Query Museum of London LAARC archive for regular finds</description>
<documentationURL>http://www.museumoflondon.org.uk/laarcWS/v1/doc/methods.aspx</documentationURL>
<sampleQuery description="Search for publication by id BIG82">select * from {table} where search_type='bycode' and terms='BIG82';</sampleQuery>
<sampleQuery description="Search for publication by key 1716">select * from {table} where search_type='bycode' and terms='1716';</sampleQuery>
</meta>
<bindings>
<select itemPath="SearchResult.ResultSet.Publication" produces="XML">
<urls>
<url>http://www.museumoflondon.org.uk/laarcWS/v1/rest?op=GetPubs</url>
</urls>
<paging model="page">
<start id="pageno" default="1" />
<pagesize id="perpage" max="50" />
<total default="15" />
</paging>
<inputs>
<key id="search_type" type="xs:string" paramType="query" required="true" />
<key id="terms" type="xs:string" paramType="query" required="false" />
</inputs>
</select>
</bindings>
</table>