Created
November 17, 2011 03:13
-
-
Save subnetmarco/1372265 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<api xmlns="http://mashape.com" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://mashape.com http://mashape.com/schema/mashape-api-3.0.xsd"> | |
<method name="Get User" http="GET"> | |
<url><![CDATA[/users/{id}]]></url> | |
<parameters> | |
<parameter optional="false">id</parameter> | |
</parameters> | |
<result object="User"/> | |
</method> | |
<method name="Save User" http="POST"> | |
<url><![CDATA[/users]]></url> | |
<parameters> | |
<parameter optional="false">username</parameter> | |
<parameter optional="false">email</parameter> | |
</parameters> | |
<result object="User"/> | |
</method> | |
<object name="User"> | |
<field>username</field> | |
<field>email</field> | |
</object> | |
</api> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment