indicator-controller

Create indicator

Changed on

Creates indicator from application/x-www-form-urlencoded fields matching Indicator.

post/admin-api/v1/indicator

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/admin-api/v1/indicator
  • Auth: oauth (defined in the document in a form this page cannot read)

Query parameters

institutionIdinteger

The institution identifier of the request. Default is the institution identifier of the institution of the current user

Response

Created indicator.

idinteger
examIdinteger required
namestring required
type'UNKNOWN' | 'LAST_PING' | 'ERROR_COUNT' | 'WARN_COUNT' | 'INFO_COUNT' | 'BATTERY_STATUS' | 'WLAN_STATUS' required
colorstring
iconstring
tagsstring

Example response

{
  "thresholds": [
    {
      "value": 50,
      "color": "ff9800"
    }
  ]
}

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status