vapi metadata privilege: operation info
The
operation_info
structure contains privilege information of an operation element. For an explanation of containment within operation elements, see vapi.metadata.privilege.service.operation.
Representation:
{
"privileges" : [
"string",
"string"
],
"privilege_info" : [
{
"privileges" : [
"string",
"string"
],
"property_path" : "string"
},
{
"privileges" : [
"string",
"string"
],
"property_path" : "string"
}
]
}
"privileges" : [
"string",
"string"
],
"privilege_info" : [
{
"privileges" : [
"string",
"string"
],
"property_path" : "string"
},
{
"privileges" : [
"string",
"string"
],
"property_path" : "string"
}
]
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
privileges | string[] | List of all privileges assigned to the operation element. |
privilege_info | privilege_info[] | Privilege information of all the parameter elements of the operation element. For an explanation of containment of privilege information within parameter elements, see vapi.metadata.privilege.privilege_info. |
privilege_info[].property_path | string | The property_path points to an entity that is used in the operation element. An entity can either be present in one of the parameter elements or if a parameter is a structure element, it could also be present in one of the field elements. If the privilege is assigned to an entity used in the parameter, |
privilege_info[].privileges | string[] | List of privileges assigned to the entity that is being referred by vapi.metadata.privilege.privilege_info.property_path. |