Skip to content

Developers

How can we help you?

← Go back

Introduction to the Sequence API

Our products have well designed, powerful, but simple web service Application Programming Interfaces. Everything a human can do in Sequence can be achieved using the API.

Sequence can be fully integrated into your media operations using its API, working seamlessly with your other systems such as your media asset management, encoding, and transcoding systems. Deep integration like this enables Sequence to show you the results of work initiated in your other systems, and also initiate work in those systems. This lets you and your entire team see the current status of a title as it passes through each stage of your workflow. No longer do you need to work across multiple systems, everything is visible in Sequence.

As explained in the introduction to REST APIs guide, the Sequence API follows the REST principles as much as possible. It is XML/JSON over HTTP using all four verbs (GET, POST, PUT, DELETE). Each resource, like job, task or asset, has its own URL and can be manipulated in isolation. XML/JSON responses will carry the necessary URLs to access sub-resources, so that API clients can discover resources without having to store or concatenate URLs.

Diagram

Discovering Sequence resources

Thanks to the fact that Sequence resources are linked to each other using their URLs, the API is autodiscoverable. As a side effect of this and of the conventions followed by this API, it can be accessed using the Almodovar generic REST client.

All examples below use the curl HTTP client, but you should be able to follow along with any standard HTTP client.

API root

A list of the available top level resources.

$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api
<?xml version="1.0" encoding="UTF-8"?>
<sequence>
  <link rel="work_areas" href="https://sequence.bebanjo.net/api/work_areas"/>
  <link rel="templates" href="https://sequence.bebanjo.net/api/templates"/>
  <link rel="events" href="https://sequence.bebanjo.net/api/events"/>
</sequence>
{
  "resource_type": "sequence",
  "work_areas_link": "https://sequence.bebanjo.net/api/work_areas",
  "templates_link": "https://sequence.bebanjo.net/api/templates",
  "events_link": "https://sequence.bebanjo.net/api/events"
}

Work areas

Note: Only GET is available.

Each of the areas in which your work is divided. For instance, lets say that you are a service provider doing encoding operations for 2 different customers. Normally, you would create one work area for each customer, so that you can separate their work completely, but all the users in your account can still have access to both work areas so that the whole team can be assigned to any piece of work, independently of where it comes from.

You can fetch either your list of working areas, or a single one. Note that this list is linked from the previous API root example.

$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api/work_areas
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api/work_areas
<?xml version='1.0' encoding='utf-8' ?>
<work_areas>
  <work_area>
    <name>Mediagenix On-Demand TV</name>
    <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52"/>
    <link rel="jobs" href="https://sequence.bebanjo.net/api/work_areas/52/jobs"/>
  </work_area>
  <work_area>
    <name>Mediagenix On-Demand Sports</name>
    <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/75"/>
    <link rel="jobs" href="https://sequence.bebanjo.net/api/work_areas/75/jobs"/>
  </work_area>
</work_areas>
{
  "entries": [
    {
      "resource_type": "work_area",
      "id": 52,
      "name": "Mediagenix On-Demand TV",
      "self_link": "https://sequence.bebanjo.net/api/work_areas/52",
      "jobs_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs"
    },
    {
      "resource_type": "work_area",
      "id": 75,
      "name": "Mediagenix On-Demand Sports",
      "self_link": "https://sequence.bebanjo.net/api/work_areas/75",
      "jobs_link": "https://sequence.bebanjo.net/api/work_areas/75/jobs"
    }
  ]
}

Note that each resource fetched from the API has a link to self so you can use that URL to fetch that resource individually.

$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api/work_areas/52
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api/work_areas/52
<work_area>
  <name>Mediagenix On-Demand TV</name>
  <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52"/>
  <link rel="jobs" href="https://sequence.bebanjo.net/api/work_areas/52/jobs"/>
</work_area>
{
  "resource_type": "work_area",
  "id": 52,
  "name": "Mediagenix On-Demand TV",
  "self_link": "https://sequence.bebanjo.net/api/work_areas/52",
  "jobs_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs"
}

Jobs

Note: GET, POST, PUT, DELETE are available.

These represent each of the work orders in the system. You access them through their work area and you can filter them by status. Valid filters are:

  • ready: Jobs returned will have all assets marked as received and all tasks completed.
  • pending: Jobs returned will have either assets not received, or some tasks pending.
  • completed: Jobs returned will have all of their tasks completed, independently of their assets status.
  • not_completed: Jobs returned will have at least some task pending, independently of their assets status.
  • received: Jobs returned will have all assets received, independently of task status.
  • not_received: Jobs returned will have at least some asset pending, independently of task status.
  • problematic: Jobs returned will have active problems.
  • not_problematic: Jobs returned will not have active problems.

Here is an example:

$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api/work_areas/52/jobs
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api/work_areas/52/jobs
<?xml version='1.0' encoding='utf-8' ?>
<jobs type='array'>
  <job>
    <name>Ironman 2</name>
    <due-date type="date">2010-05-05</due-date>
    <begins-at type="date">2010-05-05</begins-at>
    <ends-at type="date">2010-05-14</ends-at>
    <licensor-name>Warner</licensor-name>
    <status>pending</status>
    <tasks-status>pending</tasks-status>
    <assets-status>not_received</assets-status>
    <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
    <link rel="work_area" href="https://sequence.bebanjo.net/api/work_areas/52"/>
    <link rel="assets" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets"/>
    <link rel="tasks" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks"/>
    <link rel="notes" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes"/>
    <link rel="problems" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems"/>
  </job>
  <job>
    <name>The Dark Knight</name>
    <due-date type="date">2010-05-07</due-date>
    <begins-at type="date">2010-05-07</begins-at>
    <ends-at type="date">2010-05-21</ends-at>
    <licensor-name>Fox</licensor-name>
    <status>ready</status>
    <tasks-status>completed</tasks-status>
    <assets-status>received</assets-status>
    <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12878"/>
    <link rel="work_area" href="https://sequence.bebanjo.net/api/work_areas/52"/>
    <link rel="assets" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12878/assets"/>
    <link rel="tasks" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12878/tasks"/>
    <link rel="notes" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12878/notes"/>
    <link rel="problems" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12878/problems"/>
  </job>
</jobs>
{
  "entries": [
    {
      "resource_type": "job",
      "id": 12875,
      "name": "Ironman 2",
      "due_date": "2010-05-05",
      "begins_at": "2010-05-05",
      "ends_at": "2010-05-14",
      "licensor_name": "Warner",
      "status": "pending",
      "tasks_status": "pending",
      "assets_status": "not_received",
      "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875",
      "work_area_link": "https://sequence.bebanjo.net/api/work_areas/52",
      "assets_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets",
      "tasks_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks",
      "notes_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes",
      "problems_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems"
    },
    {
      "resource_type": "job",
      "id": 12878,
      "name": "The Dark Knight",
      "due_date": "2010-05-07",
      "begins_at": "2010-05-07",
      "ends_at": "2010-05-21",
      "licensor_name": "Fox",
      "status": "ready",
      "tasks_status": "completed",
      "assets_status": "received",
      "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12878",
      "work_area_link": "https://sequence.bebanjo.net/api/work_areas/52",
      "assets_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12878/assets",
      "tasks_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12878/tasks",
      "notes_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12878/notes",
      "problems_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12878/problems"
    }
  ]
}

Now filtering by status:

$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api/work_areas/52/jobs?filter=pending
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api/work_areas/52/jobs?filter=pending
<?xml version='1.0' encoding='utf-8' ?>
<jobs type='array'>
  <job>
    <name>Ironman 2</name>
    <due-date type='date'>2010-05-05</due-date>
    <begins-at type="date">2010-05-05</begins-at>
    <ends-at type="date">2010-05-14</ends-at>
    <licensor-name>Warner</licensor-name>
    <status>pending</status>
    <tasks-status>pending</tasks-status>
    <assets-status>not_received</assets-status>
    <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
    <link rel="work_area" href="https://sequence.bebanjo.net/api/work_areas/52"/>
    <link rel="assets" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets"/>
    <link rel="tasks" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks"/>
    <link rel="notes" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes"/>
    <link rel="problems" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems"/>
  </job>
</jobs>
{
  "entries": [
    {
      "resource_type": "job",
      "id": 12875,
      "name": "Ironman 2",
      "due_date": "2010-05-05",
      "begins_at": "2010-05-05",
      "ends_at": "2010-05-14",
      "licensor_name": "Warner",
      "status": "pending",
      "tasks_status": "pending",
      "assets_status": "not_received",
      "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875",
      "work_area_link": "https://sequence.bebanjo.net/api/work_areas/52",
      "assets_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets",
      "tasks_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks",
      "notes_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes",
      "problems_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems"
    }
  ]
}

Or querying a single one:

$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api/work_areas/52/jobs/12875
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api/work_areas/52/jobs/12875
<?xml version='1.0' encoding='utf-8' ?>
<job>
  <name>Ironman 2</name>
  <due-date type='date'>2010-05-05T00:00:00+02:00</due-date>
  <licensor-name>Warner</licensor-name>
  <status>pending</status>
  <tasks-status>pending</tasks-status>
  <assets-status>not_received</assets-status>
  <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
  <link rel="work_area" href="https://sequence.bebanjo.net/api/work_areas/52"/>
  <link rel="assets" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets"/>
  <link rel="tasks" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks"/>
  <link rel="notes" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes"/>
  <link rel="problems" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems"/>
</job>
{
  "resource_type": "job",
  "id": 12875,
  "name": "Ironman 2",
  "due_date": "2010-05-05",
  "begins_at": "2010-05-05",
  "ends_at": "2010-05-14",
  "licensor_name": "Warner",
  "status": "pending",
  "tasks_status": "pending",
  "assets_status": "not_received",
  "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875",
  "work_area_link": "https://sequence.bebanjo.net/api/work_areas/52",
  "assets_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets",
  "tasks_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks",
  "notes_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes",
  "problems_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems"
}

Learn how you can create, delete or update jobs in the job page.

Assets

Note: GET, POST, PUT, DELETE are available.

Each of the assets that must be received to complete a job.

$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets
<?xml version='1.0' encoding='utf-8' ?>
<assets type='array'>
  <asset>
    <type-name>subtitles</type-name>
    <status>pending</status>
    <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets/21747"/>
    <link rel="job" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
  </asset>
</assets>
{
  "entries": [
    {
      "resource_type": "asset",
      "type_name": "subtitles",
      "status": "pending",
      "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets/21747",
      "job_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"
    }
  ]
}

Or a single asset:

$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets/21747
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets/21747
<?xml version='1.0' encoding='utf-8' ?>
<asset>
  <type-name>subtitles</type-name>
  <status>pending</status>
  <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets/21747"/>
  <link rel="job" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
</asset>
{
  "resource_type": "asset",
  "type_name": "subtitles",
  "status": "pending",
  "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets/21747",
  "job_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"
}

Learn how you can create, delete or update assets in the asset page.

Tasks

Note: GET, POST, PUT, DELETE are available.

Each of the tasks that must be completed to complete a job.

$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks
<?xml version='1.0' encoding='utf-8' ?>
<tasks type='array'>
  <task>
    <name>Encoding</name>
    <status>pending</status>
    <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks/55999"/>
    <link rel="job" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
  </task>
</tasks>
{
  "entries": [
    {
      "resource_type": "task",
      "name": "Encoding",
      "status": "pending",
      "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks/55999",
      "job_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"
    }
  ]
}

Or a single task:

$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks/55999
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks/55999
<?xml version='1.0' encoding='utf-8' ?>
<task>
  <name>Encoding</name>
  <status>pending</status>
  <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks/55999"/>
  <link rel="job" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
</task>
{
  "resource_type": "task",
  "name": "Encoding",
  "status": "pending",
  "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks/55999",
  "job_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"
}

Learn how you can create, delete or update tasks in the task page.

Notes

Note: GET, POST, PUT, DELETE are available.

Notes related to each job:

$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes
<?xml version='1.0' encoding='utf-8' ?>
<notes type='array'>
  <note>
    <body>Metadata to be distributed separately to YouTube</body>
    <creator>robot_user</creator>
    <created-at type='datetime'>2010-04-22T17:32:21+02:00</created-at>
    <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes/19716"/>
    <link rel="job" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
  </note>
</notes>
{
  "entries": [
    {
      "resource_type": "note",
      "body": "Metadata to be distributed separately to YouTube",
      "creator": "robot_user",
      "created_at": "2010-04-22T17:32:21+02:00",
      "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes/19716",
      "job_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"
    }
  ]
}
$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes/19716
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes/19716
<?xml version='1.0' encoding='utf-8' ?>
<note>
  <body>This movie rocks!</body>
  <creator>robot_user</creator>
  <created-at type='datetime'>2010-04-22T17:32:21+02:00</created-at>
  <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes/19716"/>
  <link rel="job" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
</note>
{
  "resource_type": "note",
  "body": "Metadata to be distributed separately to YouTube",
  "creator": "robot_user",
  "created_at": "2010-04-22T17:32:21+02:00",
  "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes/19716",
  "job_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"
}

Learn how you can create, delete or update notes in the note page

Problems

Note: GET, POST, PUT are available.

Reported problems related to a job:

$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems
<?xml version='1.0' encoding='utf-8' ?>
<problems type='array'>
  <problem>
    <description>Sound volume is a bit low</description>
    <dismissed type='boolean'>false</dismissed>
    <reporter>fulano</reporter>
    <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems/212"/>
    <link rel="job" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
  </problem>
  <problem>
    <description>There are frames dropped in TC 00:27:31</description>
    <dismissed type='boolean'>false</dismissed>
    <reporter>robot_user</reporter>
    <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems/213"/>
    <link rel="job" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
  </problem>
</problems>
{
  "entries": [
    {
      "resource_type": "problem",
      "description": "Sound volume is a bit low",
      "dismissed": "false",
      "reporter": "fulano",
      "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems/212",
      "job_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"
    },
    {
      "resource_type": "problem",
      "description": "There are frames dropped in TC 00:27:31",
      "dismissed": "false",
      "reporter": "robot_user",
      "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems/213",
      "job_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"
    }
  ]
}

Accessing a single problem:

$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems/213
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems/213
<?xml version='1.0' encoding='utf-8' ?>
<problem>
  <description>There are frames dropped in TC 00:27:31</description>
  <dismissed type='boolean'>false</dismissed>
  <reporter>robot_user</reporter>
  <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems/213"/>
  <link rel="job" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
</problem>
{
  "resource_type": "problem",
  "description": "There are frames dropped in TC 00:27:31",
  "dismissed": "false",
  "reporter": "robot_user",
  "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems/213",
  "job_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"
}

Problems cannot be deleted, but they can be dismissed. When they are dismissed, they remain associated to the job they belong to for reference purposes.

Learn how you can create or update problems in the problem page.

As we said, resources are all linked with each other. The convention is using a link tag, with the URL in the href attribute and with the name of the relationship between both resources in the rel attribute (this convention is also used for the resources having a link to self). This way, one can navigate the data through the links.

This is very convenient, but sometimes results in having to make several HTTP calls to get the information we want. This is when link expansion comes in. If you include the expand parameter in your call, the links whose rel is included in the expand parameter will be expanded, which means the link tag, instead of being empty, will contain what you would get if you were to query that URL. This way, you can get several linked resources with only one call.

Let’s see a couple of examples. With this first one, you get a job but also some info about the work area it belongs:

$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api/work_areas/52/jobs/12875?expand=work_area
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api/work_areas/52/jobs/12875?expand=work_area
<?xml version='1.0' encoding='utf-8' ?>
<job>
  <name>Ironman 2</name>
  <due-date type='date'>2010-05-05T00:00:00+02:00</due-date>
  <licensor-name>Warner</licensor-name>
  <status>late</status>
  <tasks-status>pending</tasks-status>
  <assets-status>not_received</assets-status>
  <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
  <link rel="work_area" href="https://sequence.bebanjo.net/api/work_areas/52">
    <work_area>
      <name>Mediagenix On-Demand TV</name>
      <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52"/>
      <link rel="jobs" href="https://sequence.bebanjo.net/api/work_areas/52/jobs"/>
    </work_area>
  </link>
  <link rel="assets" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets"/>
  <link rel="tasks" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks"/>
  <link rel="notes" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes"/>
  <link rel="problems" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems"/>
</job>
{
  "resource_type": "job",
  "id": 12875,
  "name": "Ironman 2",
  "due_date": "2010-05-05",
  "begins_at": "2010-05-05",
  "ends_at": "2010-05-14",
  "licensor_name": "Warner",
  "status": "pending",
  "tasks_status": "pending",
  "assets_status": "not_received",
  "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875",
  "work_area_link": "https://sequence.bebanjo.net/api/work_areas/52",
  "work_area": {
    "resource_type": "work_area",
    "id": 52,
    "name": "Mediagenix On-Demand TV",
    "self_link": "https://sequence.bebanjo.net/api/work_areas/52",
    "jobs_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs"
  },
  "assets_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets",
  "tasks_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks",
  "notes_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes",
  "problems_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems"
}

With this second one, you fetch all the info stored related to a job (assets, tasks, notes and problems):

$ curl --digest -u robot_user:password https://sequence.bebanjo.net/api/work_areas/52/jobs/12875?expand=assets,tasks,notes,problems
$ curl --digest -u robot_user:password -H "Accept: application/json" https://sequence.bebanjo.net/api/work_areas/52/jobs/12875?expand=assets,tasks,notes,problems
<?xml version='1.0' encoding='utf-8' ?>
<job>
  <name>prdovyosyq</name>
  <due-date type='date'>2010-05-05T00:00:00+02:00</due-date>
  <licensor-name>yhmoxasoct</licensor-name>
  <status>late</status>
  <tasks-status>pending</tasks-status>
  <assets-status>not_received</assets-status>
  <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
  <link rel="work_area" href="https://sequence.bebanjo.net/api/work_areas/52"/>
  <link rel="assets" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets">
    <assets type='array'>
      <asset>
        <type-name>weppcckskw</type-name>
        <status>pending</status>
        <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets/21747"/>
        <link rel="job" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
      </asset>
    </assets>
  </link>
  <link rel="tasks" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks">
    <tasks type='array'>
      <task>
        <name>ennhijbxka</name>
        <status>pending</status>
        <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks/55999"/>
        <link rel="job" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
      </task>
    </tasks>
  </link>
  <link rel="notes" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes">
    <notes type='array'>
      <note>
        <body>Wadus</body>
        <creator>api_user</creator>
        <created-at type='datetime'>2010-04-22T17:32:21+02:00</created-at>
        <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes/19716"/>
        <link rel="job" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
      </note>
    </notes>
  </link>
  <link rel="problems" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems">
    <problems type='array'>
      <problem>
        <description></description>
        <dismissed type='boolean'>false</dismissed>
        <reporter>qinnpnjsiv</reporter>
        <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems/212"/>
        <link rel="job" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
      </problem>
      <problem>
        <description></description>
        <dismissed type='boolean'>false</dismissed>
        <reporter>api_user</reporter>
        <link rel="self" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems/213"/>
        <link rel="job" href="https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"/>
      </problem>
    </problems>
  </link>
</job>
{
  "resource_type": "job",
  "id": 12875,
  "name": "Ironman 2",
  "due_date": "2010-05-05",
  "begins_at": "2010-05-05",
  "ends_at": "2010-05-14",
  "licensor_name": "Warner",
  "status": "pending",
  "tasks_status": "pending",
  "assets_status": "not_received",
  "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875",
  "work_area_link": "https://sequence.bebanjo.net/api/work_areas/52",
  "assets_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets",
  "assets": {
    "entries": [
      {
        "resource_type": "asset",
        "type_name": "weppcckskw",
        "status": "pending",
        "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/assets/21747",
        "job_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"
      }
    ]
  },
  "tasks_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks",
  "tasks": {
    "entries": [
      {
        "resource_type": "task",
        "name": "ennhijbxka",
        "status": "pending",
        "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/tasks/55999",
        "job_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"
      }
    ]
  },
  "notes_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes",
  "notes": {
    "entries": [
      {
        "resource_type": "note",
        "body": "Wadus",
        "creator": "api_user",
        "created_at": "2010-04-22T17:32:21+02:00",
        "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/notes/19716",
        "job_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"
      }
    ]
  },
  "problems_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems",
  "problems": {
    "entries": [
      {
        "resource_type": "problem",
        "description": "",
        "dismissed": "false",
        "reporter": "api_user",
        "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems/212",
        "job_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"
      },
      {
        "resource_type": "problem",
        "description": "",
        "dismissed": "false",
        "reporter": "qinnpnjsiv",
        "self_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875/problems/213",
        "job_link": "https://sequence.bebanjo.net/api/work_areas/52/jobs/12875"
      }
    ]
  }
}