-
Notifications
You must be signed in to change notification settings - Fork 0
API Routes
MaudiTemp edited this page May 18, 2019
·
4 revisions
{
Found: []string
} // as json{
"$schema": "http://json-schema.org/schema#",
"title": "loginRequest",
"type": "object",
"properties": {
"username": {
"type": "string",
"description": "Unique username to login"
},
"password": {
"type": "string",
"description": "Password"
}
}
}"logged in"
"Password wrong"
"No User with this Username"
{
"$schema": "http://json-schema.org/schema#",
"title": "registerRequest",
"type": "object",
"properties": {
"displayname": {
"type": "string",
"description": "Displayname"
},
"username": {
"type": "string",
"description": "Unique username to login"
},
"password": {
"type": "string",
"description": "Password"
}
}
}"Username already taken"
"Registered"
{
"$schema": "http://json-schema.org/schema#",
"title": "registerRequest",
"type": "object",
"properties": {
"displayname": {
"type": "string",
"description": "Displayname"
},
"password": {
"type": "string",
"description": "Password"
}
}
}"No sessionkey log in again"
"Data Changes"