GET /api/public/v1/alarms/{id}
{ "orderBy": "alarms.name", "orderDirection": false, "page": 1, "paginationSize": 10 }
curl --location '/api/public/v1/alarms/paginate' \ --header 'Content-Type: application/json' \ --data '{ "orderBy": "alarms.name", "orderDirection": false, "page": 1, "paginationSize": 10 }'
{ "rows": [ { "id": 1, "name": "High temperature", "type": "basic", "function": "AND", "up": true, "disabled": false, "createdAt": "2025-03-19 08:14:02", "updatedAt": "2025-03-24 17:41:55" }, { "id": 2, "name": "Sensor inactivity", "type": "inactivity", "function": "OR", "up": false, "disabled": false, "createdAt": "2025-03-19 09:02:11", "updatedAt": "2025-03-19 09:02:11" } ], "count": 2 }