Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated mixi tables.

  • Loading branch information...
commit 8db2bdee16746f23f8dbf02a82145e0bf88a2158 1 parent 879976a
@okuryu okuryu authored
View
20 mixi/mixi.groups.xml
@@ -0,0 +1,20 @@
+<?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.mixi.co.jp/connect/mixi_graph_api/mixi_io_spec_top/groups-api</documentationURL>
+ </meta>
+ <bindings>
+ <select itemPath="" produces="JSON">
+ <urls>
+ <url>http://api.mixi-platform.com/2/groups/{user_id}</url>
+ </urls>
+ <inputs>
+ <key id="oauth_token" type="xs:string" paramType="query" required="true" />
+ <key id="user_id" type="xs:string" paramType="path" required="true" />
+ <key id="startIndex" type="xs:string" paramType="query" />
+ <key id="count" type="xs:string" paramType="query" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
3  mixi/mixi.people.xml
@@ -13,6 +13,9 @@
<key id="oauth_token" type="xs:string" paramType="query" required="true" />
<key id="user_id" type="xs:string" paramType="path" required="true" />
<key id="group_id" type="xs:string" paramType="path" required="true" />
+ <key id="sortBy" type="xs:string" paramType="query" />
+ <key id="sortOrder" type="xs:string" paramType="query" />
+ <key id="fields" type="xs:string" paramType="query" />
<key id="startIndex" type="xs:string" paramType="query" />
<key id="count" type="xs:string" paramType="query" />
</inputs>
View
21 mixi/mixi.peoplelookup.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.mixi.co.jp/connect/mixi_graph_api/mixi_io_spec_top/people-lookup-api</documentationURL>
+ </meta>
+ <bindings>
+ <select itemPath="" produces="JSON">
+ <urls>
+ <url>http://api.mixi-platform.com/2/search/people</url>
+ </urls>
+ <inputs>
+ <key id="oauth_token" type="xs:string" paramType="query" required="true" />
+ <key id="q" type="xs:string" paramType="query" required="true" />
+ <key id="fields" type="xs:string" paramType="query" />
+ <key id="startIndex" type="xs:string" paramType="query" />
+ <key id="count" type="xs:string" paramType="query" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
24 mixi/mixi.updates.xml
@@ -0,0 +1,24 @@
+<?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.mixi.co.jp/connect/mixi_graph_api/mixi_io_spec_top/updates-api</documentationURL>
+ </meta>
+ <bindings>
+ <select itemPath="" produces="JSON">
+ <urls>
+ <url>http://api.mixi-platform.com/2/updates/{user_id}/{group_id}</url>
+ </urls>
+ <inputs>
+ <key id="oauth_token" type="xs:string" paramType="query" required="true" />
+ <key id="user_id" type="xs:string" paramType="path" required="true" />
+ <key id="group_id" type="xs:string" paramType="path" required="true" />
+ <key id="fields" type="xs:string" paramType="query" />
+ <key id="count" type="xs:string" paramType="query" />
+ <key id="updatedSince" type="xs:string" paramType="query" />
+ <key id="device" type="xs:string" paramType="query" />
+ <key id="startIndex" type="xs:string" paramType="query" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
46 mixi/mixi.voice.favorites.xml
@@ -0,0 +1,46 @@
+<?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.mixi.co.jp/connect/mixi_graph_api/mixi_io_spec_top/voice-api</documentationURL>
+ </meta>
+ <bindings>
+ <select itemPath="" produces="JSON">
+ <urls>
+ <url>http://api.mixi-platform.com/2/voice/favorites/{post_id}</url>
+ </urls>
+ <inputs>
+ <key id="oauth_token" type="xs:string" paramType="query" required="true" />
+ <key id="post_id" type="xs:string" paramType="path" required="true" />
+ <key id="trim_user" type="xs:string" paramType="query" />
+ <key id="count" type="xs:string" paramType="query" />
+ <key id="startIndex" type="xs:string" paramType="query" />
+ </inputs>
+ </select>
+ <insert itemPath="" produces="JSON">
+ <urls>
+ <url>http://api.mixi-platform.com/2/voice/favorites/{post_id}</url>
+ </urls>
+ <inputs>
+ <key id="oauth_token" type="xs:string" paramType="query" required="true" />
+ <key id="post_id" type="xs:string" paramType="path" required="true" />
+ </inputs>
+ <execute><![CDATA[
+response.object = request.post().response;
+ ]]></execute>
+ </insert>
+ <delete itemPath="" produces="JSON">
+ <urls>
+ <url>http://api.mixi-platform.com/2/voice/favorites/{post_id}/{user_id}</url>
+ </urls>
+ <inputs>
+ <key id="oauth_token" type="xs:string" paramType="query" required="true" />
+ <key id="post_id" type="xs:string" paramType="path" required="true" />
+ <key id="user_id" type="xs:string" paramType="path" required="true" />
+ </inputs>
+ <execute><![CDATA[
+response.object = request.del().response;
+ ]]></execute>
+ </delete>
+ </bindings>
+</table>
View
48 mixi/mixi.voice.replies.xml
@@ -0,0 +1,48 @@
+<?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.mixi.co.jp/connect/mixi_graph_api/mixi_io_spec_top/voice-api</documentationURL>
+ </meta>
+ <bindings>
+ <select itemPath="" produces="JSON">
+ <urls>
+ <url>http://api.mixi-platform.com/2/voice/replies/{post_id}</url>
+ </urls>
+ <inputs>
+ <key id="oauth_token" type="xs:string" paramType="query" required="true" />
+ <key id="post_id" type="xs:string" paramType="path" required="true" />
+ <key id="trim_user" type="xs:string" paramType="query" />
+ <key id="count" type="xs:string" paramType="query" />
+ <key id="startIndex" type="xs:string" paramType="query" />
+ </inputs>
+ </select>
+ <insert itemPath="" produces="JSON">
+ <urls>
+ <url>http://api.mixi-platform.com/2/voice/replies/{post_id}</url>
+ </urls>
+ <inputs>
+ <key id="oauth_token" type="xs:string" paramType="query" required="true" />
+ <key id="post_id" type="xs:string" paramType="path" required="true" />
+ <key id="text" type="xs:string" paramType="variable" required="true" />
+ </inputs>
+ <execute><![CDATA[
+var request = request.contentType("application/x-www-form-urlencoded");
+response.object = request.post("text=" + encodeURIComponent(text)).response;
+ ]]></execute>
+ </insert>
+ <delete itemPath="" produces="JSON">
+ <urls>
+ <url>http://api.mixi-platform.com/2/voice/statuses/{post_id}/{comment_id}</url>
+ </urls>
+ <inputs>
+ <key id="oauth_token" type="xs:string" paramType="query" required="true" />
+ <key id="post_id" type="xs:string" paramType="path" required="true" />
+ <key id="comment_id" type="xs:string" paramType="path" required="true" />
+ </inputs>
+ <execute><![CDATA[
+response.object = request.del().response;
+ ]]></execute>
+ </delete>
+ </bindings>
+</table>
View
23 mixi/mixi.voice.statuses.friendstimeline.xml
@@ -0,0 +1,23 @@
+<?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.mixi.co.jp/connect/mixi_graph_api/mixi_io_spec_top/voice-api</documentationURL>
+ </meta>
+ <bindings>
+ <select itemPath="" produces="JSON">
+ <urls>
+ <url>http://api.mixi-platform.com/2/voice/statuses/friends_timeline/{group_id}</url>
+ </urls>
+ <inputs>
+ <key id="oauth_token" type="xs:string" paramType="query" required="true" />
+ <key id="group_id" type="xs:string" paramType="path" required="true" />
+ <key id="since_id" type="xs:string" paramType="query" />
+ <key id="trim_user" type="xs:string" paramType="query" />
+ <key id="attach_photo" type="xs:string" paramType="query" />
+ <key id="count" type="xs:string" paramType="query" />
+ <key id="startIndex" type="xs:string" paramType="query" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
23 mixi/mixi.voice.statuses.usertimeline.xml
@@ -0,0 +1,23 @@
+<?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.mixi.co.jp/connect/mixi_graph_api/mixi_io_spec_top/voice-api</documentationURL>
+ </meta>
+ <bindings>
+ <select itemPath="" produces="JSON">
+ <urls>
+ <url>http://api.mixi-platform.com/2/voice/statuses/{user_id}/user_timeline</url>
+ </urls>
+ <inputs>
+ <key id="oauth_token" type="xs:string" paramType="query" required="true" />
+ <key id="user_id" type="xs:string" paramType="path" required="true" />
+ <key id="since_id" type="xs:string" paramType="query" />
+ <key id="trim_user" type="xs:string" paramType="query" />
+ <key id="attach_photo" type="xs:string" paramType="query" />
+ <key id="count" type="xs:string" paramType="query" />
+ <key id="startIndex" type="xs:string" paramType="query" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
47 mixi/mixi.voice.statuses.xml
@@ -0,0 +1,47 @@
+<?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.mixi.co.jp/connect/mixi_graph_api/mixi_io_spec_top/voice-api</documentationURL>
+ </meta>
+ <bindings>
+ <select itemPath="" produces="JSON">
+ <urls>
+ <url>http://api.mixi-platform.com/2/voice/statuses/{post_id}</url>
+ </urls>
+ <inputs>
+ <key id="oauth_token" type="xs:string" paramType="query" required="true" />
+ <key id="post_id" type="xs:string" paramType="path" required="true" />
+ <key id="trim_user" type="xs:string" paramType="query" />
+ <key id="attach_photo" type="xs:string" paramType="query" />
+ <key id="count" type="xs:string" paramType="query" />
+ <key id="startIndex" type="xs:string" paramType="query" />
+ </inputs>
+ </select>
+ <insert itemPath="" produces="JSON">
+ <urls>
+ <url>http://api.mixi-platform.com/2/voice/statuses</url>
+ </urls>
+ <inputs>
+ <key id="oauth_token" type="xs:string" paramType="query" required="true" />
+ <key id="status" type="xs:string" paramType="variable" required="true" />
+ </inputs>
+ <execute><![CDATA[
+var request = request.contentType("application/x-www-form-urlencoded");
+response.object = request.post("status=" + encodeURIComponent(status)).response;
+ ]]></execute>
+ </insert>
+ <delete itemPath="" produces="JSON">
+ <urls>
+ <url>http://api.mixi-platform.com/2/voice/statuses/{post_id}</url>
+ </urls>
+ <inputs>
+ <key id="oauth_token" type="xs:string" paramType="query" required="true" />
+ <key id="post_id" type="xs:string" paramType="path" required="true" />
+ </inputs>
+ <execute><![CDATA[
+response.object = request.del().response;
+ ]]></execute>
+ </delete>
+ </bindings>
+</table>
Please sign in to comment.
Something went wrong with that request. Please try again.