Find Compose By Release Rpm List
This API endpoint allows finding all composes that contain the package (and include its version) for a given release and srpm_name
Documents & examples
This method allows listing all (compose, package) pairs for a given release and RPM name.
The ordering of composes is performed by the productmd library. It
first compares compose date, then compose type
(test
< nightly
< production
) and lastly respin.
latest
is optional parameter. If it is provided, and the value is True, it will
return a single pair with the latest compose and its version of the packages.
to_dict
is optional parameter, accepted values (True, 'true', 't', 'True', '1'),
or (False, 'false', 'f', 'False', '0'). If it is provided, and the value is True,
packages' format will be as a dict.
Method: GET
URL: /rest_api/v1/rpc/find-compose-by-release-rpm/{release_id}/{rpm_name}/
Query params:
excluded_compose_type
included_compose_type
latest
to_dict
Response:
[
{
"compose": string,
"packages": [string]
},
...
]
The list is sorted by compose: oldest first.
Browsable GET
GET /rest_api/v1/rpc/find-compose-by-release-rpm/%7Brelease_id%7D/%7Brpm_name%7D/
[]