Permalink
Browse files

Add a new YConnect table

  • Loading branch information...
1 parent 4e309f2 commit 9c3da95b281676521121f7a85daeb3466029db1c @okuryu okuryu committed Feb 12, 2013
Showing with 21 additions and 0 deletions.
  1. +21 −0 yahoojp/yconnect/yahoojp.yconnect.userinfo.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="true">
+ <meta>
+ <author>Ryuichi Okumura</author>
+ <documentationURL>http://developer.yahoo.co.jp/yconnect/userinfo.html</documentationURL>
+ </meta>
+ <bindings>
+ <select itemPath="" produces="JSON">
+ <urls>
+ <url>https://userinfo.yahooapis.jp/yconnect/v1/attribute</url>
+ </urls>
+ <inputs>
+ <key id="schema" type="xs:string" paramType="query" required="true" />
+ <key id="access_token" type="xs:string" paramType="variable" required="true" />
+ </inputs>
+ <execute>
+ response.object = request.header("Authorization", "Bearer " + access_token).get().response;
+ </execute>
+ </select>
+ </bindings>
+</table>

0 comments on commit 9c3da95

Please sign in to comment.