Debbugs' SOAP Interface Documentation

Please help to keep this documentation up to date!

URL and Namespace

http://bugs.debian.org/cgi-bin/soap.cgi is the official SOAP interface for Debian's BTS.

http://bugs.donarmstrong.com/cgi-bin/soap.cgi is the development version.

The namespace is Debbugs/SOAP

Available methods for bugs.debian.org

http://bugs.debian.org/debbugs-source/mainline/Debbugs/SOAP.pm

get_status(bugnumber [, bugnumber]*)
returns the status if the given bugs
get_bugs
returns bar

Available methods for bugs.donarmstrong.com

Examples

Python

   1 #!/usr/bin/env python
   2 
   3 
   4 import SOAPpy
   5 
   6 url = 'http://bugs.debian.org/cgi-bin/soap.cgi'
   7 namespace = 'Debbugs/SOAP'
   8 server = SOAPpy.SOAPProxy(url, namespace)
   9 
  10 # some debug output
  11 #server.config.dumpSOAPOut = 1
  12 #server.config.dumpSOAPIn = 1
  13 
  14 
  15 def getStatus(*args):
  16         result = server.get_status(*args)
  17         return result
  18 
  19 def getBugs(*args):
  20         result = server.get_bugs(*args)
  21         return result
  22 
  23 # All bugs from one package (returns a list of bugnumbers)
  24 print getBugs("package", "gtk-qt-engine")
  25 
  26 # returns the status of those bugs
  27 print getStatus(409909, 419920, 421581, 417044, 397993)
  28 
  29 # getStatus and getBugs combined:
  30 getStatus(getBugs("package", "gtk-qt-engine"))

FAQ