Vai al contenuto principale
GET
/
clusters
List clusters
curl --request GET \
  --url https://api.ridergy.com/v1/clusters \
  --header 'x-api-key: <api-key>'
{
  "clusters": [
    {
      "clusterId": "clst_20260612_a1b2c3d4",
      "tenantUuid": "<string>",
      "name": "North Campus",
      "locationIds": [
        "3632155",
        "3632156"
      ],
      "limitKw": 200,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "count": 2
}

Autorizzazioni

x-api-key
string
header
obbligatorio

Chiave API per-tenant. Il tenant viene derivato dalla chiave — mai dalla richiesta.

Risposta

Cluster

clusters
object[]
count
integer
Esempio:

2