Software Distribution Objects#

Software Distribution objects (distros) are used to collect information about a software distribution. For example, which repos hold packages and what packaging scheme is used.

When issuing requests, the UID field in the URL can be either the actual UID of the object or the name of the object as given in the "name" field.

Data Fields#

Admin objects have several fields:

name
     Required: the name of the user on the underlying system

description
     Optional: A text string with descriptive information

repos
     Optional: A list of one or more Software Repository objects

packaging
     Optional: A string representing the packaging scheme:  rpm, deb, apk; if it cannot
               be inferred from other data, “rpm” will be assumed

release
     Optional: A string representing the name of the release

Additional Endpoints#

There are no additional endpoints for distros; the basic operations all function as expected. For example, GET /distro/<UID> will return information about the distro.