VMware Cloud Director API - POST-SecuredUpdateSubscriptionSettings
POST /admin/catalog/{id}/action/subscribeToExternalCatalog
- Operation:
- POST /admin/catalog/{id}/action/subscribeToExternalCatalog
- Description:
- Subscribe to an external catalog.
- Since:
- 5.5
- Input parameters
-
- Consume media type(s):
-
application/vnd.vmware.admin.externalCatalogSubscriptionParams+xml
application/vnd.vmware.admin.externalCatalogSubscriptionParams+json
- Input type:
- ExternalCatalogSubscriptionParamsType
- Output parameters
-
- Produce media type(s):
- None
- Output type:
- None
- Examples
-
- Request
-
HTTP 1.1
POST /api/admin/catalog/5aac6b64-e4e6-4be3-83c8-58248efd67aa/action/subscribeToExternalCatalog
Headers:
Content-Length: 445
Content-Type: application/vnd.vmware.admin.externalCatalogSubscriptionParams+xml; charset=ISO-8859-1
x-vcloud-authorization: /LOwXxsAG2/2J87P4zt3nZ2dkxZXke77j6cFEpCExac=
Body:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<vcloud:ExternalCatalogSubscriptionParams
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5">
<vcloud:SubscribeToExternalFeeds>true</vcloud:SubscribeToExternalFeeds>
<vcloud:Location>https://vcloud.example.com/clsp/lib/408830f5-6418-4c53-a0b1-c99a1cc475f2/</vcloud:Location>
<vcloud:Password>1</vcloud:Password>
<vcloud:LocalCopy>true</vcloud:LocalCopy>
</vcloud:ExternalCatalogSubscriptionParams>
- Response
-
HTTP/1.1 204 No Content
Headers:
Content-Type: application/*+xml; version=5.5
Vary: Accept-Encoding
Body: