Icotest Voice API
Project description
icotest-voice
IcoTest Voice API
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.40
- Package version: 1.0.40
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.4+
Installation & Usage
pip install
You can install directly using:
pip install icotest-voice
Then import the package:
import icotest_voice
Getting Started
Please follow the installation procedure and then run the following:
import time
import icotest_voice
from icotest_voice.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://localhost/icotest_voice
# See configuration.py for a list of all supported configuration parameters.
configuration = icotest_voice.Configuration(
host = "https://localhost/icotest_voice"
)
# Enter a context with an instance of the API client
with icotest_voice.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = icotest_voice.ControllersApi(api_client)
controller_id = "ac331ccb-5841-44ec-9d32-4f4fe0c3c16c" # str: the unique ID of the controller
try:
# DELETE Controller
api_instance.delete_controller(controller_id)
except ApiException as e:
print("Exception when calling ControllersApi->delete_controller: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://localhost/icotest_voice
Class | Method | HTTP request | Description |
---|---|---|---|
ControllersApi | delete_controller | DELETE /controllers | DELETE Controller |
ControllersApi | get_controllers | GET /controllers | GET controllers |
ControllersApi | post_controller_heartbeat | POST /controllers/{controller_id}/heartbeat | POST Controller heartbeat |
ControllersApi | put_controller | PUT /controllers | PUT controller |
DevicesApi | delete_device | DELETE /devices | DELETE Device |
DevicesApi | get_device_status | GET /devices/{device_id}/status | GET device status |
DevicesApi | get_devices | GET /devices | GET devices |
DevicesApi | get_host_config | GET /host/config | Your GET endpoint |
DevicesApi | post_device_dect_get_handset_name | POST /devices/{device_id}/DECT_get_handset_name | POST DECT Get Handset Name |
DevicesApi | post_device_dect_run_at_cmd | POST /devices/{device_id}/DECT_run_AT_command | POST DECT Run AT Command |
DevicesApi | post_device_deregister | POST /devices/{device_id}/deregister | POST deregister device |
DevicesApi | post_device_end_call | POST /devices/{device_id}/end_call | POST end call |
DevicesApi | post_device_heartbeat | POST /devices/{device_id}/heartbeat | POST Device heartbeat |
DevicesApi | post_device_make_call | POST /devices/{device_id}/make_call | POST make call |
DevicesApi | post_device_receive_call | POST /devices/{device_id}/receive_call | POST receive call |
DevicesApi | post_device_register | POST /devices/{device_id}/register | POST register device |
DevicesApi | post_device_send_command | POST /devices/{device_id}/send_command | POST send command |
DevicesApi | post_devices_scan | POST /devices/{controller_id}/scan | POST device scan |
DevicesApi | put_device | PUT /devices | PUT device |
DevicesApi | put_device_status | PUT /devices/{device_id}/status | PUT device status |
DevicesApi | put_host_config | PUT /host/config | |
RequestsApi | dect_get_last_commands | GET /requests/{device_id}/DECT_get_last_commands | DECT Get Last Commands |
RequestsApi | delete_audio_playback_file | DELETE /requests/{controller_id}/delete_audio_playback_file | DELETE audio playback file |
RequestsApi | delete_request | DELETE /requests | DELETE request |
RequestsApi | delete_result_file | DELETE /requests/{request_id}/delete_result_file | DELETE result file |
RequestsApi | delete_result_files_in_range | DELETE /requests/{controller_id}/delete_result_files_in_range | DELETE result files in date-time range |
RequestsApi | get_audio_playback_file_list | GET /requests/{controller_id}/get_audio_playback_file_list | GET audio playback file list |
RequestsApi | get_requests | GET /requests | GET requests |
RequestsApi | get_retrieve_test_result_file | GET /requests/{request_id}/retrieve_result_file | GET test result file |
RequestsApi | get_test_result_file_list | GET /requests/{controller_id}/get_result_file_list | GET test result file list |
RequestsApi | post_request_heartbeat | POST /requests/{request_id}/heartbeat | POST request heartbeat |
RequestsApi | put_request | PUT /requests | PUT request |
RequestsApi | put_request_status | PUT /requests/{request_id}/status | PUT request status |
RequestsApi | put_upload_audio_playback_file | PUT /requests/{controller_id}/upload_audio_playback_file | PUT upload audio playback file |
Documentation For Models
- Controller
- Device
- HostConfig
- InlineObject
- InlineObject1
- InlineResponse200
- InlineResponse200Files
- Request
Documentation For Authorization
All endpoints do not require authorization.
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
icotest-voice-1.0.40.tar.gz
(42.7 kB
view hashes)
Built Distribution
Close
Hashes for icotest_voice-1.0.40-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c2a7f0e3ce37b48de1d931bcb93a96dcc8f7c2f10080811cbe554bd96505e64 |
|
MD5 | aeacf06c88493d85ce9110d671c0c75c |
|
BLAKE2b-256 | a8096a5ce8915a2341eca32a7c3a42142bd3b686c9c8301fda3d2973c199cd6d |