API bindings for the Lilt REST API.
All URIs are relative to https://lilt.com/2
Method | HTTP request | Description |
---|---|---|
add_converter_config | PUT /configs/converter | Add Converter Config |
delete_converter_config | DELETE /configs/converter/{configId} | Delete Converter Config |
delete_filter_mapping | DELETE /configs/converter/{configId}/{fileExtension} | Delete Filter Mapping |
edit_filter_mapping | PUT /configs/converter/{configId}/{fileExtension} | Add Filter Mapping |
get_converter_config_by_id | GET /configs/converter/{configId} | Fetch Converter Config by Id |
get_converter_configs | GET /configs/converter | List Converter Configs |
ConverterConfigUpdateResponse add_converter_config(organization_id, body=body)
Add Converter Config
Add a file filter configuration for your Organization.
configuration = lilt.Configuration( host = “https://lilt.com/2” )
configuration = lilt.Configuration( host = “https://lilt.com/2”, api_key = { ‘key’: ‘YOUR_API_KEY’ } )
configuration = lilt.Configuration( username = ‘YOUR_USERNAME’, password = ‘YOUR_PASSWORD’ )
with lilt.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = lilt.ConverterConfigApi(api_client) organization_id = 56 # int | A unique Organization identifier. body = lilt.CreateConverterConfigParameters() # CreateConverterConfigParameters | (optional)
try:
# Add Converter Config
api_response = api_instance.add_converter_config(organization_id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConverterConfigApi->add_converter_config: %s\n" % e) ```
configuration = lilt.Configuration( host = “https://lilt.com/2” )
configuration = lilt.Configuration( host = “https://lilt.com/2”, api_key = { ‘key’: ‘YOUR_API_KEY’ } )
configuration = lilt.Configuration( username = ‘YOUR_USERNAME’, password = ‘YOUR_PASSWORD’ )
with lilt.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = lilt.ConverterConfigApi(api_client) organization_id = 56 # int | A unique Organization identifier. body = lilt.CreateConverterConfigParameters() # CreateConverterConfigParameters | (optional)
try:
# Add Converter Config
api_response = api_instance.add_converter_config(organization_id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConverterConfigApi->add_converter_config: %s\n" % e) ```
Name | Type | Description | Notes |
---|---|---|---|
organization_id | int | A unique Organization identifier. | |
body | CreateConverterConfigParameters | [optional] |
| Status code | Description | Response headers | |————-|————-|——————| 200 | The config id of the configuration created. | - | 0 | Unexpected error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ConverterConfigUpdateResponse delete_converter_config(config_id)
Delete Converter Config
Delete a file filter configuration by id.
configuration = lilt.Configuration( host = “https://lilt.com/2” )
configuration = lilt.Configuration( host = “https://lilt.com/2”, api_key = { ‘key’: ‘YOUR_API_KEY’ } )
configuration = lilt.Configuration( username = ‘YOUR_USERNAME’, password = ‘YOUR_PASSWORD’ )
with lilt.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = lilt.ConverterConfigApi(api_client) config_id = 56 # int | A unique configuration identifier.
try:
# Delete Converter Config
api_response = api_instance.delete_converter_config(config_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConverterConfigApi->delete_converter_config: %s\n" % e) ```
configuration = lilt.Configuration( host = “https://lilt.com/2” )
configuration = lilt.Configuration( host = “https://lilt.com/2”, api_key = { ‘key’: ‘YOUR_API_KEY’ } )
configuration = lilt.Configuration( username = ‘YOUR_USERNAME’, password = ‘YOUR_PASSWORD’ )
with lilt.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = lilt.ConverterConfigApi(api_client) config_id = 56 # int | A unique configuration identifier.
try:
# Delete Converter Config
api_response = api_instance.delete_converter_config(config_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConverterConfigApi->delete_converter_config: %s\n" % e) ```
Name | Type | Description | Notes |
---|---|---|---|
config_id | int | A unique configuration identifier. |
| Status code | Description | Response headers | |————-|————-|——————| 200 | The config id of the configuration deleted. | - | 0 | Unexpected error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
dict(str, str) delete_filter_mapping(config_id, file_extension)
Delete Filter Mapping
Delete a file filter mapping by id and file extension.
configuration = lilt.Configuration( host = “https://lilt.com/2” )
configuration = lilt.Configuration( host = “https://lilt.com/2”, api_key = { ‘key’: ‘YOUR_API_KEY’ } )
configuration = lilt.Configuration( username = ‘YOUR_USERNAME’, password = ‘YOUR_PASSWORD’ )
with lilt.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = lilt.ConverterConfigApi(api_client) config_id = 56 # int | A unique configuration identifier. file_extension = ‘file_extension_example’ # str | A file extension to delete.
try:
# Delete Filter Mapping
api_response = api_instance.delete_filter_mapping(config_id, file_extension)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConverterConfigApi->delete_filter_mapping: %s\n" % e) ```
configuration = lilt.Configuration( host = “https://lilt.com/2” )
configuration = lilt.Configuration( host = “https://lilt.com/2”, api_key = { ‘key’: ‘YOUR_API_KEY’ } )
configuration = lilt.Configuration( username = ‘YOUR_USERNAME’, password = ‘YOUR_PASSWORD’ )
with lilt.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = lilt.ConverterConfigApi(api_client) config_id = 56 # int | A unique configuration identifier. file_extension = ‘file_extension_example’ # str | A file extension to delete.
try:
# Delete Filter Mapping
api_response = api_instance.delete_filter_mapping(config_id, file_extension)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConverterConfigApi->delete_filter_mapping: %s\n" % e) ```
Name | Type | Description | Notes |
---|---|---|---|
config_id | int | A unique configuration identifier. | |
file_extension | str | A file extension to delete. |
dict(str, str)
| Status code | Description | Response headers | |————-|————-|——————| 200 | A map of config id to string escaped config json. | - | 0 | Unexpected error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
dict(str, str) edit_filter_mapping(config_id, file_extension, body=body)
Add Filter Mapping
Add a specific filter mapping to your file filter configuration
configuration = lilt.Configuration( host = “https://lilt.com/2” )
configuration = lilt.Configuration( host = “https://lilt.com/2”, api_key = { ‘key’: ‘YOUR_API_KEY’ } )
configuration = lilt.Configuration( username = ‘YOUR_USERNAME’, password = ‘YOUR_PASSWORD’ )
with lilt.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = lilt.ConverterConfigApi(api_client) config_id = 56 # int | A unique configuration identifier. file_extension = ‘file_extension_example’ # str | A file extension for the filter mapping. body = lilt.EditFilterMappingParameters() # EditFilterMappingParameters | (optional)
try:
# Add Filter Mapping
api_response = api_instance.edit_filter_mapping(config_id, file_extension, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConverterConfigApi->edit_filter_mapping: %s\n" % e) ```
configuration = lilt.Configuration( host = “https://lilt.com/2” )
configuration = lilt.Configuration( host = “https://lilt.com/2”, api_key = { ‘key’: ‘YOUR_API_KEY’ } )
configuration = lilt.Configuration( username = ‘YOUR_USERNAME’, password = ‘YOUR_PASSWORD’ )
with lilt.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = lilt.ConverterConfigApi(api_client) config_id = 56 # int | A unique configuration identifier. file_extension = ‘file_extension_example’ # str | A file extension for the filter mapping. body = lilt.EditFilterMappingParameters() # EditFilterMappingParameters | (optional)
try:
# Add Filter Mapping
api_response = api_instance.edit_filter_mapping(config_id, file_extension, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConverterConfigApi->edit_filter_mapping: %s\n" % e) ```
Name | Type | Description | Notes |
---|---|---|---|
config_id | int | A unique configuration identifier. | |
file_extension | str | A file extension for the filter mapping. | |
body | EditFilterMappingParameters | [optional] |
dict(str, str)
| Status code | Description | Response headers | |————-|————-|——————| 200 | A map of config id to string escaped config json. | - | 0 | Unexpected error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
dict(str, str) get_converter_config_by_id(config_id)
Fetch Converter Config by Id
Fetch a file filter configuration by id.
configuration = lilt.Configuration( host = “https://lilt.com/2” )
configuration = lilt.Configuration( host = “https://lilt.com/2”, api_key = { ‘key’: ‘YOUR_API_KEY’ } )
configuration = lilt.Configuration( username = ‘YOUR_USERNAME’, password = ‘YOUR_PASSWORD’ )
with lilt.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = lilt.ConverterConfigApi(api_client) config_id = 56 # int | A unique configuration identifier.
try:
# Fetch Converter Config by Id
api_response = api_instance.get_converter_config_by_id(config_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConverterConfigApi->get_converter_config_by_id: %s\n" % e) ```
configuration = lilt.Configuration( host = “https://lilt.com/2” )
configuration = lilt.Configuration( host = “https://lilt.com/2”, api_key = { ‘key’: ‘YOUR_API_KEY’ } )
configuration = lilt.Configuration( username = ‘YOUR_USERNAME’, password = ‘YOUR_PASSWORD’ )
with lilt.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = lilt.ConverterConfigApi(api_client) config_id = 56 # int | A unique configuration identifier.
try:
# Fetch Converter Config by Id
api_response = api_instance.get_converter_config_by_id(config_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConverterConfigApi->get_converter_config_by_id: %s\n" % e) ```
Name | Type | Description | Notes |
---|---|---|---|
config_id | int | A unique configuration identifier. |
dict(str, str)
| Status code | Description | Response headers | |————-|————-|——————| 200 | A map of config id to string escaped config json. | - | 0 | Unexpected error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
dict(str, str) get_converter_configs(organization_id)
List Converter Configs
List all file filter configurations for your Organization.
configuration = lilt.Configuration( host = “https://lilt.com/2” )
configuration = lilt.Configuration( host = “https://lilt.com/2”, api_key = { ‘key’: ‘YOUR_API_KEY’ } )
configuration = lilt.Configuration( username = ‘YOUR_USERNAME’, password = ‘YOUR_PASSWORD’ )
with lilt.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = lilt.ConverterConfigApi(api_client) organization_id = 56 # int | A unique Organization identifier.
try:
# List Converter Configs
api_response = api_instance.get_converter_configs(organization_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConverterConfigApi->get_converter_configs: %s\n" % e) ```
configuration = lilt.Configuration( host = “https://lilt.com/2” )
configuration = lilt.Configuration( host = “https://lilt.com/2”, api_key = { ‘key’: ‘YOUR_API_KEY’ } )
configuration = lilt.Configuration( username = ‘YOUR_USERNAME’, password = ‘YOUR_PASSWORD’ )
with lilt.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = lilt.ConverterConfigApi(api_client) organization_id = 56 # int | A unique Organization identifier.
try:
# List Converter Configs
api_response = api_instance.get_converter_configs(organization_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConverterConfigApi->get_converter_configs: %s\n" % e) ```
Name | Type | Description | Notes |
---|---|---|---|
organization_id | int | A unique Organization identifier. |
dict(str, str)
| Status code | Description | Response headers | |————-|————-|——————| 200 | A map of config id to string escaped config json. | - | 0 | Unexpected error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]