POST
/
fault
/
internal
curl --request POST \
  --url https://api.altostrat.io/faults/fault/internal \
  --header 'Content-Type: application/json' \
  --header 'X-Bearer-Token: <api-key>' \
  --data '{
  "start": "2023-11-07T05:31:56Z",
  "end": "2023-11-07T05:31:56Z",
  "type": "site",
  "site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
[
  {
    "start": 1689153600,
    "end": 123,
    "cause": "Disconnected",
    "resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
]

Authorizations

X-Bearer-Token
string
header
required

Internal microservice token passed in the header. Alternatively could be in 'Authorization: Bearer ...'.

Body

application/json

Internal fault timeline parameters

The body is of type object.

Response

200
application/json

Array of internal fault timeline results

The response is of type object[].