Saltar para o conteúdo 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"
    }
  ]
}

Autorizações

x-api-key
string
header
obrigatório

Chave de API por tenant. O tenant é derivado da chave — nunca da requisição.

Parâmetros de caminho

locationId
string
obrigatório

Resposta

Limites do local

locationId
string
Exemplo:

"3632155"

permanentLimitKw
number | null
Exemplo:

100

effectiveLimitKw
number | null
Exemplo:

50

profiles
object[]