Difference between revisions of "Preferences Server Payload Examples"

From wiki.gpii
Jump to: navigation, search
(GET Request)
(Response: Should have example using flat style; will add this later)
Line 5: Line 5:
 
</pre>
 
</pre>
  
== Response ==
+
== Response (Flat Style) ==
 +
 
 +
TODO
 +
 
 +
== Response (Old, Hierarchical Style) ==
  
 
=== 2x Magnification with Mouse Tracking and GNOME-specific Cross Hairs ===
 
=== 2x Magnification with Mouse Tracking and GNOME-specific Cross Hairs ===

Revision as of 13:14, 21 February 2013

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
                }
            }]
        }
    }
}