Working game information with fw 2058
[gamestick-pjgsapi.git] / www / api / rest / connect / stick / stick / ac:db:da:09:18:5c / view.json
index c7ad2c2313dc05d5e793e8aaa9e7eb6c3442c243..c1ae1f3f962a2e82690838b1399afa59fc34c236 100644 (file)
@@ -1,6 +1,322 @@
 {
     "sid":"dummy",
-    "time":"1680109254000",
-    "status":"CONNECTION_IN_PROGRESS",
-    "registrationCode":"12345678"
+    "time":"1680109254009",
+
+    "lastaccessed": 1385115865502,
+    "x-forwarded-for": null,
+    "created": 1385115865509,
+    "accessCount": 0,
+    "addr": "10.37.137.31",
+    "remoteaddr": "135.196.28.241",
+
+    "body": {
+        "status":"CONNECTED",
+        "config": {
+            "apps": [
+                {
+                    "id": 1001,
+                    "minAge": 3,
+                    "name": "ToFu media player",
+                    "description": "none",
+                    "package": "com.pivos.tofu",
+                    "size": 12853,
+                    "download": {
+                        "version": 120204,
+                        "url": "http://l2.gamestickservices.net/resources/apks/com.pivos.tofu-120204.apk"
+                    },
+                    "genre": "Media",
+                    "genres": [
+                        {
+                            "genre": "Media"
+                        }
+                    ],
+                    "popular": 1,
+                    "featured": 1,
+                    "isfree": true,
+                    "bought": false,
+                    "downloadedfree": false,
+                    "pricing": {
+                        "buy": {
+                            "price": "GBP 0.00"
+                        },
+                        "rent": []
+                    },
+                    "multipricing": {
+                        "buy": [
+                            {
+                                "amount": 0,
+                                "isocurrency": "USD"
+                            },
+                            {
+                                "amount": 0,
+                                "isocurrency": "EUR"
+                            },
+                            {
+                                "amount": 0,
+                                "isocurrency": "GBP"
+                            }
+                        ],
+                        "rent": []
+                    },
+                    "images": [
+                        {
+                            "name": "STICK_THUMBNAIL1",
+                            "width": 350,
+                            "height": 88,
+                            "urls": [
+                                {
+                                    "url": "http://l2.gamestickservices.net/resources/graphics/games/114-2a08b90880dd293d772db1e35e9598b6.png",
+                                    "version": 2
+                                }
+                            ]
+                        },
+                        {
+                            "name": "STICK_THUMBNAIL2",
+                            "width": 350,
+                            "height": 160,
+                            "urls": [
+                                {
+                                    "url": "http://l2.gamestickservices.net/resources/graphics/games/114-64ed51c05432bd0c4a40d596db08375c.png",
+                                    "version": 1
+                                }
+                            ]
+                        },
+                        {
+                            "name": "STICK_THUMBNAIL3",
+                            "width": 350,
+                            "height": 236,
+                            "urls": [
+                                {
+                                    "url": "http://l2.gamestickservices.net/resources/graphics/games/114-f5f6fd1ea05c08414904e0c60d0df72a.png",
+                                    "version": 1
+                                }
+                            ]
+                        },
+                        {
+                            "name": "STICK_THUMBNAIL4",
+                            "width": 350,
+                            "height": 400,
+                            "urls": [
+                                {
+                                    "url": "http://l2.gamestickservices.net/resources/graphics/games/114-99ad69cf491f763fdc9dc08f51f72c17.png",
+                                    "version": 1
+                                }
+                            ]
+                        },
+                        {
+                            "name": "STICK_REGISTRATION_GAME_ICON",
+                            "width": 200,
+                            "height": 200,
+                            "urls": [
+                                {
+                                    "url": "http://l2.gamestickservices.net/resources/graphics/games/114-a4676cb901387a24d105271b4eb21cc3.png",
+                                    "version": 1
+                                }
+                            ]
+                        }
+                    ],
+                    "videos": []
+                },
+
+                {
+                    "id": 114,
+                    "minAge": 3,
+                    "name": "Evac",
+                    "description": "Run for your life through colorful neon mazes, chased by countless and ever-vigilant security forces.\r\n\r\nBe creative - play stealthily to avoid encounters, prepare traps for your enemies or just rush as fast as you can right in front of their eyes. Figure out how to beat the system and destroy your captors in 32 action-packed levels.\r\n\r\nThe only way out is the way through! Break out and take revenge!\r\n\r\nDEVELOPER\r\nHexage",
+                    "package": "net.hexage.evac",
+                    "size": 12853,
+                    "download": {
+                        "version": 220315,
+                        "url": "http://l2.gamestickservices.net/resources/apks/net.hexage.evac-220315.apk"
+                    },
+                    "genre": "Arcade",
+                    "genres": [
+                        {
+                            "genre": "Arcade"
+                        },
+                        {
+                            "genre": "Classics"
+                        }
+                    ],
+                    "popular": 1,
+                    "featured": 1,
+                    "isfree": true,
+                    "bought": false,
+                    "downloadedfree": false,
+                    "pricing": {
+                        "buy": {
+                            "price": "GBP 0.00"
+                        },
+                        "rent": []
+                    },
+                    "multipricing": {
+                        "buy": [
+                            {
+                                "amount": 0,
+                                "isocurrency": "USD"
+                            },
+                            {
+                                "amount": 0,
+                                "isocurrency": "EUR"
+                            },
+                            {
+                                "amount": 0,
+                                "isocurrency": "GBP"
+                            }
+                        ],
+                        "rent": []
+                    },
+                    "images": [
+                        {
+                            "name": "STICK_THUMBNAIL1",
+                            "width": 350,
+                            "height": 88,
+                            "urls": [
+                                {
+                                    "url": "http://l2.gamestickservices.net/resources/graphics/games/114-2a08b90880dd293d772db1e35e9598b6.png",
+                                    "version": 2
+                                }
+                            ]
+                        },
+                        {
+                            "name": "STICK_THUMBNAIL2",
+                            "width": 350,
+                            "height": 160,
+                            "urls": [
+                                {
+                                    "url": "http://l2.gamestickservices.net/resources/graphics/games/114-64ed51c05432bd0c4a40d596db08375c.png",
+                                    "version": 1
+                                }
+                            ]
+                        },
+                        {
+                            "name": "STICK_THUMBNAIL3",
+                            "width": 350,
+                            "height": 236,
+                            "urls": [
+                                {
+                                    "url": "http://l2.gamestickservices.net/resources/graphics/games/114-f5f6fd1ea05c08414904e0c60d0df72a.png",
+                                    "version": 1
+                                }
+                            ]
+                        },
+                        {
+                            "name": "STICK_VIDEO1_SCREENSHOT",
+                            "width": 350,
+                            "height": 160,
+                            "urls": [
+                                {
+                                    "url": "http://l2.gamestickservices.net/resources/graphics/games/114-9ab4f40eb0d390351e3aa86a90d1a248.png",
+                                    "version": 2
+                                }
+                            ]
+                        },
+                        {
+                            "name": "STICK_THUMBNAIL4",
+                            "width": 350,
+                            "height": 400,
+                            "urls": [
+                                {
+                                    "url": "http://l2.gamestickservices.net/resources/graphics/games/114-99ad69cf491f763fdc9dc08f51f72c17.png",
+                                    "version": 1
+                                }
+                            ]
+                        },
+                        {
+                            "name": "STICK_REGISTRATION_GAME_ICON",
+                            "width": 200,
+                            "height": 200,
+                            "urls": [
+                                {
+                                    "url": "http://l2.gamestickservices.net/resources/graphics/games/114-a4676cb901387a24d105271b4eb21cc3.png",
+                                    "version": 1
+                                }
+                            ]
+                        },
+                        {
+                            "name": "STICK_SCREENSHOT",
+                            "width": 350,
+                            "height": 160,
+                            "urls": [
+                                {
+                                    "url": "http://l2.gamestickservices.net/resources/graphics/games/114-fd4e7edc463998ce39e1894cdb95b9ef.png",
+                                    "version": 1
+                                },
+                                {
+                                    "url": "http://l2.gamestickservices.net/resources/graphics/games/114-19272ad7e3d77eb84931b1046aa78f7c.png",
+                                    "version": 1
+                                },
+                                {
+                                    "url": "http://l2.gamestickservices.net/resources/graphics/games/114-370e4bcead84deea85b662a7ee041e15.png",
+                                    "version": 1
+                                }
+                            ]
+                        }
+                    ],
+                    "videos": [
+                        {
+                            "version": 711,
+                            "url": "http://l2.gamestickservices.net/resources/graphics/games/114-6fb419d8153a5d5322bcc8b709585c00.mov"
+                        }
+                    ]
+                }
+            ],
+            "global": {
+                "uitranslation": {
+                    "country": [
+                    ],
+                    "version": 0
+                },
+                "newfeatured": {
+                    "ages": [
+                        {
+                            "age": 3,
+                            "entries": [
+                                {
+                                    "column": 1,
+                                    "columnentries": [
+                                        {
+                                            "gameID": 114,
+                                            "thumbnail": 6,
+                                            "column": 1
+                                        }
+                                    ]
+                                },
+                                {
+                                    "column": 2,
+                                    "columnentries": [
+                                        {
+                                            "gameID": 1001,
+                                            "thumbnail": 3,
+                                            "column": 2
+                                        },
+                                        {
+                                            "gameID": 114,
+                                            "thumbnail": 3,
+                                            "column": 2
+                                        }
+                                    ]
+                                },
+                                {
+                                    "column": 3,
+                                    "columnentries": [
+                                        {
+                                            "gameID": 114,
+                                            "thumbnail": 4,
+                                            "column": 3
+                                        },
+                                        {
+                                            "gameID": 114,
+                                            "thumbnail": 2,
+                                            "column": 3
+                                        }
+                                    ]
+                                }
+                            ]
+                        }
+                    ]
+                }
+            }
+        }
+    }
 }