User:LesOrchard/BandwagonAPI: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 35: Line 35:


==== /api/1.3/sharing/ ====
==== /api/1.3/sharing/ ====
Content Type: [[#Service_Document]]
 
Service Document
Content Type: [[#Service Document]]


* GET
* GET

Revision as of 17:31, 4 February 2009

Bandwagon API

Authentication

AMOv3 cookie session ID

HTTP basic auth with email/pass

Content Types

Service Document

  • collections
    • writable?
    • subscribed?
  • email sharing URL
  <collections xmlns="http://addons.mozilla.org/">
      <collection 
          href="http://addons.mozilla.org/api/1.3/sharing/collections/98404f20-f2e0-11dd-9121-3307c31c9566" 
          title=""
          writable="yes" subscribed="yes" 
          lastmodified="2009-01-04T00:10:00Z" />
      <collection href="http://..." 
          title=""
          writable="yes" subscribed="yes" 
          lastmodified="2009-01-04T00:10:00Z" />
  </collections>

Addon Collection

Subscription List

Resources

/api/1.3/sharing/

Content Type: #Service Document

  • GET
  • POST

/api/1.3/sharing/collections

/api/1.3/sharing/collections/{uuid}

/api/1.3/sharing/subscriptions/{username}