Lifecycle Manager Payload Examples

From wiki.gpii
Jump to: navigation, search

See Example Payloads.

POST request (Launching/configuring)

[
    {
        "id": "org.gnome.desktop.a11y.magnifier",
        "settingsHandlers": [
            {
                "type": "gpii.settings.gsettingsHandler",
                "settings": {
                    "cross-hairs-clip": true,
                    "cross-hairs-color": "rubbish",
                    "cross-hairs-length": 4096,
                    "cross-hairs-opacity": 0.2,
                    "cross-hairs-thickness": 10,
                    "lens-mode": true,
                    "mag-factor": 12.2,
                    "mouse-tracking": "push",
                    "screen-position": "top-half",
                    "scroll-at-edges": true,
                    "show-cross-hairs": "9910192920"
                },
                "options": {}
            }
        ],
        "launchHandlers": [
            {
                "type": "gpii.launch.gsettings",
                "start": {
                    "schema": "org.gnome.desktop.a11y.applications",
                    "key": "screen-magnifier-enabled",
                    "value": true
                },
                "stop": {
                    "schema": "org.gnome.desktop.a11y.applications",
                    "key": "screen-magnifier-enabled",
                    "value": false
                }
            }
        ]
    }
]

DELETE request

[
    { "id": "org.gnome.desktop.a11y.magnifier" }
]