Preferences Server Payload Examples

From wiki.gpii
Revision as of 13:14, 21 February 2013 by CStrobbe (talk | contribs) (Response: Should have example using flat style; will add this later)
Jump to: navigation, search

Request

    GET /user/<token>

Response (Flat Style)

TODO

Response (Old, Hierarchical Style)

2x Magnification with Mouse Tracking and GNOME-specific Cross Hairs

{
    "display": {
        "screenEnhancement": {
            "magnification": 2.0,
            "tracking": "mouse",
            "applications": [{
                "name": "GNOME Shell Magnifier",
                "id": "org.gnome.desktop.a11y.magnifier",
                "priority": 100,
                "parameters": {
                    "show-cross-hairs": true
                }
            }, {
                "name": "Windows Magnifier",
                "id": "com.microsoft.windows.screenmagnifier",
                "priority": 0,
                "parameters": {
                    "MagnifierUIWindowMinimized": 0
                }
            }]
        }
    }
}