age rating example responses
authorChristian Weiske <[email protected]>
Thu, 1 Jun 2023 18:25:04 +0000 (20:25 +0200)
committerChristian Weiske <[email protected]>
Thu, 1 Jun 2023 18:25:04 +0000 (20:25 +0200)
api/l2.gamestickservices.net/api-rest-parentcontroll-change-agerating-xxx-yyy.response-success.json [new file with mode: 0644]
api/l2.gamestickservices.net/api-rest-parentcontroll-change-agerating-xxx-yyy.response-wrongpass.json [new file with mode: 0644]
api/l2.gamestickservices.net/api-rest-parentcontroll-change-agerating-xxx-yyy.rst

diff --git a/api/l2.gamestickservices.net/api-rest-parentcontroll-change-agerating-xxx-yyy.response-success.json b/api/l2.gamestickservices.net/api-rest-parentcontroll-change-agerating-xxx-yyy.response-success.json
new file mode 100644 (file)
index 0000000..7036743
--- /dev/null
@@ -0,0 +1,7 @@
+{
+    "body": {
+        "success": true,
+        "message": null,
+        "action": "ChangeAgeRating"
+    }
+}
diff --git a/api/l2.gamestickservices.net/api-rest-parentcontroll-change-agerating-xxx-yyy.response-wrongpass.json b/api/l2.gamestickservices.net/api-rest-parentcontroll-change-agerating-xxx-yyy.response-wrongpass.json
new file mode 100644 (file)
index 0000000..45ac609
--- /dev/null
@@ -0,0 +1,5 @@
+{
+    "body": {
+        "success": false
+    }
+}
index 235dd4058c23deb4cfc89c3b1604905c8159d03f..c88f728b61381d26fe3761558d9279c4690f7bfb 100644 (file)
@@ -1,6 +1,6 @@
-===================================================================================================
-```GET http://l2.gamestickservices.net/api/rest/parentcontroll/change/agerating/xxx/yyy/view.json``
-===================================================================================================
+==================================================================================================
+``GET http://l2.gamestickservices.net/api/rest/parentcontroll/change/agerating/xxx/yyy/view.json``
+==================================================================================================
 
 Change the profile's minAge setting.
 
@@ -31,4 +31,24 @@ Path
 
 HTTP response
 =============
-FIXME
+
+Successful change
+-----------------
+Status code
+  ``200 OK``
+
+.. include:: api-rest-parentcontroll-change-agerating-xxx-yyy.response-success.json
+   :code:
+
+``action`` and ``message`` do not seem to be needed.
+
+
+Wrong password
+--------------
+Status code
+  ``200 OK``
+
+.. include:: api-rest-parentcontroll-change-agerating-xxx-yyy.response-wrongpass.json
+   :code:
+
+Neither ``action`` no ``message`` seem to be needed.