authentication - PixarAnimationStudios/xolo GitHub Wiki
For more info about authentication, see the KEYS constant of lib/xolo/server/configuration.rb
Authenticate to the Xolo server and acquire a session cookie.
The 'rack.session' cookie that comes back with this or any subequent response, must be included in the next request made for this session.
This endpoint does not require authentication (obviously).
Type: JSON Object
Schema:
{
"admin": "adminLogin",
"password": "admin pw"
}
Type: JSON Object
Schema:
{
"admin": "adminLogin",
"authenticated": true
}
Log out the currently authenticated admin, and invalidate the session.
Type: None
Type: JSON Object
Schema:
{
"authenticated": false
}
Check if the current admin is allowed to set a titles release groups to 'all'
Type: None
Type: JSON Object
Schema:
{
"allowed": boolean,
"msg": "text message about getting access to release to all"
}