Get Configuration
Retrieves the current configuration values. if you do not have all of the privileges described as follows: - Operation execution requires ContentLibrary.GetConfiguration.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
The ConfigurationModel instance representing the configuration of the Content Library Service.
{
"automatic_sync_enabled": false,
"automatic_sync_start_hour": 0,
"automatic_sync_stop_hour": 0,
"maximum_concurrent_item_syncs": 0
}
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 SubscriptionInfo.automatic-sync-enabled flag turned on will be synchronized every hour between ConfigurationModel.automatic-sync-start-hour and ConfigurationModel.automatic-sync-stop-hour.
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.
The hour at which the automatic synchronization will start. This value is between 0 (midnight) and 23 inclusive. 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.
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. 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.
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.
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
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: post
x-vmw-doc-deprecated-path: /rest/com/vmware/content/configuration?~action=get
x-vmw-doc-operation: get