Compose Tree Rtt Test List
This API is prepared for updating the rtt_tested_architectures
key
in /rest_api/v1/composes/
API.
Documents & examples
Method: GET
URL: /rest_api/v1/compose-tree-rtt-tests/
Query params:
arch
(string)compose
(string)test_result
(string)variant
(string)ordering
(string) Comma separated list of fields for ordering results.- To sort by a field in descending order, prefix its name with minus (e.g.
-name
). - Use double underscores for nested field names (e.g.
parent__child
for{"parent": {"child": ...}}
).
- To sort by a field in descending order, prefix its name with minus (e.g.
Following filters can be used to show only specific fields. This can make
response time faster. Format is list or single value
(JSON: {"fields": ["a","b"]}
or {"fields": "a"}
, in URL: ?fields=a&fields=b
).
fields
(list | string) Fields to display (other fields will be hidden).exclude_fields
: (list | string) Fields NOT to display (overrulesfields
).
Response: a paged list of following objects
{
"arch (read-only)": "string",
"compose (read-only)": "string",
"test_result": "ComposeAcceptanceTestingState.name",
"variant (read-only)": "Variant.variant_uid"
}
Method: GET
URL: /rest_api/v1/compose-tree-rtt-tests/{compose_id}/{variant_uid}/{arch}/
Response:
{
"arch (read-only)": "string",
"compose (read-only)": "string",
"test_result": "ComposeAcceptanceTestingState.name",
"variant (read-only)": "Variant.variant_uid"
}
Method: PUT, PATCH
URL: /rest_api/v1/compose-tree-rtt-tests/{compose_id}/{variant_uid}/{arch}/
Data:
{
"test_result": "ComposeAcceptanceTestingState.name"
}
Response:
{
"arch (read-only)": "string",
"compose (read-only)": "string",
"test_result": "ComposeAcceptanceTestingState.name",
"variant (read-only)": "Variant.variant_uid"
}
It is possible to update multiple objects in one request. Use the PUT
or
PATCH
method with the same url as for listing/creating objects. The
request body should contain an object, where keys are identifiers of
objects to be modified and their values use the same format as normal
update.
Browsable GET
GET /rest_api/v1/compose-tree-rtt-tests/?page=11668
https://pdc.fedoraproject.org/rest_api/v1/compose-tree-rtt-tests/?page=11669", "previous": "https://pdc.fedoraproject.org/rest_api/v1/compose-tree-rtt-tests/?page=11667", "results": [ { "compose": "Fedora-Rawhide-20220408.n.2", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-Rawhide-20160307.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-Rawhide-20160420.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-Rawhide-20160507.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-Rawhide-20230414.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-Rawhide-20230428.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-Rawhide-20170903.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-Rawhide-20231003.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-26-20170617.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-24-20160303.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-Rawhide-20211111.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-Rawhide-20200601.n.1", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-29-20181008.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-Rawhide-20210930.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-Rawhide-20200113.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-34-20210423.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-Rawhide-20170213.n.1", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-37-20220812.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-Rawhide-20160508.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" }, { "compose": "Fedora-Rawhide-20170331.n.0", "variant": "Workstation", "arch": "x86_64", "test_result": "untested" } ] }{ "count": 239372, "next": "