Created
November 17, 2011 03:12
-
-
Save subnetmarco/1372263 to your computer and use it in GitHub Desktop.
This file contains 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> | |
<object name="User"> | |
<field>username</field> | |
<field>email</field> | |
<field object="Address" optional="true">address</field> | |
</object> | |
<object name="Address"> | |
<field>street</field> | |
<field>city</field> | |
<field optional="true">zipcode</field> | |
</object> | |
</api> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment