Era.Common.NetworkMessage.ConsoleApi.Features.RpcSetFeatureStateRequest

Description

Request saving feature state

Properties

Name JsonSchemaType Description
enabled boolean state of feature.
feature string feature name
userUuid string uuid of user, when uuid is empty rpc set feature for all users

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.Features.RpcSetFeatureStateResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Features.RpcSetFeatureStateRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Features.RpcSetFeatureStateRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Features.RpcSetFeatureStateRequest": {
            "$ref": "#/definitions/RpcSetFeatureStateRequest"
        }
    },
    "definitions": {
        "RpcSetFeatureStateRequest": {
            "additionalProperties": false,
            "required": [
                "enabled",
                "feature"
            ],
            "type": "object",
            "properties": {
                "enabled": {
                    "type": "boolean"
                },
                "feature": {
                    "type": "string"
                },
                "userUuid": {
                    "type": "string"
                }
            }
        }
    }
}