All URIs are relative to http://localhost:8088/ari
Method | HTTP request | Description |
---|---|---|
sounds_get | GET /sounds | List all sounds. |
sounds_sound_id_get | GET /sounds/{soundId} | Get a sound's details. |
list[Sound] sounds_get(lang=lang, format=format)
List all sounds.
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = swagger_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = swagger_client.SoundsApi(swagger_client.ApiClient(configuration))
lang = 'lang_example' # str | Lookup sound for a specific language. (optional)
format = 'format_example' # str | Lookup sound in a specific format. (optional)
try:
# List all sounds.
api_response = api_instance.sounds_get(lang=lang, format=format)
pprint(api_response)
except ApiException as e:
print("Exception when calling SoundsApi->sounds_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
lang | str | Lookup sound for a specific language. | [optional] |
format | str | Lookup sound in a specific format. | [optional] |
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Sound sounds_sound_id_get(sound_id)
Get a sound's details.
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = swagger_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = swagger_client.SoundsApi(swagger_client.ApiClient(configuration))
sound_id = 'sound_id_example' # str | Sound's id
try:
# Get a sound's details.
api_response = api_instance.sounds_sound_id_get(sound_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SoundsApi->sounds_sound_id_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
sound_id | str | Sound's id |
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]