Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding new tumblr tables

  • Loading branch information...
commit 3fb102a38418dccfce81f43e928031809257dfba 1 parent b40a590
@zachgraves zachgraves authored
Showing with 44 additions and 0 deletions.
  1. +26 −0 tumblr/tumblr.posts.xml
  2. +18 −0 tumblr/tumblr.tumblelog.xml
View
26 tumblr/tumblr.posts.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <author>Yahoo! Inc.</author>
+ <documentationURL>http://www.tumblr.com/docs/api</documentationURL>
+ <sampleQuery>select * from {table} where username='rickymontalvo'</sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="tumblr.posts" produces="XML">
+ <urls>
+ <url>http://{username}.tumblr.com/api/read</url>
+ </urls>
+ <inputs>
+ <key id="username" type="xs:string" paramType="path" required="true" />
+ <key id="start" type="xs:string" paramType="query" required="false" />
+ <key id="num" type="xs:string" paramType="query" required="false" />
+ <key id="type" type="xs:string" paramType="query" required="false" />
+ <key id="id" type="xs:string" paramType="query" required="false" />
+ <key id="filter" type="xs:string" paramType="query" required="false" />
+ <key id="tagged" type="xs:string" paramType="query" required="false" />
+ <key id="chrono" type="xs:string" paramType="query" required="false" />
+ <key id="search" type="xs:string" paramType="query" required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
18 tumblr/tumblr.tumblelog.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <author>Yahoo! Inc.</author>
+ <documentationURL>http://www.tumblr.com/docs/api</documentationURL>
+ <sampleQuery>select * from {table} where username='rickymontalvo'</sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="tumblr.tumblelog" produces="XML">
+ <urls>
+ <url>http://{username}.tumblr.com/api/read</url>
+ </urls>
+ <inputs>
+ <key id="username" type="xs:string" paramType="path" required="true" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
Please sign in to comment.
Something went wrong with that request. Please try again.