Project

General

Profile

Actions

action #120841

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/assets 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:
2022-11-22
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Proper pagination as planned in #119428 is a much better solution to the problem described in #119431. So we use the API endpoint GET /api/v1/assets, which has recently become a problem in #120315, to work out the specifics for how we want pagination to look like in the API. Later this can be replicated for all other API endpoints with limits.

Acceptance criteria

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

Suggestions

  • Take inspiration from GitHub and GitLab regarding query parameters and Link headers
  • Once this has been implemented add more tickets linked to #119428 for other API endpoints

Related issues 3 (1 open2 closed)

Related to openQA Project - action #119431: Inform users e.g. in the webUI if not all results are returned size:MWorkable2022-10-26

Actions
Related to openQA Project - action #120315: openqa-client does not get complete asset list size:SResolvedokurz2022-11-11

Actions
Copied to openQA Project - action #121048: Add pagination for GET /api/v1/bugsResolvedkraih2022-11-22

Actions
Actions

Also available in: Atom PDF