Permalink
Browse files

Added stackoverflow/questions/answers/stackoverflow.questions.answers…

….xml (unfiltered) via YQL Table Editor
  • Loading branch information...
1 parent a9b75b1 commit 98f2ea20f345921455b872b6f60811e5986b7bb0 @nathanathan nathanathan committed Feb 3, 2013
Showing with 24 additions and 0 deletions.
  1. +24 −0 stackoverflow/questions/answers/stackoverflow.questions.answers.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <author>Nathan Breit</author>
+ <description>Gets answers to questions on stack overflow.</description>
+ <sampleQuery>select * from {table} where id=9200513;</sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="" produces="JSON">
+ <urls>
+ <url>http://api.stackexchange.com/2.1/questions/{id}/answers</url>
+ </urls>
+ <inputs>
+ <key id="id" type="xs:integer" paramType="path" required="true"/>
+
+ <key id="order" type="xs:string" paramType="query" required="false" default="desc"/>
+ <key id="sort" type="xs:string" paramType="query" required="false" default="activity"/>
+ <key id="site" type="xs:string" paramType="query" required="false" default="stackoverflow"/>
+ <key id="filter" type="xs:string" paramType="query" required="false" default="withbody"/>
+ <key id="key" type="xs:string" paramType="query" required="false" default="UI7fqGbBXBBEJky5T*qltw(("/>
+ </inputs>
+ </select>
+ </bindings>
+</table>

0 comments on commit 98f2ea2

Please sign in to comment.