跳转到主要内容
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
}

授权

x-api-key
string
header
必填

按租户分配的 API 密钥。租户信息从密钥中获取——绝不来自请求本身。

响应

集群列表

clusters
object[]
count
integer
示例:

2