Passer au contenu principal
GET
/
locations
/
{locationId}
/
limits
Get a location's permanent limit and all priority profiles
curl --request GET \
  --url https://api.ridergy.com/v1/locations/{locationId}/limits \
  --header 'x-api-key: <api-key>'
{
  "locationId": "3632155",
  "permanentLimitKw": 100,
  "effectiveLimitKw": 50,
  "profiles": [
    {
      "priority": 5,
      "limitKw": 50,
      "startTime": "2023-11-07T05:31:56Z",
      "endTime": "2023-11-07T05:31:56Z"
    }
  ]
}

Autorisations

x-api-key
string
header
requis

Clé API par tenant. Le tenant est déterminé à partir de la clé — jamais à partir de la requête.

Paramètres de chemin

locationId
string
requis

Réponse

Limites du site

locationId
string
Exemple:

"3632155"

permanentLimitKw
number | null
Exemple:

100

effectiveLimitKw
number | null
Exemple:

50

profiles
object[]