content configuration: update

Updates the configuration. The update is incremental. Any field in the 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:

HTTP request

PATCH https://{server}/rest/com/vmware/content/configuration

Request Body Structure:

{
    "model"{
        "automatic_sync_enabled"true,
        "automatic_sync_start_hour"1,
        "automatic_sync_stop_hour"1,
        "maximum_concurrent_item_syncs"1
    }
}

Request Body Parameters:

Name Type Description
bold = required
model configuration_model The content.configuration_model specifying the settings to update.
model.automatic_sync_enabled boolean Whether automatic synchronization is enabled.

When automatic synchronization is enabled, the Content Library Service will automatically synchronize all subscribed libraries on a daily basis. Subscribed libraries with the content.library.subscription_info.automatic_sync_enabled flag turned on will be synchronized every hour between content.configuration_model.automatic_sync_start_hour and content.configuration_model.automatic_sync_stop_hour.

Optional. This field is not used for the create operation. It will always be present in the result of the get or list operations. It is optional for the update operation.

model.automatic_sync_start_hour long The hour at which the automatic synchronization will start. This value is between 0 (midnight) and 23 inclusive.

Optional. This field is not used for the create operation. It will always be present in the result of the get or list operations. It is optional for the update operation.

model.automatic_sync_stop_hour long The hour at which the automatic synchronization will stop. Any active synchronization operation will continue to run, however no new synchronization operations will be triggered after the stop hour. This value is between 0 (midnight) and 23 inclusive.

Optional. This field is not used for the create operation. It will always be present in the result of the get or list operations. It is optional for the update operation.

model.maximum_concurrent_item_syncs long The maximum allowed number of library items to synchronize concurrently from remote libraries. This must be a positive number. The service may not be able to guarantee the requested concurrency if there is no available capacity.

This setting is global across all subscribed libraries.

Optional. This field is not used for the create operation. It will always be present in the result of the get or list operations. It is optional for the update operation.

Response:

HTTP Status Code: 200

None

Errors:

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