Web Interface

Additionally to the REST API, the Fatbuildrweb component provides HTML pages to explore tasks archives and the content of the registries in a graphical user interface with a web browser. The following section gives the list of all available HTML pages endpoints in Fatbuildrweb.

For consistency with the REST API, HTML endpoints are associated to permission actions in Fatbuildrweb policy. Currently, authentication is not supported in Fatbuildrweb HTML endpoints. Therefore, all accesses to the HTML endpoints with a browser are performered with anonymous role. This implies that if a permission action is not permitted to the anonymous role by the policy, the accesses to the HTML endpoints associated to this permission action are refused with a HTTP/403 Forbidden response.

HTML Endpoints

Instances

List of Available Instances

GET /

The list of defined Fatbuildr instances

No permission action required.

This endpoint is not available when Fatbuildrweb component runs in mono-instance mode.
All the following API endpoints are composed of the instance path parameter as they manipulate data from a specific instance. However, this instance path attribute is not required when Fatbuildrweb component runs in mono-instance mode. In this mode, all the following endpoints must be considered without the instance path attribute.

Registry

Registry Formats

GET /{instance}/registry/

Permission action: view-registry

This web page contains the following elements:

  • The list of formats for which artifacts have been published in the registry of this instance.

  • The list of pending and running tasks for this instance.

  • The list of the 10 last tasks for this instance.

Path Parameters
Name Description Type Example

instance

Name of Fatbuildr instance

string

prod or default

Format Distributions

GET /{instance}/registry/{format}/

This web page contains the list of distributions for which artifacts have been published in this instance registry for this format.

Path Parameters
Name Description Type Example

instance

Name of Fatbuildr instance

string

prod or default

format

Artifact format name

string

deb or rpm

Distribution Derivatives

GET /{instance}/registry/{format}/{distribution}/

Permission action: view-registry

This web page contains the list of derivatives for which artifacts have been published in this instance registry for this format and this distribution.

Path Parameters
Name Description Type Example

instance

Name of Fatbuildr instance

string

prod or default

format

Artifact format name

string

deb or rpm

distribution

Distribution name

string

bullseye or el8

Derivative Artifacts

GET /{instance}/registry/{format}/{distribution}/{derivative}/

This web page contains the list of artifacts published in this instance registry for this format, distribution and derivative.

Path Parameters
Name Description Type Example

instance

Name of Fatbuildr instance

string

prod or default

format

Artifact format name

string

deb or rpm

distribution

Distribution name

string

bullseye or el8

derivative

Name of distribution derivative

string

main

Artifact Information

GET /{instance}/registry/{format}/{distribution}/{derivative}/{architecture}/{artifact}

Permission action: view-registry

This web page contains the information about a specific artifact published in a registry. If this is a source artifact (ie. architecture is src), the list of all subsequent binary artifacts is provided. If this is binary artifact, the corresponding source artifact is indicated. The page also contains the changelog and the content (ie. list of files) of the artifact, when possible.

Path Parameters
Name Description Type Example

instance

Name of Fatbuildr instance

string

prod or default

format

Artifact format name

string

deb or rpm

distribution

Dis$tribution name

string

bullseye or el8

derivative

Name of distribution derivative

string

main

architecture

Name of CPU architecture of the artifact. The special value src refers to source artifact used as input to produce binary artifacts. The special value noarch refers to architecture independant artifacts.

string

x86_64, src or noarch

GET /{instance}/search

Permission action: view-registry

The search results for a given part of artifact name. All founds artifacts are classified by respective formats, distributions and derivatives.

Path Parameters
Name Description Type Example

instance

Name of Fatbuildr instance

string

prod or default

Query Parameters
Name Description Type Required Example

artifact

Part of artifact name to search. All artifacts whose name contains this parameter are selected in results.

string

fatbuildr

Tasks

Task Output

GET /{instance}/watch/{task}.html

Permission action: view-task

This web page contains the outputs of a given task.

Path Parameters
Name Description Type Example

instance

Name of Fatbuildr instance

string

prod or default

task

Task UUID

uuid