Crates.io | p7m-phoneconf |
lib.rs | p7m-phoneconf |
version | 0.3.0 |
source | src |
created_at | 2024-07-07 17:37:40.044176 |
updated_at | 2024-07-07 17:37:40.044176 |
description | Rust bindings for the telephone configuration API of P7M |
homepage | |
repository | https://github.com/projekt7m/phoneconf-rust |
max_upload_size | |
id | 1295026 |
size | 121,050 |
The purpose of this API is mainly to manage the configuration of phones that use P7M auto provisioning.
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-phoneconf
and add the following to Cargo.toml
under [dependencies]
:
p7m-phoneconf = { path = "./p7m-phoneconf" }
All URIs are relative to https://phone.api.p7m.de/v1
Class | Method | HTTP request | Description |
---|
ContactListApi | delete_contactlists_id | DELETE /contactlists/{cid} | Delete a contact list by its ID ContactListApi | delete_contactlists_id_entries_id | DELETE /contactlists/{cid}/entries/{eid} | Delete a contact list entry by its ID ContactListApi | get_contact_lists | GET /contactlists | Get all contact lists ContactListApi | get_contactlists_id | GET /contactlists/{cid} | Get a contact list by its ID ContactListApi | get_contactlists_id_entries | GET /contactlists/{cid}/entries | Get all entries of a contact list ContactListApi | get_contactlists_id_entries_id | GET /contactlists/{cid}/entries/{eid} | Get a single contact list entry by its ID ContactListApi | post_contactlists | POST /contactlists | Create a new contact list ContactListApi | post_contactlists_id_entries | POST /contactlists/{cid}/entries | Add an entry to a contact list ContactListApi | put_contactlists_id | PUT /contactlists/{cid} | Update an existing contact list ContactListApi | put_contactlists_id_entries_id | PUT /contactlists/{cid}/entries/{eid} | Update an exising contact list entry PhoneApi | delete_phones_id | DELETE /phones/{id} | Delete a phone by its ID PhoneApi | get_phones | GET /phones | Get the list of all phones PhoneApi | get_phones_id | GET /phones/{id} | Get a single phone by its ID PhoneApi | post_phones | POST /phones | Create a new phone PhoneApi | put_phones_id | PUT /phones/{id} | Update an existing phone PhoneAccountApi | delete_phones_id_accounts_id | DELETE /phones/{pid}/accounts/{aid} | Delete a phone account by its ID PhoneAccountApi | get_phones_id_accounts | GET /phones/{pid}/accounts | Get list of all phone accounts of a phone PhoneAccountApi | get_phones_id_accounts_id | GET /phones/{pid}/accounts/{aid} | Request a single phone account by its ID PhoneAccountApi | post_phones_id_accounts | POST /phones/{pid}/accounts | Create a new phone account PhoneAccountApi | put_phones_id_accounts_id | PUT /phones/{pid}/accounts/{aid} | Update an existing phone account PhoneKeyApi | get_phones_id_keys | GET /phones/{pid}/keys | Get all the key configuration of a phone PhoneKeyApi | get_phones_id_keys_id | GET /phones/{pid}/keys/{kid} | Get a single phone key by its ID PhoneKeyApi | post_phones_id_keys | POST /phones/{pid}/keys | Create a new phone key PhoneKeyApi | put_phones_id_keys_id | PUT /phones/{pid}/keys/{kid} | Update an existing phone key PhoneTypeApi | get_phone_types | GET /phonetypes | Get the list of all phone types PhoneTypeApi | get_phone_types_id | GET /phonetypes/{ptid} | Get a single phone type by its ID
To get access to the crate's generated documentation, use:
cargo doc --open