1. Login
2. Tribes
===
Creates a new user
{
username: string,
password: string,
first_name: string,
last_name: string
}
{
token: integer
}
===
Creates a new sessions and returns the session token
{
username: string,
password: string
}
{
token: integer
}
===
Destroys the current session
{
token: string
}
===
Create a new tribe and add creator to it
{
name: string,
token: string
}
===
Adds user to said tribe. FRIEND AUTHENTICATION NEEDS TO BE ADDED!
none...
===
Get a list of all users in a tribe
{
token: string
}
{
users: [
{
username: string,
name: string,
id: integer,
image: string (url)
},
...
]
}