| Crates.io | p7m-alarm |
| lib.rs | p7m-alarm |
| version | 0.3.0 |
| created_at | 2022-08-11 01:52:58.0311+00 |
| updated_at | 2025-05-04 10:15:10.805692+00 |
| description | ## API for generating and tracking alarms This is the API of what P7M mainly uses within the Telfas service. |
| homepage | |
| repository | https://github.com/projekt7m/alarm-rust |
| max_upload_size | |
| id | 643027 |
| size | 178,578 |
This is the API of what P7M mainly uses within the Telfas service.
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
org.openapitools.codegen.languages.RustClientCodegenPut the package under your project folder in a directory named p7m-alarm and add the following to Cargo.toml under [dependencies]:
p7m-alarm = { path = "./p7m-alarm" }
All URIs are relative to https://alarm.api.p7m.de/v1
| Class | Method | HTTP request | Description |
|---|
AlarmApi | delete_alarms_id | DELETE /alarms/{alarm_id} | Delete an alarm by its ID AlarmApi | delete_alarms_recipients_id | DELETE /alarms/{alarm_id}/recipients/{alarm_recipient_id} | Delete a single alarm recipient by its ID AlarmApi | get_alarms | GET /alarms | Get a list of all alarms AlarmApi | get_alarms_id | GET /alarms/{alarm_id} | Get a single alarm by its ID AlarmApi | get_alarms_recipients | GET /alarms/{alarm_id}/recipients | Get the list of receipients of an alarm AlarmApi | get_alarms_recipients_id | GET /alarms/{alarm_id}/recipients/{alarm_recipient_id} | Get a single recipient of an alarm by its ID AlarmApi | post_alarm | POST /alarms | Create a new alarm and by that trigger signalling AlarmApi | post_alarm_recipients | POST /alarms/{alarm_id}/recipients | Add a new recipient to an existing alarm AlarmApi | put_alarms_id | PUT /alarms/{alarm_id} | Update an existing alarm AlarmApi | put_alarms_recipients_id | PUT /alarms/{alarm_id}/recipients/{alarm_recipient_id} | Update an existing recipient of an alarm AlarmTypeApi | delete_alarm_types | DELETE /alarmtypes/{id} | Delete a single alarm type by its ID AlarmTypeApi | get_alarm_types | GET /alarmtypes | Get list of all alarm types AlarmTypeApi | get_alarm_types_id | GET /alarmtypes/{id} | Get a single alarm type by its ID AlarmTypeApi | post_alarm_types | POST /alarmtypes | Create a new alarm type AlarmTypeApi | put_alarm_types | PUT /alarmtypes/{id} | Update an existing alarm type RecipientApi | delete_recipients_recipient_id | DELETE /recipients/{recipient_id} | Delete a single recipient by its ID RecipientApi | get_recipients | GET /recipients | Get the list of all recipients RecipientApi | get_recipients_recipient_id | GET /recipients/{recipient_id} | Get a single recipient by its ID RecipientApi | post_recipients | POST /recipients | Create a new recipient RecipientApi | put_recipients_recipient_id | PUT /recipients/{recipient_id} | Update an existing recipient
To get access to the crate's generated documentation, use:
cargo doc --open