first analytics (tracking) request
authorChristian Weiske <[email protected]>
Mon, 17 Apr 2023 17:37:49 +0000 (19:37 +0200)
committerChristian Weiske <[email protected]>
Mon, 17 Apr 2023 17:37:49 +0000 (19:37 +0200)
api/l2.gamestickservices.net/api-rest-analytics-application-event-analytics-event-view.json.response-full.json [new file with mode: 0644]
api/l2.gamestickservices.net/api-rest-analytics-application-event-analytics-event-view.json.rst
api/l2.gamestickservices.net/api-rest-connect-stick-stick-xxx-view.json.rst
api/l2.gamestickservices.net/api-rest-wallet-payment-game-init-transaction-do-view.json.rst

diff --git a/api/l2.gamestickservices.net/api-rest-analytics-application-event-analytics-event-view.json.response-full.json b/api/l2.gamestickservices.net/api-rest-analytics-application-event-analytics-event-view.json.response-full.json
new file mode 100644 (file)
index 0000000..50b59cb
--- /dev/null
@@ -0,0 +1 @@
+{"body":{"success":true}}
index 635cd3c309da2c3200c2042d99c783f2d72fd39b..2b7a240e87d7c198fa6d6c769f53a9226afa40b3 100644 (file)
@@ -5,6 +5,11 @@
 Send user behavior data to the server (tracking).
 
 
+Known to be used in firmware versions:
+
+- 2058
+
+
 HTTP request
 ============
 Protocol
@@ -32,4 +37,23 @@ Path
 
 HTTP response
 =============
-FIXME
+Headers
+  ``Content-Type``
+    ``application/json``
+
+All data in the response must be on one line.
+
+.. include:: api-rest-analytics-application-event-analytics-event-view.json.response-full.json
+   :code:
+
+If the response is not successful, or the response cannot be parsed into a
+JSON object from one line of response data,
+the tracking data are sent again some minutes later.
+
+
+Usage
+=====
+Analytics intents are sent by the console application.
+
+Response gets parsed in
+``com.playjam.gamestick.databaseinterfaceservice.DatabaseInterfaceService#ParseResponse()``
index 4de785717a64e8251c1a847cfe3d22556ae9b20f..9e944e7a787c65f98ebecc4fbdafa3a3d7e8921d 100644 (file)
@@ -1,6 +1,6 @@
-============================================================================
-``POST l2.gamestickservices.net/api/rest/connect/stick/stick/xxx/view.json``
-============================================================================
+===================================================================================
+``POST http://l2.gamestickservices.net/api/rest/connect/stick/stick/xxx/view.json``
+===================================================================================
 
 Used for several things:
 
index acf60821ae04649387b08d96a6b08da03a73e164..37f7e59c8f6b8db0e30b8ce3a2b06ad71b4a2d1a 100644 (file)
@@ -5,6 +5,11 @@
 When clicking "buy" in the game details screen.
 
 
+Known to be used in firmware versions:
+
+- 2058
+
+
 HTTP request
 ============
 Protocol