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 over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Target version:
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/2022Actions

Related issues

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

Updated by Lucas Di Pentima over 2 years 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 over 2 years ago

Aha! LGTM.

Actions #3

Updated by Lucas Di Pentima over 2 years ago

  • Status changed from In Progress to Resolved
Actions #4

Updated by Lucas Di Pentima over 2 years ago

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

Also available in: Atom PDF