Skip to content

Instantly share code, notes, and snippets.

@jdee
Created March 2, 2011 22:07
Show Gist options
  • Save jdee/851850 to your computer and use it in GitHub Desktop.
Save jdee/851850 to your computer and use it in GitHub Desktop.
new task XML
jdee@fatman:app$ curl http://localhost:3000/events/1/tasks/new.xml
<?xml version='1.0' encoding='utf-8' ?>
<task xmlns:atom="http://www.w3.org/2005/Atom"><atom:link href="http://localhost:3000/events/1/tasks/new" rel="self" />
<atom:link href="http://localhost:3000/events/1/tasks" rel="index" />
<atom:link href="http://localhost:3000/codes/task_category" rel="https://wiki.csinitiative.com/display/tri/Relationship+-+TaskCategory" />
<atom:link href="http://localhost:3000/users" rel="https://wiki.csinitiative.com/display/tri/Relationship+-+User" />
<name></name>
<notes></notes>
<category-id rel="https://wiki.csinitiative.com/display/tri/Relationship+-+TaskCategory"></category-id>
<priority></priority>
<due-date></due-date>
<repeating-interval></repeating-interval>
<until-date></until-date>
<user-id rel="https://wiki.csinitiative.com/display/tri/Relationship+-+User"></user-id>
</task>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment