indicator-controller

Modifies an already existing entity object of the specific type.

Changed on

This expects application/json format for the response data and verifies consistencies within the definition of the specific entity object type. Missing (NULL) parameter that are not mandatory will be ignored and the original value will not be affected

put/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)

Request body

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

Example request

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

Response

OK

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