VMware Cloud Director API - GET-Rights
GET /admin/extension/service/{id}/rights
- Operation:
- GET /admin/extension/service/{id}/rights
- Description:
- Gives the rights registered by this extension service.
- Since:
- 5.1
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
- Produce media type(s):
-
application/vnd.vmware.admin.rights+xml
application/vnd.vmware.admin.rights+json
- Output type:
- RightRefsType
- Examples
-
- Request
-
HTTP 1.1
GET /api/admin/extension/service/15eacf4c-b4d0-4dba-9c65-7977a9a10ba2/rights
Headers:
x-vcloud-authorization: SZMKkKToUBmDWSEeqZYL2yxpCqDiyToj5PYW3TigOrI=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 906
Content-Type: application/vnd.vmware.admin.rights+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><vmext:RightRefs
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
href="https://vcloud.example.com/api/admin/extension/service/15eacf4c-b4d0-4dba-9c65-7977a9a10ba2/rights"
type="application/vnd.vmware.admin.rights+xml"
xsi:schemaLocation="http://www.vmware.com/vcloud/extension/v1.5 http://https://vcloud.example.com/api/v1.5/schema/vmwextensions.xsd http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
<vcloud:Link
href="https://vcloud.example.com/api/admin/extension/service/15eacf4c-b4d0-4dba-9c65-7977a9a10ba2/rights"
rel="remove"/>
<vcloud:Link
href="https://vcloud.example.com/api/admin/extension/service/15eacf4c-b4d0-4dba-9c65-7977a9a10ba2/rights"
rel="add"
type="application/vnd.vmware.admin.right+xml"/>
</vmext:RightRefs>