Skip to content

Instantly share code, notes, and snippets.

@mikekelly
Created July 2, 2010 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikekelly/461200 to your computer and use it in GitHub Desktop.
Save mikekelly/461200 to your computer and use it in GitHub Desktop.
<resource rel="self" href="/list">
<resource rel="description" href="/list/description" />
<resource rel="search" href="/list/search/{search_term}" />
<created_at>2010-01-16</created_at>
<updated_at>2010-02-21</updated_at>
<summary>An example list</summary>
<resource rel="owner" href="/people/mike">
<name>Mike</name>
<age>36</age>
</resource>
<resource rel="item" name=1 href="/items/some_item">
<title>Some Item</title>
<content>This is some item content</content>
</resource>
<resource rel="item" name=2 href="/foo/some_other_item">
<title>Some Other Item</title>
<content>This is content for some other item</content>
</resource>
</resource>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment