📝 fix: gateway reads are no longer 403 for END_USER #59

Merged
mat merged 1 commit from docs/gateways-enduser-access into main 2026-09-06 17:07:46 +00:00
Owner

Live re-verification on 2026-09-06 (probe account, 1 site, 6 gateways: 3 × POWER_GEN_4, 2 × MONITOR_GEN_4 SmartPlugs, 1 × ACCESSORY):

  • GET /api/gateways/by-gateway-uid/{uid} → 200 on all 6 uids
  • GET /api/gateways/{id} → 200 on all 6 ids
  • GET /api/gateways/{id}/with-sales-company → 200 on all 6 ids

Changes

  • devices.md — Gateways section rewritten: the three reads annotated 200 for END_USER, gateway document shape documented (key names only, no personal values), dated correction block in the style of #58
  • README.md — gateway-by-uid dropped from the list of 403 role-forbidden endpoints
  • ROADMAP.md — §1 checkbox drained

Tests: 132/133 green; the single failure (test_version_matches_installed_metadata) pre-exists on main (installed egg-info 0.4.2 vs code 0.4.3) and is unrelated (docs-only change).

Resolves ROADMAP item §1 (gateways no longer 403).

Live re-verification on **2026-09-06** (probe account, 1 site, 6 gateways: 3 × `POWER_GEN_4`, 2 × `MONITOR_GEN_4` SmartPlugs, 1 × `ACCESSORY`): - `GET /api/gateways/by-gateway-uid/{uid}` → **200** on all 6 uids - `GET /api/gateways/{id}` → **200** on all 6 ids - `GET /api/gateways/{id}/with-sales-company` → **200** on all 6 ids **Changes** - `devices.md` — Gateways section rewritten: the three reads annotated `200 for END_USER`, gateway document shape documented (key names only, no personal values), dated correction block in the style of #58 - `README.md` — `gateway-by-uid` dropped from the list of 403 role-forbidden endpoints - `ROADMAP.md` — §1 checkbox drained Tests: 132/133 green; the single failure (`test_version_matches_installed_metadata`) pre-exists on `main` (installed egg-info 0.4.2 vs code 0.4.3) and is unrelated (docs-only change). Resolves ROADMAP item §1 (gateways no longer 403).
📝 fix: gateway reads are no longer 403 for END_USER — document verified 200s
All checks were successful
Tests / forgejo-pytest (push) Successful in 58s
Tests / forgejo-pytest (pull_request) Successful in 1m12s
e99828e58b
Live re-verification on 2026-09-06 (probe account, 1 site, 6 gateways:
3 × POWER_GEN_4, 2 × MONITOR_GEN_4 SmartPlugs, 1 × ACCESSORY):
- GET /api/gateways/by-gateway-uid/{uid} → 200 on all 6 uids
- GET /api/gateways/{id} → 200 on all 6 ids
- GET /api/gateways/{id}/with-sales-company → 200 on all 6 ids

Documented the gateway document's shape (key names only — no personal
values), dropped gateway-by-uid from the README's list of 403
role-forbidden endpoints.

Resolves ROADMAP item §1 (gateways no longer 403).
mat merged commit ea844e5c73 into main 2026-09-06 17:07:46 +00:00
mat deleted branch docs/gateways-enduser-access 2026-09-06 17:07:46 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mat/python-comwatt-client!59
No description provided.