com.vmware.content.configuration

The configuration service provides operations to configure the global settings of the Content Library Service.

The configuration settings are used by the Content Library Service to control the behavior of various operations.

update

PATCH /com/vmware/content/configuration
POST /com/vmware/content/configuration?~action=update

Updates the configuration. The update is incremental. Any field in the com.vmware.content.configuration_model structure that is unset will not be modified. Note that this update operation doesn't guarantee an atomic change of all the properties. In the case of a system crash or failure, some of the properties could be left unchanged while others may be updated.
Request:
Representations:
{
    "model"{
        "automatic_sync_enabled"true,
        "automatic_sync_start_hour"10,
        "automatic_sync_stop_hour"10,
        "maximum_concurrent_item_syncs"10
    }
}
<?xml version="1.0" ?>
<ns0:Update-Input xmlns:ns0="http://vmware.com/content/configuration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <model>
    <automatic_sync_enabled>true</automatic_sync_enabled>
    <automatic_sync_stop_hour>10</automatic_sync_stop_hour>
    <maximum_concurrent_item_syncs>10</maximum_concurrent_item_syncs>
    <automatic_sync_start_hour>10</automatic_sync_start_hour>
  </model>
</ns0:Update-Input>
PATCH /com/vmware/content/configuration
?model.automatic_sync_enabled=true
&model.automatic_sync_stop_hour=10
&model.maximum_concurrent_item_syncs=10
&model.automatic_sync_start_hour=10

Parameters:
Name Type Required Description
model
 *
configuration_model Yes The com.vmware.content.configuration_model specifying the settings to update.

Response:
Representations:

Parameters:
Name Type Required Description
result VOID Yes

Errors:
Type Description HTTP Status Code
invalid_argument if one of the configuration properties is not within the proper range. 400

Copyright © 2014. All Rights Reserved.