Diff for "API"

Not logged in - Log In / Register

Differences between revisions 33 and 34
Revision 33 as of 2010-06-25 11:48:47
Size: 1995
Editor: 82-71-93-254
Comment:
Revision 34 as of 2010-08-17 05:54:13
Size: 2107
Editor: ppp112-44
Comment: link to internal api
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
''Note: This page discusses the Launchpad web service API from the perspective of developer wanting to use the API. If you want to help develop the API, see the [[https://dev.launchpad.net/API|Launchpad dev wiki]] instead. If you would like to find or share hints on being an end-user of a launchpadlib-based application, see /EndUserHints'' ''Note: This page discusses the Launchpad web service API from the perspective of developer wanting to use the API. If you want to help develop the API, see the [[https://dev.launchpad.net/API|Launchpad dev wiki]] instead. If you would like to find or share hints on being an end-user of a launchpadlib-based application, see [[EndUserHints]]. If you're looking for the _internal_ API documentation, see http://people.canonical.com/~mwh/canonicalapi/''

Launchpad web services API

Note: This page discusses the Launchpad web service API from the perspective of developer wanting to use the API. If you want to help develop the API, see the Launchpad dev wiki instead. If you would like to find or share hints on being an end-user of a launchpadlib-based application, see EndUserHints. If you're looking for the _internal_ API documentation, see http://people.canonical.com/~mwh/canonicalapi/

The Launchpad website lets you learn about and manage bugs, projects, questions, and other artefacts of software development. These same objects are gradually being exposed through a web service, so that you can access them from scripts, applications, or other websites, in addition to accessing them through the Launchpad website. The service is designed around the principles of REST, with the goals of simplicity and transparency.

  • Most users will be happy with launchpadlib, the official Python client library for Launchpad's web service.

   >>> me = launchpad.me
   >>> me.display_name = 'My new display name'
   >>> me.lp_save()
  • Users who aren't Python programmers, or who are interested in the inner workings of the web service, should read the hacking document.

   PATCH /beta/+me HTTP/1.1
   Host: api.edge.launchpad.net
   Content-type: application/json

   { "display_name" : "My new display name" }

API (last edited 2023-07-06 08:24:58 by ines-almeida)