Skip to content

Instantly share code, notes, and snippets.

@porras
Created May 19, 2010 13:30
Show Gist options
  • Select an option

  • Save porras/406302 to your computer and use it in GitHub Desktop.

Select an option

Save porras/406302 to your computer and use it in GitHub Desktop.
$ curl -u api_user --digest http://sequence.local/api/work_areas/52/jobs/12897?expand=tasks
Enter host password for user 'api_user': *****
<?xml version='1.0' encoding='utf-8' ?>
<job>
<name>My new job</name>
<due-date type='date'>2010-06-18T00:00:00+02:00</due-date>
<status>pending</status>
<tasks-status>pending</tasks-status>
<assets-status>received</assets-status>
<link href="http://sequence.local/api/work_areas/52/jobs/12897" rel="self"></link>
<link href="http://sequence.local/api/work_areas/52" rel="work_area"></link>
<link href="http://sequence.local/api/work_areas/52/jobs/12897/assets" rel="assets"></link>
<link href="http://sequence.local/api/work_areas/52/jobs/12897/tasks" rel="tasks">
<tasks type='array'>
<task>
<name>Encoding</name>
<status>pending</status>
<link href="http://sequence.local/api/work_areas/52/jobs/12897/tasks/56024" rel="self"></link>
<link href="http://sequence.local/api/work_areas/52/jobs/12897" rel="job"></link>
</task>
</tasks>
</link>
<link href="http://sequence.local/api/work_areas/52/jobs/12897/notes" rel="notes"></link>
<link href="http://sequence.local/api/work_areas/52/jobs/12897/problems" rel="problems"></link>
<link href="http://sequence.local/api/work_areas/52/jobs/12897/hooks" rel="hooks"></link>
</job>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment