/advanced-alarms-microservice

Advanced alarms filter microservice for Cumulocity IoT platfom

Primary LanguageJavaScript

Advanced filter alarms microservice for Cumulocity IoT platform

Request structure

https://{tenant}.{instance}.com/service/bsk-alarms-filters/alarms?{...params}

/alarms endpoint

Available params

    // type could be used as type_* and will retrieve all the alarms which his type match with "type_" at the start
    {
        type: 'alarm type',
        severity: ["critical", "major"],
        status: ["active"],
        dateFrom: '2018-01-16T18:38:44.466+01:00',
        dateTo: '2018-01-16T18:38:44.466+01:00',
        source: '12323',
        fragmentType: '',
        value: ''
    }

Expected response

    {
        alarms: [
        ...alarms
        ]

    }