Project

General

Profile

Actions

action #71977

open

Include currently running jobs in jobs overview API call

Added by ph03nix over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2020-09-28
Due date:
% Done:

0%

Estimated time:

Description

Currently, when performing a jobs overview API call (e.g. https://openqa.suse.de/api/v1/jobs/overview?test=mau-filesystem), the API returns only completed tests and skips currently running ones:


Here all SLE15 and some SLE12 variants are missing, because they are running at the moment. This is not nice, as it prevents this API call to be used for searching for the latest run of a certain test (e.g. search latest mau-filesystem tests)

Hence my suggestion to modify the API to include the currently running ones as well.

Furthermore I suggest to also add a parameter (e.g. state=completed), where one can select if we want the currently running ones, or the last completed ones - e.g.


Files

Actions

Also available in: Atom PDF