GET /com/vmware/vapi/metadata/privilege/service/id:{service_id} |
POST /com/vmware/vapi/metadata/privilege/service/id:{service_id}?~action=get |
POST /com/vmware/vapi/metadata/privilege/service?~action=get |
service_id
.
{
"service_id": "obj-103" }
<?xml version="1.0" ?>
<ns0:Get-Input xmlns:ns0="http://vmware.com/vapi/metadata/privilege/service" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <service_id>obj-103</service_id> </ns0:Get-Input>
POST /com/vmware/vapi/metadata/privilege/service?~action=get
&service_id=obj-103 |
Name | Type | Required | Description |
---|---|---|---|
service_id* |
ID | Yes | Identifier of the service element. Id of type com.vmware.vapi.service. |
{
"value": { "operations": [ { "key": "obj-103", "value": { "privilege_info": [ { "privileges": [ "string", "string" ], "property_path": "string" }, { "privileges": [ "string", "string" ], "property_path": "string" } ], "privileges": [ "string", "string" ] } } ] } }
<?xml version="1.0" ?>
<ns0:Get-Result xmlns:ns0="http://vmware.com/vapi/metadata/privilege/service" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <value> <operations-array> <array-item> <value> <privilege_info-array> <array-item> <privileges-array> <array-item>string</array-item> <array-item>string</array-item> </privileges-array> <property_path>string</property_path> </array-item> <array-item> <privileges-array> <array-item>string</array-item> <array-item>string</array-item> </privileges-array> <property_path>string</property_path> </array-item> </privilege_info-array> <privileges-array> <array-item>string</array-item> <array-item>string</array-item> </privileges-array> </value> <key>obj-103</key> </array-item> </operations-array> </value> </ns0:Get-Result> |
Name | Type | Required | Description |
---|---|---|---|
result | service_info | Yes | The com.vmware.vapi.metadata.privilege.service_info instance that corresponds to service_id |
Type | Description | HTTP Status Code |
---|---|---|
not_found | if the service element associated with service_id does not have any privilege information. |
404 |
Copyright © 2014. All Rights Reserved.