This is the API of the service at P7M that manages phone services.
For all current endpoints, the caller has to be authenticated with the system and provide a JWT token
in the Authorization header of the HTTP request. If your interacting with this API using the Swagger interface,
you need to set the JWT token by clicking on the Authorize button on the right side of the header. As the value
don't forget that the Authorization header starts with the fixed value Bearer
followed by a space followed
by the actual JWT token value.
Attention: this API will probably still change a lot in the future, it's not at all stable yet
If anything is unclear or you found a bug in the documentation, please contact tech@p7m.de.
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.RustClientCodegen
Put the package under your project folder in a directory named p7m-phone
and add the following to Cargo.toml
under [dependencies]
:
p7m-phone = { path = "./p7m-phone" }
All URIs are relative to https://yser.p7m.de/v1
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- BlockApi | blockget | GET /block | *BlockApi* | blockiddelete | DELETE /block/{id} | *BlockApi* | blockidget | GET /block/{id} | *BlockApi* | blockidput | PUT /block/{id} | *BlockApi* | blockpost | POST /block | CallApi | callcodepost | POST /call/code | InternalApi | alarmtriggerpost | POST /alarm/trigger | InternalApi | blockcheckpendingget | GET /block/checkpending | QueueApi | queueannounceget | GET /queue/announce | QueueApi | queueget | GET /queue | *StatusApi* | statusqueue_get | GET /status/{queue} |
To get access to the crate's generated documentation, use:
cargo doc --open