darkserver (0.2) API documentation

Alpha Version of the service

This is a alpha version. The following calls are already working in the service.

Index of the calls

Terminology

Call to find server version

URL: http://server/serverversion

  • The call will return a dictionary like {'server-version':'0.1'}

Call to get GNU build-id details

URL: http://server/buildids/someid

  • The call will return a dictionary of build-id details of xyz and abc

Call to get GNU build-id details of an RPM

URL: http://server/rpm2buildids/rpmname

  • The call will return a dictionary of build-id details of given rpm

Call to get download url of a RPM

URL: http://server/package/rpmname

  • The call will return a dictionary of the download url