Permalink
Browse files

Added paging elements to all list calls with offset parameters for co…

…micvine apis.
  • Loading branch information...
1 parent 335b64a commit 7f86247198af6402f8bada0d138cf1985f43e541 Nick committed Oct 22, 2009
@@ -9,10 +9,14 @@
<select produces="XML" itemPath="response.results">
<urls>
<url>http://api.comicvine.com/characters/?format=xml</url>
- </urls>
+ </urls>
+ <paging model="offset">
+ <start default="0" id="offset" />
+ <pagesize max="100" />
+ <total default="100" />
+ </paging>
<inputs>
<key id="api_key" type="xs:string" paramType="query" required="true"/>
- <key id="offset" type="xs:string" paramType="query" />
</inputs>
</select>
</bindings>
@@ -9,10 +9,14 @@
<select produces="XML" itemPath="response.results">
<urls>
<url>http://api.comicvine.com/concepts/?format=xml</url>
- </urls>
+ </urls>
+ <paging model="offset">
+ <start default="0" id="offset" />
+ <pagesize max="100" />
+ <total default="100" />
+ </paging>
<inputs>
<key id="api_key" type="xs:string" paramType="query" required="true"/>
- <key id="offset" type="xs:string" paramType="query" />
</inputs>
</select>
</bindings>
@@ -10,9 +10,13 @@
<urls>
<url>http://api.comicvine.com/issues/?format=xml</url>
</urls>
- <inputs>
+ <paging model="offset">
+ <start default="0" id="offset" />
+ <pagesize max="100" />
+ <total default="100" />
+ </paging>
+ <inputs>
<key id="api_key" type="xs:string" paramType="query" required="true"/>
- <key id="offset" type="xs:string" paramType="query" />
</inputs>
</select>
</bindings>
@@ -10,9 +10,13 @@
<urls>
<url>http://api.comicvine.com/locations/?format=xml</url>
</urls>
- <inputs>
+ <paging model="offset">
+ <start default="0" id="offset" />
+ <pagesize max="100" />
+ <total default="100" />
+ </paging>
+ <inputs>
<key id="api_key" type="xs:string" paramType="query" required="true"/>
- <key id="offset" type="xs:string" paramType="query" />
</inputs>
</select>
</bindings>
@@ -10,9 +10,13 @@
<urls>
<url>http://api.comicvine.com/objects/?format=xml</url>
</urls>
- <inputs>
+ <paging model="offset">
+ <start default="0" id="offset" />
+ <pagesize max="100" />
+ <total default="100" />
+ </paging>
+ <inputs>
<key id="api_key" type="xs:string" paramType="query" required="true"/>
- <key id="offset" type="xs:string" paramType="query" />
</inputs>
</select>
</bindings>
@@ -10,9 +10,13 @@
<urls>
<url>http://api.comicvine.com/origins/?format=xml</url>
</urls>
- <inputs>
+ <paging model="offset">
+ <start default="0" id="offset" />
+ <pagesize max="100" />
+ <total default="100" />
+ </paging>
+ <inputs>
<key id="api_key" type="xs:string" paramType="query" required="true"/>
- <key id="offset" type="xs:string" paramType="query" />
</inputs>
</select>
</bindings>
@@ -10,9 +10,13 @@
<urls>
<url>http://api.comicvine.com/persons/?format=xml</url>
</urls>
- <inputs>
+ <paging model="offset">
+ <start default="0" id="offset" />
+ <pagesize max="100" />
+ <total default="100" />
+ </paging>
+ <inputs>
<key id="api_key" type="xs:string" paramType="query" required="true"/>
- <key id="offset" type="xs:string" paramType="query" />
</inputs>
</select>
</bindings>
@@ -9,10 +9,14 @@
<select produces="XML" itemPath="response.results">
<urls>
<url>http://api.comicvine.com/powers/?format=xml</url>
- </urls>
- <inputs>
+ </urls>
+ <paging model="offset">
+ <start default="0" id="offset" />
+ <pagesize max="100" />
+ <total default="100" />
+ </paging>
+ <inputs>
<key id="api_key" type="xs:string" paramType="query" required="true"/>
- <key id="offset" type="xs:string" paramType="query" />
</inputs>
</select>
</bindings>
@@ -10,9 +10,13 @@
<urls>
<url>http://api.comicvine.com/publishers/?format=xml</url>
</urls>
- <inputs>
+ <paging model="offset">
+ <start default="0" id="offset" />
+ <pagesize max="100" />
+ <total default="100" />
+ </paging>
+ <inputs>
<key id="api_key" type="xs:string" paramType="query" required="true"/>
- <key id="offset" type="xs:string" paramType="query" />
</inputs>
</select>
</bindings>
@@ -10,9 +10,13 @@
<urls>
<url>http://api.comicvine.com/story_arcs/?format=xml</url>
</urls>
- <inputs>
+ <paging model="offset">
+ <start default="0" id="offset" />
+ <pagesize max="100" />
+ <total default="100" />
+ </paging>
+ <inputs>
<key id="api_key" type="xs:string" paramType="query" required="true"/>
- <key id="offset" type="xs:string" paramType="query" />
</inputs>
</select>
</bindings>
@@ -10,9 +10,13 @@
<urls>
<url>http://api.comicvine.com/teams/?format=xml</url>
</urls>
- <inputs>
+ <paging model="offset">
+ <start default="0" id="offset" />
+ <pagesize max="100" />
+ <total default="100" />
+ </paging>
+ <inputs>
<key id="api_key" type="xs:string" paramType="query" required="true"/>
- <key id="offset" type="xs:string" paramType="query" />
</inputs>
</select>
</bindings>
@@ -10,7 +10,7 @@
<urls>
<url>http://api.comicvine.com/types/?format=xml</url>
</urls>
- <inputs>
+ <inputs>
<key id="api_key" type="xs:string" paramType="query" required="true"/>
</inputs>
</select>
@@ -10,9 +10,13 @@
<urls>
<url>http://api.comicvine.com/volumes/?format=xml</url>
</urls>
- <inputs>
+ <paging model="offset">
+ <start default="0" id="offset" />
+ <pagesize max="100" />
+ <total default="100" />
+ </paging>
+ <inputs>
<key id="api_key" type="xs:string" paramType="query" required="true"/>
- <key id="offset" type="xs:string" paramType="query" />
</inputs>
</select>
</bindings>

0 comments on commit 7f86247

Please sign in to comment.