Era.Common.NetworkMessage.ConsoleApi.Policies.RpcModifyPolicyTargetsRequest
Description
Assigns and removes targets from a policy.
Properties
Dual message (request/response)
Era.Common.NetworkMessage.ConsoleApi.Policies.RpcModifyPolicyTargetsResponse |
Referenced in messages
No references.JsonSchema
{
"title": "Era.Common.NetworkMessage.ConsoleApi.Policies.RpcModifyPolicyTargetsRequest",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"required": [
"Era.Common.NetworkMessage.ConsoleApi.Policies.RpcModifyPolicyTargetsRequest"
],
"properties": {
"Era.Common.NetworkMessage.ConsoleApi.Policies.RpcModifyPolicyTargetsRequest": {
"$ref": "#/definitions/RpcModifyPolicyTargetsRequest"
}
},
"definitions": {
"RpcModifyPolicyTargetsRequest": {
"additionalProperties": false,
"required": [
"policyUuid"
],
"type": "object",
"properties": {
"addedTargets": {
"oneOf": [
{
"minItems": 1,
"type": "array",
"items": [
{
"$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
}
]
},
{
"maxItems": 0,
"type": "array",
"items": [
{
"$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
}
]
}
]
},
"policyUuid": {
"$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
},
"removedTargets": {
"oneOf": [
{
"minItems": 1,
"type": "array",
"items": [
{
"$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
}
]
},
{
"maxItems": 0,
"type": "array",
"items": [
{
"$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
}
]
}
]
}
}
}
}
}