Sofar logo
Sofar logo
Api
Collect telemetry data POST
Telemetry
POST
/v1/telemetry/query

Update an existing role PUT

A user can only execute this action if he is a member of an autorizing role which has *indirect* roleManagement rights for the updated role.

Activate email OTP POST

Activate email OTP after it was initialized by providing a received OTP, enabling it as a 2FA method

Authorization

accessBearerAuth
AuthorizationBearer <token>

In the value field below, fill in the access token. It has a 10 minutes validity period. A valid token can be obtained via the /accesstoken endpoint (call), AFTER authorization with refreshBearerAuth and the refresh token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.eniris.be/v1/telemetry/query" \  -H "Content-Type: application/json" \  -d '[    {      "select": [        "string"      ],      "from": {        "measurement": "string",        "database": "string",        "retentionPolicy": "string"      }    }  ]'
[
  {
    "statement_id": 0,
    "error": "string"
  }
]
{
  "statusCode": 400,
  "error": "Bad Request",
  "message": "Missing or misformatted query parameter or body"
}
{
  "statusCode": 401,
  "error": "Unauthorized",
  "message": "Failed to verify token"
}
{
  "statusCode": 429,
  "error": "Too many requests",
  "message": "You have exceeded the data volume of your api tier"
}

Execute up to 1000 telemetry queries