API Alarm Commands
The IPFusion API can retrieve details about active alarms in your project. The below commands use JSON elements to specify parameters and to send the response information. Each one is appended to the URL for the Runtime it is connecting to.
/api/Alarms/Types
This GET command retrieves a list of available alarm type IDs in the project.
Responses
| Code | Description |
|---|---|
| 200 | The request succeeded and the ID list is returned. |
| 404 | Alarms do not exist. |
/api/Alarms/Types/{id}
This GET command retrieves the details for a specific alarm type ID.
Parameters
| Name | Description |
|---|---|
| id | The ID for the alarm type in the project. |
Responses
| Code | Description |
|---|---|
| 200 | The request succeeded and the details for the alarm type are returned. |
| 404 | This alarm type does not exist. |
