GET /sites
Changed onReturn all sites linked to your account
Request
- Base URLhttps://api.amber.com.au/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
A list of sites.
Example response
[
{
"id": "01F5A5CRKMZ5BCX9P1S4V990AM",
"nmi": "3052282872",
"channels": [
{
"identifier": "E1",
"type": "general",
"tariff": "A100"
}
],
"network": "Jemena",
"status": "active",
"activeFrom": "2022-01-01",
"closedOn": "2022-05-01"
}
]Changes
- info
api operation id
getSiteswas added
- info
- breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- breaking