Project

General

Profile

Actions

action #121102

closed

coordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes

coordination #92854: [epic] limit overload of openQA webUI by heavy requests

action #97190: Limit size of initial requests everywhere, e.g. /, /tests, etc., over webUI and API

action #119428: Ensure users can get all the data for limited queries, e.g. with pagination

Add pagination for GET /api/v1/jobs size:M

Added by kraih about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Proper pagination is planned for every query and API route in #119428. After #120841 has been implemented we now have a prototype to replicate. So this needs to be done for GET /api/v1/jobs.

Acceptance criteria

  • AC1: API endpoint GET /api/v1/jobs has pagination

Suggestions


Related issues 4 (2 open2 closed)

Related to openQA Project (public) - action #122959: Add pagination for /api/v1/jobs with latest=1 feature activeNew2023-01-11

Actions
Copied from openQA Project (public) - action #121099: Add pagination for GET /api/v1/jobs/<job_id:num>/commentsNew

Actions
Copied to openQA Project (public) - action #121105: Add pagination for GET /api/v1/test_suites, GET /api/v1/test_suites/:id, GET /api/v1/machines, GET api/v1/machines/:id, GET /api/v1/products, GET /api/v1/products:id size:MResolvedkraih

Actions
Copied to openQA Project (public) - action #121108: Add pagination for GET /api/v1/workersResolvedkraih

Actions
Actions #1

Updated by kraih about 2 years ago

  • Copied from action #121099: Add pagination for GET /api/v1/jobs/<job_id:num>/comments added
Actions #2

Updated by kraih about 2 years ago

  • Copied to action #121105: Add pagination for GET /api/v1/test_suites, GET /api/v1/test_suites/:id, GET /api/v1/machines, GET api/v1/machines/:id, GET /api/v1/products, GET /api/v1/products:id size:M added
Actions #3

Updated by kraih about 2 years ago

  • Copied to action #121108: Add pagination for GET /api/v1/workers added
Actions #4

Updated by kraih about 2 years ago

  • Assignee deleted (kraih)
Actions #5

Updated by okurz about 2 years ago

  • Due date deleted (2022-12-07)
  • Target version changed from future to Ready
  • Start date deleted (2022-11-22)
Actions #6

Updated by dheidler almost 2 years ago

  • Assignee set to dheidler
Actions #7

Updated by mkittler almost 2 years ago

  • Subject changed from Add pagination for GET /api/v1/jobs to Add pagination for GET /api/v1/jobs size:M
  • Description updated (diff)
  • Status changed from New to Workable
Actions #9

Updated by dheidler almost 2 years ago

  • Status changed from Workable to Feedback
Actions #10

Updated by okurz almost 2 years ago

  • Due date set to 2023-01-18

dheidler can you add the comment to the git comment and handle https://github.com/os-autoinst/openQA/pull/4964/files#r1060660506 and as suggested or should we take over?

Actions #11

Updated by kraih almost 2 years ago

Feel free to reassign the ticket to me if you don't have time to clean up the PR yourself.

Actions #12

Updated by dheidler almost 2 years ago

  • Assignee changed from dheidler to kraih

Thanks, please take over.

Actions #13

Updated by kraih almost 2 years ago

  • Status changed from Feedback to In Progress
Actions #14

Updated by kraih almost 2 years ago

  • Status changed from In Progress to Feedback
Actions #15

Updated by kraih almost 2 years ago

I've made a followup ticket regarding the lack of latest=1 support: #122959

Actions #16

Updated by kraih almost 2 years ago

  • Related to action #122959: Add pagination for /api/v1/jobs with latest=1 feature active added
Actions #17

Updated by kraih almost 2 years ago

  • Status changed from Feedback to Resolved
Actions #18

Updated by okurz almost 2 years ago

  • Due date deleted (2023-01-18)
Actions

Also available in: Atom PDF