Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 31 lines (31 sloc) 1.625 kB
9ae8479 @portableant Added Digital NZ tables for testing
portableant authored
1 <?xml version="1.0" encoding="UTF-8"?>
2 <table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false">
3 <meta>
4 <author>Daniel Pett</author>
5 <description>Retrieve list of results from Digital NZ - very beta according to docs</description>
6 <documentationURL>http://www.digitalnz.org/developer/api-docs/custom-search-records/</documentationURL>
7 <sampleQuery description="Search for all records attributed to war">select * from {table} where search_text='war' and api_key='{key}';</sampleQuery>
8 </meta>
9 <bindings>
10 <select itemPath="" produces="XML">
11 <urls>
12 <url>http://api.digitalnz.org/custom_searches/v{version_id}/{custom_search_title}.{format}/</url>
13 </urls>
14 <paging model="offset">
15 <start id="start" default="1"/>
16 <pagesize id="num_results" max="100"/>
17 <total default="20"/>
18 </paging>
19 <inputs>
20 <key id="search_text" type="xs:string" paramType="query" required="false" />
21 <key id="sort" type="xs:string" paramType="query" required="false" />
22 <key id="direction" type="xs:string" paramType="query" required="false" />
23 <key id="custom_search_title" type="xs:string" paramType="path" default="coming_home" required="true" />
24 <key id="jsonp" type="xs:string" paramType="query" required="false" />
25 <key id="format" type="xs:string" paramType="path" default="xml" required="true" />
26 <key id="version_id" type="xs:string" paramType="path" default="1" required="true" />
27 <key id="api_key" type="xs:string" paramType="query" required="true" private="true"/>
28 </inputs>
29 </select>
30 </bindings>
31 </table>
Something went wrong with that request. Please try again.