More work on game data
authorChristian Weiske <[email protected]>
Sun, 2 Apr 2023 19:28:06 +0000 (21:28 +0200)
committerChristian Weiske <[email protected]>
Sun, 2 Apr 2023 19:28:06 +0000 (21:28 +0200)
api/l2.gamestickservices.net/api-rest-connect-stick-stick-xxx-view.json.response-registered.json
api/l2.gamestickservices.net/api-rest-connect-stick-stick-xxx-view.json.rst

index 1223225a7e45fc3a630b91c4e96a5469e7afac88..823a47e1490f9b9338aa5ee4f79ecbd418074b6c 100644 (file)
         "status":"CONNECTED",
         "config": {
             "apps": [
+                {
+                    "id": 23,
+                    "minAge": 3,
+                    "name": "My game title",
+                    "description": "Game description FIXME format",
+                    "package": "org.example.game",
+                    "size": 12345,
+                    "download": {
+                        "url": "http://example.org/game.apk"
+                    },
+                    "genre": "Racing",
+                    "genres": [
+                        {
+                            "genre": "Racing"
+                        }
+                    ],
+                    "popular": 1,
+                    "featured": 1,
+                    "isfree": true,
+                    "bought": false,
+                    "downloadedfree": false,
+                    "multipricing": {
+                        "buy": [
+                            {
+                                "amount": 23.42,
+                                "isocurrency": "EUR"
+                            }
+                        ],
+                        "rent": [
+                        ]
+                    },
+                    "images": [
+                        {
+                            "name": "STICK_SCREENSHOT",
+                            "width": 512,
+                            "height": 384,
+                            "urls": [
+                                {
+                                    "url": "http://example.org/image.jpg"
+                                }
+                            ]
+                        }
+                    ]
+                }
             ],
             "global": {
                 "uitranslation": {
index 810666454b6d4f7ec648964ce36b79fda8cf6b80..522c4ce8350621ac916b23c5e5107f97bb2018dc 100644 (file)
@@ -72,6 +72,35 @@ Registration complete - ``CONNECTED``
 Status code
    ``200 OK``
 
+
+``body.config.apps[].genre``
+  Not used in firmware 2071, but still available - probably for older versions.
+``body.config.apps[].genres``
+  Known genres:
+  - Action
+  - Adventure
+  - Arcade
+  - Classics
+  - Media
+  - Platformer
+  - Puzzle
+  - Racing
+  - Shmup
+  - Shooter
+
+``body.config.apps[].images.name``
+  Special name ``STICK_SCREENSHOT`` adds the image URLs as screenshot,
+  otherwise as thumbnail. (firmware 2071).
+
+  Known names:
+  - ``STICK_THUMBNAIL1`` (width 350)
+  - ``STICK_THUMBNAIL2`` (width 350)
+  - ``STICK_THUMBNAIL3`` (width 350)
+  - ``STICK_THUMBNAIL4`` (width 350)
+  - ``STICK_VIDEO1_SCREENSHOT`` (width 350)
+  - ``STICK_REGISTRATION_GAME_ICON`` (200x200px)
+  - ``STICK_SCREENSHOT`` (width 350)
+
 .. include:: api-rest-connect-stick-stick-xxx-view.json.response-registered.json
    :code: