Show "registration not available" notice + validation error
[stouyapi.git] / www / api / v1 / gamers / register-error.json
diff --git a/www/api/v1/gamers/register-error.json b/www/api/v1/gamers/register-error.json
new file mode 100644 (file)
index 0000000..de9ef05
--- /dev/null
@@ -0,0 +1,11 @@
+{
+    "error": {
+        "message": "Validation errors occurred",
+        "code": 2006,
+        "data": {
+            "username": [
+                "Registration not available. Login instead."
+            ]
+        }
+    }
+}