Skip to content

Instantly share code, notes, and snippets.

@subnetmarco
Created November 17, 2011 03:16
Show Gist options
  • Select an option

  • Save subnetmarco/1372273 to your computer and use it in GitHub Desktop.

Select an option

Save subnetmarco/1372273 to your computer and use it in GitHub Desktop.
<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>age</field>
</object>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment