VMware Cloud Director API - GET-Entity
GET /entity/{id}
- Operation:
- GET /entity/{id}
- Description:
- Redirects to the URL of an entity with the given VCD ID.
- Since:
- 1.5
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
Response
- Produce media type(s):
-
application/vnd.vmware.vcloud.entity+xml
application/vnd.vmware.vcloud.entity+json
application/json
- Output type:
- EntityType
- Examples
-
- Request
-
HTTP 1.1
GET /api/entity/urn:vcloud:org:7cc8d565-1203-49bd-b50c-24e0acbaeb5a
Headers:
x-vcloud-authorization: FQMWZgFq5mhMRSpt2ecxnsAXTxRpxdbZ/z2u6uwEH+w=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 832
Content-Type: application/vnd.vmware.vcloud.entity+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><Entity
xmlns="http://www.vmware.com/vcloud/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
href="https://vcloud.example.com/api/entity/urn:vcloud:org:7cc8d565-1203-49bd-b50c-24e0acbaeb5a"
id="urn:vcloud:org:7cc8d565-1203-49bd-b50c-24e0acbaeb5a"
name="urn:vcloud:org:7cc8d565-1203-49bd-b50c-24e0acbaeb5a"
type="application/vnd.vmware.vcloud.entity+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/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a"
rel="alternate"
type="application/vnd.vmware.vcloud.org+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a"
rel="alternate"
type="application/vnd.vmware.admin.organization+xml"/>
</Entity>