git.cweiske.de
/
stouyapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
www/api/v1/gamers/register-error.json
@@ -0,0
+1,11
@@
+{
+ "error": {
+ "message": "Validation errors occurred",
+ "code": 2006,
+ "data": {
+ "username": [
+ "Registration not available. Login instead."
+ ]
+ }
+ }
+}