Altinn / Altinn/app-frontend-react

QueryParams for ExternalApiClient

Open
#3,133 0 comments 0 reactions 0 assignees View on GitHub
kind/feature-request
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

### Description

In the ExternalApiClient interface there is a parameter called QueryParams, but it seems like it is not supported today. It would be great to add parameters here from frontend as in Konkursbehandling we use rolle/tilgangspakke to filter what the user should be able to fetch from the externalAPI.

![Image](https://github.com/user-attachments/assets/13e0a396-b577-4bbb-8ac5-6263e71ece3b)
![Image](https://github.com/user-attachments/assets/6f7d19f6-be66-41c1-8371-b0ff6d093596)

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the ExternalApiClient interface and every reference to its QueryParams parameter in the TypeScript frontend. Trace how external API requests are built; done means frontend-supplied rolle/tilgangspakke values reach the external API so its results can be filtered accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.