VMware Cloud Director API - GET-MediaOwner

VMware Cloud Director API - GET-MediaOwner

GET /media/{id}/owner

Operation:
GET /media/{id}/owner
Description:
Retrieve the owner of a media object.
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/media/a28c42bf-2e99-43ba-880a-6305fe621ab0/owner

Headers:
x-vcloud-authorization: H0WtdDGONxQuIdzQdy8wnQW9Eyo3E9HqGcaB8PlBdcg=

Body:
Response
HTTP/1.1 200 OK

Headers:
Content-Length: 605
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/media/a28c42bf-2e99-43ba-880a-6305fe621ab0"
        rel="up"
        type="application/vnd.vmware.vcloud.media+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>