configuration_controller = client.configuration
ConfigurationController
- Get Configuration
- Get Default Metadata Options
- Get Named Configuration
- Update Configuration
- Update Media Encoder Path
- Update Named Configuration
Gets application configuration.
def get_configuration(self)
result = configuration_controller.get_configuration()
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Gets a default MetadataOptions object.
def get_default_metadata_options(self)
result = configuration_controller.get_default_metadata_options()
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Gets a named configuration.
def get_named_configuration(self,
key)
Parameter | Type | Tags | Description |
---|---|---|---|
key |
string |
Template, Required | Configuration key. |
binary
key = 'key0'
result = configuration_controller.get_named_configuration(key)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Updates application configuration.
def update_configuration(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
ServerConfiguration |
Body, Required | Configuration. |
void
body = ServerConfiguration()
result = configuration_controller.update_configuration(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Updates the path to the media encoder.
def update_media_encoder_path(self,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
MediaEncoderPathDto |
Body, Required | Media encoder path form body. |
void
body = MediaEncoderPathDto()
result = configuration_controller.update_media_encoder_path(body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Updates named configuration.
def update_named_configuration(self,
key,
body)
Parameter | Type | Tags | Description |
---|---|---|---|
key |
string |
Template, Required | Configuration key. |
body |
object |
Body, Required | Configuration. |
void
key = 'key0'
body = jsonpickle.decode('{"key1":"val1","key2":"val2"}')
result = configuration_controller.update_named_configuration(key, body)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |