All endpoints return errors along with other response data specified below
error
{
code: int
error: string
message: string
}
{
chalmers: {
cid: string
password: string
}
}
validate the credentials
encrypt them,
send them back as cookie
set cookie
{
errors: [error]
}
unset cookie
{
errors: [error]
}
{
rooms: [{
provider: string
id: string
},...]
errors: [error]
}
{
bookings: [{
id: string
from: string (2016-11-03T12:15)
to: string (2016-11-03T12:30)
room: {
provider: string
id: string
}
},...]
errors: [error]
}
cookie
{
from: string (2016-11-03T12:15)
to: string (2016-11-03T12:30)
text: string
room: {
provider: string
id: string
}
}
{
id: string
errors: [error]
}
All endpoints return errors along with other response data specified below
validate the credentials
encrypt them,
send them back as cookie