[client] Add get_product(product_id) (GET /api/products/{id}) #152

Closed
opened 2026-10-27 09:41:07 +00:00 by mat · 0 comments
Owner

Detail read for a single catalogue product.

  • GET /api/products/{id} — 200, same shape as the list entry
    (live-verified 2026-10-11):

    {
      "id": 8, "name": "MONITOR_GEN_4", "brand": "COMWATT",
      "cardinality": 0,
      "features": [ { "id": 5, "code": "PLANNING", "featureName": "PLANNING" }, … ]
    }
    

Natural follow-up to #97 (catalogue methods). Not requested there to keep
that slice list-only; add this once a consumer needs a single product.

From the 2026-09 re-exploration lineage of energy.comwatt.com (see
docs/energy.comwatt.com/misc-endpoints.md). Re-verify against the live API
before relying on any claim.

Detail read for a single catalogue product. - `GET /api/products/{id}` — **200**, same shape as the list entry (live-verified 2026-10-11): ```jsonc { "id": 8, "name": "MONITOR_GEN_4", "brand": "COMWATT", "cardinality": 0, "features": [ { "id": 5, "code": "PLANNING", "featureName": "PLANNING" }, … ] } ``` Natural follow-up to #97 (catalogue methods). Not requested there to keep that slice list-only; add this once a consumer needs a single product. *From the 2026-09 re-exploration lineage of energy.comwatt.com (see docs/energy.comwatt.com/misc-endpoints.md). Re-verify against the live API before relying on any claim.*
mat closed this issue 2026-10-27 09:53:23 +00:00
Sign in to join this conversation.
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#152
No description provided.