Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
155 lines (137 sloc) 3.44 KB

Data Reference

The following sections describe the different data types used by the Backpack API.

Email

<email id='5' title='My Subject' created_at='2007-07-03 19:15:55'>
  My body!
</email>

List item

<item id='1' list_id='1' completed='false'>Hello world!</item>

Note

<note id='1133' title='Your world!' created_at='2007-07-03 19:20:00'>
  Also pretty
</note>

Page

<page title='Ajax Summit' id='1133' email_address='ry87ib@backpackit.com'>
  <belongings>
    <belonging id='783'>
      <position>1</position>
      <widget type='Note' id='1019' />
    </belonging>
    <belonging id='784'>
      <position>2</position>
      <widget type='Note' id='1020' />
    </belonging>
    <belonging id='785'>
      <position>3</position>
      <widget type='List' id='937' />
    </belonging>
    <belonging id='786'>
      <position>4</position>
      <widget type='Gallery' id='2873' />
    </belonging>
    <belonging id='787'>
      <position>5</position>
      <widget type='Asset' id='60887' />
    </belonging>
  </belongings>
  <notes>
    <note title='' id='1019' created_at='2005-05-14 16:39:02'>
      With O'Reilly and Adaptive Path
    </note>
    <note title='Hotel' id='1020' created_at='2005-05-14 16:41:11'>
      Staying at the Savoy
    </note>
  </notes>
  <lists>
    <list id='937' name='Trip to SF'>
      <items>
        <item id='3308' completed='false'>See San Francisco</item>
        <item id='3303' completed='true'>Meet interesting people</item>
        <item id='3307' completed='true'>Present Backpack</item>
      </items>
    </list>
  </lists>
  <galleries>
    <gallery id='2873' name='Around the town'>
      <images>
        <image id='88278' file_name='parrots.jpg' gallery_id='2873' description='Wild parrots of Telegraph Hill' />
      </images>
    </gallery>
  </galleries>
  <attachments>
    <attachment id='60887' file_name='itinerary.pdf' />
  </attachments>
  <tags>
    <tag name='Technology' id='4' />
    <tag name='Travel' id='5' />
  </tags>
</page>

Reminder

<reminder id="6">
  <remind_at>2007-09-03 15:59:00</remind_at>
  <content>World!</content>
  <creator id="456" name="Jane D." />
  <remindees>
    <user id="123" name="John D." />
    <user id="789" name="Foo B." />
  </remindees>
</reminder>

User

<user id="1234" name="John Doe" account="mybackpack">
  <pages>
    <page>...</page>
  </pages>
  <reminders>
    <reminder>...</reminder>
  </reminders>
</user>

Calendar

<calendar>
  <account-id type="integer">11</account-id>
  <color>000099</color>
  <created-at type="datetime">2006-09-27T20:32:15Z</created-at>
  <ical-subscription-url></ical-subscription-url>
  <id type="integer">5</id>
  <name>Personal</name>
  <token>520</token>
  <updated-at type="datetime">2006-09-27T20:32:15Z</updated-at>
</calendar>

Calendar Event

<calendar-event>
  <all-day type="boolean">true</all-day>
  <calendar-id type="integer">5</calendar-id>
  <created-at type="datetime">2006-09-21T20:59:19Z</created-at>
  <id type="integer">21</id>
  <message>dinner with lisa</message>
  <occurs-at type="datetime">2006-10-06T00:00:00Z</occurs-at>
  <occurs-until type="datetime"></occurs-until>
  <remind type="boolean">false</remind>
  <reminded-at type="datetime"></reminded-at>
  <title>dinner with lisa</title>
  <updated-at type="datetime">2006-09-21T20:59:19Z</updated-at>
</calendar-event>
Something went wrong with that request. Please try again.