Project

General

Profile

Actions

Bug #19103

closed

Requesting a list on /arvados/v1/api_client_authorizations without a limit param returns an empty list

Added by Lucas Di Pentima 9 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Target version:
Start date:
05/11/2022
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-
Release relationship:
Auto

Description

While working on #16115 I realized that not adding a limit=N with N>0 param to a list query on ApiClientAuth objects seems to make the controller assume a zero value. The response is:

{"items":[],"kind":"arvados#apiClientAuthorizationList"}

We've probably forgot to set the default value on controller's side.


Subtasks 1 (0 open1 closed)

Task #19111: Review 19103-aca-list-default-limitResolvedLucas Di Pentima05/11/2022

Actions

Related issues

Related to Arvados - Feature #16115: Cannot create "sharing" links (missing wb1 feature)ResolvedLucas Di Pentima05/17/2022

Actions
Actions #1

Updated by Lucas Di Pentima 9 months ago

Updates at 9c3c0e4 - branch 19103-aca-list-default-limit
Test run: developer-run-tests: #3109

  • Fixes the default Limit list option for the APIClientAuthorizationList endpoint.
  • Adds test.
Actions #2

Updated by Tom Clegg 9 months ago

Aha! LGTM.

Actions #3

Updated by Lucas Di Pentima 9 months ago

  • Status changed from In Progress to Resolved
Actions #4

Updated by Lucas Di Pentima 8 months ago

  • Related to Feature #16115: Cannot create "sharing" links (missing wb1 feature) added
Actions

Also available in: Atom PDF