VMware Cloud Director API - GET-VAppOwner
GET /vApp/{id}/owner
- Operation:
- GET /vApp/{id}/owner
- Description:
- Retrieve the owner of a vApp.
- Since:
- 1.5
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
{@link JAXBElement
}
- Produce media type(s):
-
application/vnd.vmware.vcloud.owner+xml
application/vnd.vmware.vcloud.owner+json
- Output type:
- OwnerType
- Examples
-
- Request
-
HTTP 1.1
GET /api/vApp/vapp-bba47763-0ce1-45b9-8470-ea29ba58c52f/owner
Headers:
x-vcloud-authorization: uJ13vBx80VGzZ0KcClBqxHNDJr3QI0K5KaQ0YKn2YZ0=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 768
Content-Type: application/vnd.vmware.vcloud.owner+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><Owner
xmlns="http://www.vmware.com/vcloud/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
type="application/vnd.vmware.vcloud.owner+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/vApp/vapp-bba47763-0ce1-45b9-8470-ea29ba58c52f"
rel="up"
type="application/vnd.vmware.vcloud.vApp+xml"/>
<Link
href="https://vcloud.example.com/api/vApp/vapp-bba47763-0ce1-45b9-8470-ea29ba58c52f/owner"
rel="edit"
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>