content configuration: get

Retrieves the current configuration values.

Request:

HTTP request

POST https://{server}/rest/com/vmware/content/configuration?~action=get
No request parameters

Response:

HTTP Status Code: 200

Representations:

{
    "value"{
        "automatic_sync_enabled"true,
        "automatic_sync_start_hour"1,
        "automatic_sync_stop_hour"1,
        "maximum_concurrent_item_syncs"1
    }
}
<?xml version="1.0" ?>
<ns0:Get-Result xmlns:ns0="http://vmware.com/content/configuration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <value>
    <automatic_sync_enabled>true</automatic_sync_enabled>
    <automatic_sync_stop_hour>1</automatic_sync_stop_hour>
    <maximum_concurrent_item_syncs>1</maximum_concurrent_item_syncs>
    <automatic_sync_start_hour>1</automatic_sync_start_hour>
  </value>
</ns0:Get-Result>

Response Type:

Name Type Description
bold = required
value configuration_model The content.configuration_model instance representing the configuration of the Content Library Service.
value.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.

value.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.

value.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.

value.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.

Errors:

None