Project

General

Profile

Actions

action #122959

open

Add pagination for /api/v1/jobs with latest=1 feature active

Added by kraih over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2023-01-11
Due date:
% Done:

0%

Estimated time:

Description

Motivation

With #121102 finished and the PR https://github.com/os-autoinst/openQA/pull/4979 merged we now have pagination for most of the /api/v1/jobs endpoint, but it is explicitly deactivated if latest=1 is activated. Finding a solution will be tricky because the returned database rows are correlated in Perl code, reducing their number, often significantly. The code responsible is also used in multiple places.

Accepance criteria

  • AC1: Pagination for /api/v1/jobs now works with latest=1 active

Suggestions

  • Maybe find a way to move the correlation code from Perl to SQL

Related issues 1 (0 open1 closed)

Related to openQA Project - action #121102: Add pagination for GET /api/v1/jobs size:MResolvedkraih

Actions
Actions #1

Updated by kraih over 1 year ago

  • Related to action #121102: Add pagination for GET /api/v1/jobs size:M added
Actions

Also available in: Atom PDF