User
/profile (authenticated)
Get the profile for the logged in user
Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.
/profile (authenticated)
Update the profile for the logged in user
Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.
{
// The email for the user
email: email,
// The new password for the user
password: password,
// The user's username
username: string,
}
/user/permissions/:teamid (authenticated)
Get the permissions the user has in a given team
Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.
teamid: The id of the team to act on
/user/feedback
Give user feedback
{
// Feedback from user
feedback: feedback,
// User email
email: email,
}
/user/switchcloud (authenticated)
Switch cloud
Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.
{
// Cloud version
cloud_version: cloud_version,
}