esx settings depots: sync-task
Syncs the metadata from the currently configured online or umds depots. If any umds depot is set, then metadata is downloaded from that depot else metadata is downloaded from the online depots. The result of this operation can be queried by calling the cis/tasks/{task-id} where the task-id is the response of this operation.
Request:
HTTP request
POST https://{server}/api/esx/settings/depots
?action=sync
&vmw-task=true
?action=sync
&vmw-task=true
Response:
HTTP Status Code: 202
Response Body Structure:
"obj-103"
Headers:
NoneType:
Name | Type | Description |
---|---|---|
bold = required | ||
- | string |
Errors:
HTTP Status Code | Type | Description |
---|---|---|
401 | unauthenticated | if the caller is not authenticated. |
503 | service_unavailable | if the service is not available. |
500 | timed_out | if the service is timed out. |
500 | error | if there is some unknown internal error. The accompanying error message will give more details about the failure. |