OpenBankProject / OpenBankProject/OBP-API

Limit for getConsumers

Open
#816 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
1.7k
Forks
482
Avg merge
1d 12h
Merged PRs (30d)
15

Description

Retrieving the list of all consumers (getConsumers) can be slow on busy sandboxes, e.g. https://apisandbox.openbankproject.com, which is crippling the experience using the API Manager, as @ichaib can confirm. It would be nice if some sort of pagination would be possible with limit and offset, similar to getMetrics.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the getConsumers API entry point and comparing its current behavior with getMetrics, which is cited as the pagination example. Check how limit and offset are represented and tested for similar endpoints. Done means getConsumers can paginate consumer results with both parameters without requiring the full list.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.