VMware Cloud Director API - POST-UpdateCatalogPublishSettings
POST /admin/catalog/{id}/action/publish
- Operation:
- POST /admin/catalog/{id}/action/publish
- Description:
-
Publish a catalog.
Publishing a catalog sets the value of its IsPublished element to true and makes the catalog visible to organization administrators of all organizations in a cloud.
- Since:
- 1.0
- Input parameters
-
- Consume media type(s):
-
application/vnd.vmware.admin.publishCatalogParams+xml
application/vnd.vmware.admin.publishCatalogParams+json
- Input type:
- PublishCatalogParamsType
- Output parameters
-
- Produce media type(s):
- None
- Output type:
- None
- Examples
-
- Request
-
HTTP 1.1
POST /api/admin/catalog/2a8c1427-7ba9-4a5a-ba08-040b630d9859/action/publish
Headers:
Content-Length: 199
Content-Type: application/vnd.vmware.admin.publishCatalogParams+xml; charset=ISO-8859-1
x-vcloud-authorization: FQMWZgFq5mhMRSpt2ecxnsAXTxRpxdbZ/z2u6uwEH+w=
Body:
<?xml version="1.0" encoding="UTF-8"?><vcloud:PublishCatalogParams
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5">
<vcloud:IsPublished>true</vcloud:IsPublished>
</vcloud:PublishCatalogParams>
- Response
-
HTTP/1.1 204 No Content
Headers:
Content-Type: application/*+xml;version=5.5
Vary: Accept-Encoding
Body: