__init__.py 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. """
  2. General
  3. =======
  4. The Debian Archive Kit web api, AKA the **FTP-Master api**, allows
  5. anyone to query the database of the Debian archive kit for information
  6. related to the archive. That is, it provides information about the
  7. archive, its suites and all the packages.
  8. Development
  9. -----------
  10. .. note::
  11. The API is still new and we are adding new features
  12. whenever someone asks for them. Or better yet, provides a patch.
  13. The APIs code lives in the DAK codebase, if you want to provide
  14. a patch with a new feature, or fix a bug, feel free to fork it on
  15. Salsa and send us a merge request::
  16. https://salsa.debian.org/ftp-team/dak/
  17. Usage
  18. =====
  19. The API responds to simple http queries and (usually) replies with
  20. JSON formatted data. Some commands may require an extra parameter to
  21. output JSON (notably the madison one).
  22. ``https://api.ftp-master.debian.org/`` is the base path for all
  23. requests.
  24. Available Methods
  25. -----------------
  26. The list of available methods can be seen by browsing the
  27. automatically generated documentation for the :mod:`dakweb.queries`
  28. module. There are various submodules dealing with different parts of
  29. the api. Every *public* function of those modules corresponds to
  30. one available method. The input parameters and the output format are
  31. documented with each of those functions.
  32. @contact: "Debian FTPMaster <ftpmaster@debian.org>".
  33. """