POST
/
v1
/
general
/
metrics
curl --request POST \
  --url https://ctl.prod.nuon.co/v1/general/metrics \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "decr": {
      "name": "<string>",
      "tags": [
        "<string>"
      ]
    },
    "event": {
      "event": {
        "aggregationKey": "<string>",
        "alertType": "info",
        "hostname": "<string>",
        "priority": "normal",
        "sourceTypeName": "<string>",
        "tags": [
          "<string>"
        ],
        "text": "<string>",
        "timestamp": "<string>",
        "title": "<string>"
      }
    },
    "incr": {
      "name": "<string>",
      "tags": [
        "<string>"
      ]
    },
    "timing": {
      "name": "<string>",
      "tags": [
        "<string>"
      ],
      "value": 123
    }
  }
]'
"<string>"

Authorizations

Authorization
string
headerrequired

Type "Bearer" followed by a space and token.

Body

application/json · object[]
decr
object
event
object
incr
object
timing
object

Response

200 - application/json

The response is of type string.