POST /com/vmware/vapi/metadata/privilege/service/operation/id:{service_id}?~action=get |
POST /com/vmware/vapi/metadata/privilege/service/operation?~action=get |
operation_id
contained in the service element corresponding to service_id
.
{
"operation_id": "obj-103", "service_id": "obj-103" }
<?xml version="1.0" ?>
<ns0:Get-Input xmlns:ns0="http://vmware.com/vapi/metadata/privilege/service/operation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <service_id>obj-103</service_id> <operation_id>obj-103</operation_id> </ns0:Get-Input>
POST /com/vmware/vapi/metadata/privilege/service/operation?~action=get
&service_id=obj-103 &operation_id=obj-103 |
Name | Type | Required | Description |
---|---|---|---|
service_id* |
ID | Yes | Identifier of the service element. Id of type com.vmware.vapi.service. |
operation_id* |
ID | Yes | Identifier of the operation element. Id of type com.vmware.vapi.operation. |
{
"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/operation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <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> </ns0:Get-Result> |
Name | Type | Required | Description |
---|---|---|---|
result | operation_info | Yes | The com.vmware.vapi.metadata.privilege.operation_info instance that corresponds to operation_id . |
Type | Description | HTTP Status Code |
---|---|---|
not_found | if the service element associated with service_id does not exist. |
404 |
Copyright © 2014. All Rights Reserved.