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.26
- Package version: 1.0.26
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 2.7 and 3.4+
Installation & Usage
pip install
pip install icotest-voice
Then import the package:
import icotest_voice
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
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_devices | GET /devices | GET devices |
DevicesApi | get_devices_status | GET /devices/{device_id}/status | GET device status |
DevicesApi | get_host_config | GET /host/config | Your GET endpoint |
DevicesApi | post_device_deregister | POST /devices/{device_id}/deregister | POST deregister device |
DevicesApi | post_device_make_call | POST /devices/{device_id}/make_call | POST make call |
DevicesApi | post_device_pair | POST /devices/{device_id}/pair | POST device pair |
DevicesApi | post_device_register | POST /devices/{device_id}/register | POST register device |
DevicesApi | post_devices_end_call | POST /devices/{device_id}/end_call | POST end call |
DevicesApi | post_devices_heartbeat | POST /devices/{device_id}/heartbeat | POST Device heartbeat |
DevicesApi | post_devices_receive_call | POST /devices/{device_id}/receive_call | POST receive call |
DevicesApi | post_devices_scan | POST /devices/{controller_id}/scan | POST device scan |
DevicesApi | post_devices_send_command | POST /devices/{device_id}/send_command | POST send command |
DevicesApi | put_device | PUT /devices | PUT device |
DevicesApi | put_devices_status | PUT /devices/{device_id}/status | PUT device status |
DevicesApi | put_host_config | PUT /host/config | |
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_requests_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
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.26.tar.gz
(38.8 kB
view hashes)
Built Distribution
Close
Hashes for icotest_voice-1.0.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17c0f6237835a176a0bcbd0071d5dc022d6f63d9cd7ceebf590b2e1b908ded7d |
|
MD5 | e42388eec4a3dec534d763698837a679 |
|
BLAKE2b-256 | e7362e23fa3208a41695fa9e444a5347c58fd0f68520ecc5e093bff92b41d261 |