Skip to content

Fetch a single Easee charger by id#42

Merged
bforma merged 1 commit into
mainfrom
add-single-charger-lookup
Jul 14, 2026
Merged

Fetch a single Easee charger by id#42
bforma merged 1 commit into
mainfrom
add-single-charger-lookup

Conversation

@bforma

@bforma bforma commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Voegt Client#charger(id) toe: één GET /api/chargers/{id} die een Charger teruggeeft (incl. productCode), zodat callers voor het resolven van één laadpaal niet de hele account-lijst hoeven te pagineren.

Nodig voor de charge-point-model-resolutie in StekkerWeb (stekker/stekker#8245): per lader één API-call i.p.v. de volledige lijst. De single-charger-response is op productie geverifieerd — die bevat productCode (bevestigd met een echte Charge Pro: productCode: 103).

Resolving one charge point at a time only needs that charger's data
(notably its productCode), so expose GET /api/chargers/{id} instead of
forcing callers to page the whole account listing.
@bforma
bforma merged commit c2dbbcd into main Jul 14, 2026
1 check passed
@bforma
bforma deleted the add-single-charger-lookup branch July 14, 2026 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant