All URIs are relative to https://lilt.com/2
Method | HTTP request | Description |
---|---|---|
addConverterConfig | PUT /configs/converter | Add Converter Config |
deleteConverterConfig | DELETE /configs/converter/{configId} | Delete Converter Config |
deleteFilterMapping | DELETE /configs/converter/{configId}/{fileExtension} | Delete Filter Mapping |
editFilterMapping | PUT /configs/converter/{configId}/{fileExtension} | Add Filter Mapping |
getConverterConfigById | GET /configs/converter/{configId} | Fetch Converter Config by Id |
getConverterConfigs | GET /configs/converter | List Converter Configs |
ConverterConfigUpdateResponse addConverterConfig(organizationId, opts)
Add Converter Config
Add a file filter configuration for your Organization.
import LiltNode from 'lilt-node';
let defaultClient = LiltNode.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
// Configure HTTP basic authorization: BasicAuth
let BasicAuth = defaultClient.authentications['BasicAuth'];
BasicAuth.username = 'YOUR USERNAME';
BasicAuth.password = 'YOUR PASSWORD';
let apiInstance = new LiltNode.ConverterConfigApi();
let organizationId = 56; // Number | A unique Organization identifier.
let opts = {
'body': new LiltNode.CreateConverterConfigParameters() // CreateConverterConfigParameters |
};
apiInstance.addConverterConfig(organizationId, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
organizationId | Number | A unique Organization identifier. | |
body | CreateConverterConfigParameters | [optional] |
- Content-Type: application/json
- Accept: application/json
ConverterConfigUpdateResponse deleteConverterConfig(configId)
Delete Converter Config
Delete a file filter configuration by id.
import LiltNode from 'lilt-node';
let defaultClient = LiltNode.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
// Configure HTTP basic authorization: BasicAuth
let BasicAuth = defaultClient.authentications['BasicAuth'];
BasicAuth.username = 'YOUR USERNAME';
BasicAuth.password = 'YOUR PASSWORD';
let apiInstance = new LiltNode.ConverterConfigApi();
let configId = 56; // Number | A unique configuration identifier.
apiInstance.deleteConverterConfig(configId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
configId | Number | A unique configuration identifier. |
- Content-Type: Not defined
- Accept: application/json
{String: String} deleteFilterMapping(configId, fileExtension)
Delete Filter Mapping
Delete a file filter mapping by id and file extension.
import LiltNode from 'lilt-node';
let defaultClient = LiltNode.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
// Configure HTTP basic authorization: BasicAuth
let BasicAuth = defaultClient.authentications['BasicAuth'];
BasicAuth.username = 'YOUR USERNAME';
BasicAuth.password = 'YOUR PASSWORD';
let apiInstance = new LiltNode.ConverterConfigApi();
let configId = 56; // Number | A unique configuration identifier.
let fileExtension = "fileExtension_example"; // String | A file extension to delete.
apiInstance.deleteFilterMapping(configId, fileExtension).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
configId | Number | A unique configuration identifier. | |
fileExtension | String | A file extension to delete. |
{String: String}
- Content-Type: Not defined
- Accept: application/json
{String: String} editFilterMapping(configId, fileExtension, opts)
Add Filter Mapping
Add a specific filter mapping to your file filter configuration
import LiltNode from 'lilt-node';
let defaultClient = LiltNode.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
// Configure HTTP basic authorization: BasicAuth
let BasicAuth = defaultClient.authentications['BasicAuth'];
BasicAuth.username = 'YOUR USERNAME';
BasicAuth.password = 'YOUR PASSWORD';
let apiInstance = new LiltNode.ConverterConfigApi();
let configId = 56; // Number | A unique configuration identifier.
let fileExtension = "fileExtension_example"; // String | A file extension for the filter mapping.
let opts = {
'body': new LiltNode.EditFilterMappingParameters() // EditFilterMappingParameters |
};
apiInstance.editFilterMapping(configId, fileExtension, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
configId | Number | A unique configuration identifier. | |
fileExtension | String | A file extension for the filter mapping. | |
body | EditFilterMappingParameters | [optional] |
{String: String}
- Content-Type: application/json
- Accept: application/json
{String: String} getConverterConfigById(configId)
Fetch Converter Config by Id
Fetch a file filter configuration by id.
import LiltNode from 'lilt-node';
let defaultClient = LiltNode.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
// Configure HTTP basic authorization: BasicAuth
let BasicAuth = defaultClient.authentications['BasicAuth'];
BasicAuth.username = 'YOUR USERNAME';
BasicAuth.password = 'YOUR PASSWORD';
let apiInstance = new LiltNode.ConverterConfigApi();
let configId = 56; // Number | A unique configuration identifier.
apiInstance.getConverterConfigById(configId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
configId | Number | A unique configuration identifier. |
{String: String}
- Content-Type: Not defined
- Accept: application/json
{String: String} getConverterConfigs(organizationId)
List Converter Configs
List all file filter configurations for your Organization.
import LiltNode from 'lilt-node';
let defaultClient = LiltNode.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
// Configure HTTP basic authorization: BasicAuth
let BasicAuth = defaultClient.authentications['BasicAuth'];
BasicAuth.username = 'YOUR USERNAME';
BasicAuth.password = 'YOUR PASSWORD';
let apiInstance = new LiltNode.ConverterConfigApi();
let organizationId = 56; // Number | A unique Organization identifier.
apiInstance.getConverterConfigs(organizationId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
organizationId | Number | A unique Organization identifier. |
{String: String}
- Content-Type: Not defined
- Accept: application/json