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.34
- Package version: 1.0.34
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 2.7 and 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:
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_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_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_get_handset_name | POST /devices/{device_id}/get_handset_name | POST get handset name |
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 | 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
- Message
- 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.34.tar.gz
(41.5 kB
view hashes)
Built Distribution
Close
Hashes for icotest_voice-1.0.34-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f4c03f9e961fb66becc77fc817ed88db5f376134a9d1dd07cb74848d2b92db5 |
|
MD5 | 1b4ecedb349da5e5390eb36966ef25c7 |
|
BLAKE2b-256 | bfb01748de1621b966671f6adba20f3591a01bc61676645c6bbd16692a89fbc5 |