Hub Client Info
Overview
Hub Client Info lets parties connected to a hub see which other parties are online, so a CPO knows which EMSPs it can reach and the other way round. The hub owns the data and pushes a ClientInfo object to each connected party whenever a party changes status, and a party can also GET the full list from the hub to resync.
Hub
Connected parties (CPO, EMSP)
Key Fields
| Field | Type | Description |
|---|---|---|
party_id | CiString(3) | Party ID of the connected party |
country_code | CiString(2) | Country the connected party operates in |
role | Role | The role of the connected party |
status | ConnectionStatus | CONNECTED, OFFLINE, PLANNED, or SUSPENDED |
last_updated | DateTime | When this ClientInfo last changed |
Endpoints
/ocpi/2.2.1/clientinfo/
/ocpi/2.2.1/clientinfo/{country_code}/{party_id}
/ocpi/2.2.1/clientinfo/{country_code}/{party_id}
Live Endpoint Tester
Send requests directly to the local backend and see the response.