dakweb

General

The Debian Archive Kit web api, AKA the FTP-Master api, allows anyone to query the database of the Debian archive kit for information related to the archive. That is, it provides information about the archive, its suites and all the packages.

Note

The API is still new and we are adding new features whenever someone asks for them. Or better yet, provides a patch. The APIs code lives in the DAK codebase, if you want to provide a patch with a new feature, or fix a bug, feel free to fork it on Salsa and send us a merge request:

https://salsa.debian.org/ftp-team/dak/

Usage

The API responds to simple http queries and (usually) replies with JSON formatted data. Some commands may require an extra parameter to output JSON (notably the madison one).

https://api.ftp-master.debian.org/ is the base path for all requests.

The api is implemented with FastAPI, which serves interactive, automatically generated documentation describing every available method, its input parameters and its output format. Browse it at the /docs (Swagger UI) or /redoc paths of a running instance. The routes live in the dakweb.routers module.

@contact: “Debian FTPMaster <ftpmaster@debian.org>”.

Modules

fastapi_main

routers