VMware Cloud Director API - GET-Catalog-AdminView
GET /admin/catalog/{id}
- Operation:
- GET /admin/catalog/{id}
- Description:
- Retrieve a catalog.
- Since:
- 0.9
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
CatalogType
- Produce media type(s):
-
application/vnd.vmware.admin.catalog+xml
application/vnd.vmware.admin.catalog+json
- Output type:
- AdminCatalogType
- Examples
-
- Request
-
HTTP 1.1
GET /api/admin/catalog/39867ab4-04e0-4b13-b468-08abcc1de810
Headers:
x-vcloud-authorization: 4Ezv8QOCNMOaWCVI6gEHOXEG299HZAsmcB0qrgPRp1I=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 3750
Content-Type: application/vnd.vmware.admin.catalog+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><AdminCatalog
xmlns="http://www.vmware.com/vcloud/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
href="https://vcloud.example.com/api/admin/catalog/39867ab4-04e0-4b13-b468-08abcc1de810"
id="urn:vcloud:catalog:39867ab4-04e0-4b13-b468-08abcc1de810"
name="Default catalog"
type="application/vnd.vmware.admin.catalog+xml"
xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a"
rel="up"
type="application/vnd.vmware.admin.organization+xml"/>
<Link
href="https://vcloud.example.com/api/catalog/39867ab4-04e0-4b13-b468-08abcc1de810"
rel="alternate"
type="application/vnd.vmware.vcloud.catalog+xml"/>
<Link
href="https://vcloud.example.com/api/admin/catalog/39867ab4-04e0-4b13-b468-08abcc1de810/owner"
rel="down"
type="application/vnd.vmware.vcloud.owner+xml"/>
<Link
href="https://vcloud.example.com/api/admin/catalog/39867ab4-04e0-4b13-b468-08abcc1de810/metadata"
rel="down"
type="application/vnd.vmware.vcloud.metadata+xml"/>
<Link
href="https://vcloud.example.com/api/catalog/39867ab4-04e0-4b13-b468-08abcc1de810/catalogItems"
rel="add"
type="application/vnd.vmware.vcloud.catalogItem+xml"/>
<Link
href="https://vcloud.example.com/api/catalog/39867ab4-04e0-4b13-b468-08abcc1de810/action/upload"
rel="add"
type="application/vnd.vmware.vcloud.media+xml"/>
<Link
href="https://vcloud.example.com/api/catalog/39867ab4-04e0-4b13-b468-08abcc1de810/action/upload"
rel="add"
type="application/vnd.vmware.vcloud.uploadVAppTemplateParams+xml"/>
<Link
href="https://vcloud.example.com/api/admin/catalog/39867ab4-04e0-4b13-b468-08abcc1de810"
rel="edit"
type="application/vnd.vmware.admin.catalog+xml"/>
<Link
href="https://vcloud.example.com/api/catalog/39867ab4-04e0-4b13-b468-08abcc1de810/action/copy"
rel="copy"
type="application/vnd.vmware.vcloud.copyOrMoveCatalogItemParams+xml"/>
<Link
href="https://vcloud.example.com/api/catalog/39867ab4-04e0-4b13-b468-08abcc1de810/action/move"
rel="move"
type="application/vnd.vmware.vcloud.copyOrMoveCatalogItemParams+xml"/>
<Link
href="https://vcloud.example.com/api/catalog/39867ab4-04e0-4b13-b468-08abcc1de810/action/captureVApp"
rel="add"
type="application/vnd.vmware.vcloud.captureVAppParams+xml"/>
<Link
href="https://vcloud.example.com/api/admin/catalog/39867ab4-04e0-4b13-b468-08abcc1de810/action/publish"
rel="publish"
type="application/vnd.vmware.admin.publishCatalogParams+xml"/>
<Link
href="https://vcloud.example.com/api/admin/catalog/39867ab4-04e0-4b13-b468-08abcc1de810/action/publishToExternalOrganizations"
rel="publishToExternalOrganizations"
type="application/vnd.vmware.admin.publishExternalLibraryParams+xml"/>
<Link
href="https://vcloud.example.com/api/admin/catalog/39867ab4-04e0-4b13-b468-08abcc1de810/action/subscribeToExternalLibrary"
rel="subscribeToExternalLibrary"
type="application/vnd.vmware.admin.externalLibrarySubscriptionParams+xml"/>
<Description>Default catalog</Description>
<Owner
type="application/vnd.vmware.vcloud.owner+xml">
<User
href="https://vcloud.example.com/api/admin/user/51e86769-9e2d-4edc-af4e-5d3606494cbf"
name="system"
type="application/vnd.vmware.admin.user+xml"/>
</Owner>
<CatalogItems>
<CatalogItem
href="https://vcloud.example.com/api/catalogItem/016ed9ac-c9cc-4455-bcfb-1393edcae000"
id="016ed9ac-c9cc-4455-bcfb-1393edcae000"
name="imported"
type="application/vnd.vmware.vcloud.catalogItem+xml"/>
</CatalogItems>
<IsPublished>false</IsPublished>
<DateCreated>2013-02-11T15:46:40.170+02:00</DateCreated>
<VersionNumber>39</VersionNumber>
<CatalogStorageProfiles/>
</AdminCatalog>