Verifying Versions

The /versions API endpoint provides information about the various Python libraries used to run the Releng API, as well as the versions of all installed blueprints. This is a useful endpoint to verify and monitor a deployment.

Types

REST type BlueprintInfo

Information about an installed Blueprint

Keys:
  • distribution (unicode) -- Python distribution containing this blueprint (always 'relengapi')

  • version (unicode) -- Version of the distribution

REST type DistributionInfo

Information about an installed Python distribution

Keys:
  • project_name (unicode) -- Name of the distribution

  • version (unicode) -- Version of the distribution

  • relengapi_metadata ({"...": unicode}) -- Additional RelengAPI-specific metadata (deprecated; always empty)

REST type VersionInfo

Information about installed software versions

Keys:
  • distributions ({"...": DistributionInfo}) -- All installed Python distributions, by project_name

  • blueprints ({"...": BlueprintInfo}) -- All installed blueprints, by name

Endpoints

endpoint GET /versions
Response Body:

VersionInfo