Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding missing kiva tables

  • Loading branch information...
commit 40621d38ed627a3b2460714cc3bd35b9126be071 1 parent af88c23
@sh1mmer sh1mmer authored
View
16 kiva/kiva.api.release.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="json.release" produces="JSON">
+ <urls>
+ <url>http://api.kivaws.org/v1/releases/api/current.json</url>
+ </urls>
+ <inputs>
+ <key id='app_id' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
22 kiva/kiva.journal.entries.comments.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="json.comments" produces="JSON">
+ <urls>
+ <url>http://api.kivaws.org/v1/journal_entries/{id}/comments.json</url>
+ </urls>
+ <paging model="page">
+ <start id="page" default="1" />
+ <pagesize id="page_size" max="20" />
+ <total default="20" />
+ </paging>
+ <inputs>
+ <key id='id' type='xs:string' paramType='path' required="true" />
+ <key id='app_id' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
26 kiva/kiva.journal.entries.search.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="json.journal_entries" produces="JSON">
+ <urls>
+ <url>http://api.kivaws.org/v1/journal_entries/search.json</url>
+ </urls>
+ <paging model="page">
+ <start id="page" default="1" />
+ <pagesize id="page_size" max="20" />
+ <total default="20" />
+ </paging>
+ <inputs>
+ <key id='sort_by' type='xs:string' paramType='query' required="false" />
+ <key id='media' type='xs:string' paramType='query' required="false" />
+ <key id='include_bulk' type='xs:string' paramType='query' required="false" />
+ <key id='partner' type='xs:string' paramType='query' required="false" />
+ <key id='q' type='xs:string' paramType='query' required="false" />
+ <key id='app_id' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
21 kiva/kiva.lenders.lending_actions.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ </meta>
+ <bindings>
+
+ <select itemPath="json.lenders" produces="JSON">
+ <urls>
+ <url env="all">http://api.kivaws.org/v1/lending_actions/recent.json</url>
+ </urls>
+ <paging model="page">
+ <start id="page" default="1" />
+ <pagesize id="page_size" max="20" />
+ <total default="20" />
+ </paging>
+ <inputs>
+ </inputs>
+ </select>
+
+ </bindings>
+</table>
View
23 kiva/kiva.lenders.loans.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="json.loans" produces="JSON">
+ <urls>
+ <url>http://api.kivaws.org/v1/lenders/{lender_ids}/loans.json</url>
+ </urls>
+ <paging model="page">
+ <start id="page" default="1" />
+ <pagesize id="page_size" max="20" />
+ <total default="20" />
+ </paging>
+ <inputs>
+ <key id='lender_id' type='xs:string' paramType='path' required="true" />
+ <key id='sort_by' type='xs:string' paramType='query' required="false" />
+ <key id='app_id' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
21 kiva/kiva.lenders.newest.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ </meta>
+ <bindings>
+
+ <select itemPath="json.lenders" produces="JSON">
+ <urls>
+ <url env="all">http://api.kivaws.org/v1/lenders/newest.json</url>
+ </urls>
+ <paging model="page">
+ <start id="page" default="1" />
+ <pagesize id="page_size" max="20" />
+ <total default="20" />
+ </paging>
+ <inputs>
+ </inputs>
+ </select>
+
+ </bindings>
+</table>
View
27 kiva/kiva.lenders.search.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <samlpleQuery></samlpleQuery>
+ </meta>
+ <bindings>
+
+ <select itemPath="json.lenders" produces="JSON">
+ <urls>
+ <url env="all">http://api.kivaws.org/v1/lenders/search.js</url>
+ </urls>
+ <paging model="page">
+ <start id="page" default="1" />
+ <pagesize id="page_size" max="20" />
+ <total default="20" />
+ </paging>
+ <inputs>
+ <key id='sort_by' type='xs:string' paramType='query' required="false" />
+ <key id='occupation' type='xs:string' paramType='query' required="false" />
+ <key id='country_code' type='xs:string' paramType='query' required="false" />
+ <key id='q' type='xs:string' paramType='query' required="false" />
+ <key id='app_id' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+
+ </bindings>
+</table>
View
17 kiva/kiva.lenders.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="json.lender_detail" produces="JSON">
+ <urls>
+ <url>http://api.kivaws.org/v1/lenders/{lender_ids}.json</url>
+ </urls>
+ <inputs>
+ <key id='lender_ids' type='xs:string' paramType='path' required="true" />
+ <key id='app_id' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
23 kiva/kiva.loans.journal_entries.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="json.journal_entries" produces="JSON">
+ <urls>
+ <url>http://api.kivaws.org/v1/loans/{id}/journal_entries.json</url>
+ </urls>
+ <paging model="page">
+ <start id="page" default="1" />
+ <pagesize id="page_size" max="20" />
+ <total default="20" />
+ </paging>
+ <inputs>
+ <key id='id' type='xs:string' paramType='path' required="true" />
+ <key id='include_bulk' type='xs:string' paramType='query' required="false" />
+ <key id='app_id' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
22 kiva/kiva.loans.lenders.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="json.lenders" produces="JSON">
+ <urls>
+ <url>http://api.kivaws.org/v1/loans/{id}/lenders.json</url>
+ </urls>
+ <paging model="page">
+ <start id="page" default="1" />
+ <pagesize id="page_size" max="20" />
+ <total default="20" />
+ </paging>
+ <inputs>
+ <key id='id' type='xs:string' paramType='path' required="true" />
+ <key id='app_id' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
2  kiva/kiva.loans.search.xml
@@ -10,7 +10,7 @@
<select itemPath="json.loans" produces="JSON">
<urls>
- <url env="all">http://api.kivaws.org/v1/loans/search.json?</url>
+ <url env="all">http://api.kivaws.org/v1/loans/search.json</url>
</urls>
<paging model="page">
<start id="page" default="1" />
View
22 kiva/kiva.loans.updates.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="json.updates" produces="JSON">
+ <urls>
+ <url>http://api.kivaws.org/v1/loans/{id}/updates.json</url>
+ </urls>
+ <paging model="page">
+ <start id="page" default="1" />
+ <pagesize id="page_size" max="20" />
+ <total default="20" />
+ </paging>
+ <inputs>
+ <key id='id' type='xs:string' paramType='path' required="true" />
+ <key id='app_id' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
17 kiva/kiva.loans.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="json.loan_detail" produces="JSON">
+ <urls>
+ <url>http://api.kivaws.org/v1/loans/{ids}.json</url>
+ </urls>
+ <inputs>
+ <key id='ids' type='xs:string' paramType='path' required="true" />
+ <key id='app_id' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
23 kiva/kiva.teams.lenders.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="json.lenders" produces="JSON">
+ <urls>
+ <url>http://api.kivaws.org/v1/teams/{id}/lenders.json</url>
+ </urls>
+ <paging model="page">
+ <start id="page" default="1" />
+ <pagesize id="page_size" max="20" />
+ <total default="20" />
+ </paging>
+ <inputs>
+ <key id='id' type='xs:string' paramType='path' required="true" />
+ <key id='sort_by' type='xs:string' paramType='query' required="false" />
+ <key id='app_id' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
23 kiva/kiva.teams.loans.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="json.lenders" produces="JSON">
+ <urls>
+ <url>http://api.kivaws.org/v1/teams/{id}/loans.json</url>
+ </urls>
+ <paging model="page">
+ <start id="page" default="1" />
+ <pagesize id="page_size" max="20" />
+ <total default="20" />
+ </paging>
+ <inputs>
+ <key id='id' type='xs:string' paramType='path' required="true" />
+ <key id='sort_by' type='xs:string' paramType='query' required="false" />
+ <key id='app_id' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
17 kiva/kiva.teams.shortname.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="json.lenders" produces="JSON">
+ <urls>
+ <url>http://api.kivaws.org/v1/teams/using_shortname/{ids}/.json</url>
+ </urls>
+ <inputs>
+ <key id='ids' type='xs:string' paramType='path' required="true" />
+ <key id='app_id' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
18 kiva/kiva.teams.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="json.lenders" produces="JSON">
+ <urls>
+ <url>http://api.kivaws.org/v1/teams/{ids}.json</url>
+ </urls>
+
+ <inputs>
+ <key id='ids' type='xs:string' paramType='path' required="true" />
+ <key id='app_id' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
16 kiva/kiva.templates.images.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="json.template" produces="JSON">
+ <urls>
+ <url>http://api.kivaws.org/v1/templates/images.json</url>
+ </urls>
+ <inputs>
+ <key id='app_id' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
Please sign in to comment.
Something went wrong with that request. Please try again.