Skip to content

Latest commit

 

History

History
75 lines (56 loc) · 1.04 KB

File metadata and controls

75 lines (56 loc) · 1.04 KB

Api Documentation

login

POST

Request

edit this to be correct to our project or link swaggerhub or something

login - Username of the user logging in
pass - Password of the user logging in

{
	"login": string,
	"password": string
}

Returns

edit this to be correct to our project or link swaggerhub or something

json body
error should usually be empty

{
	"id": int,
	"firstName": string,
	"lastName": string,
	"error": string
}

signup

POST

Request

edit this to be correct to our project or link swaggerhub or something

{
	"FirstName": string,
	"LastName": string,
	"Username": string,
	"Password": string
}

Returns

edit this to be correct to our project or link swaggerhub or something

Empty error string

{
	"error": ""
}