The API to sign up a "UTORid" (username) for this system.
Note:
- Even though we call it "UTORid", you don't have to sign up with your real UTORid. You can use any ids you want, if not taken by someone else already.
- You need to copy and paste the returned token immediately. The token will only be shown once. If you forget the token, you need to sign up with a different id.
URL : /signUp
Method : GET
Auth required : Not required to signup
Required Request Parameters
{
"utorid": "The ID (doesn't have to be your real utorid)"
}
Condition : The utorid has not previously been used to signup for the system.
Code : 200 OK
Content example :
{
"status_code": 200,
"message": "Token generated successfully",
"token": "UNIQUE_API_TOKEN_FOR_THIS_USERNAME"
}
Condition : Someone has signed up with this utorid already.
Content example :
{
"status_code": 200,
"message": "Someone took this username. If you are not the owner of this username or you forgot your token, please sign up with a different username and use the new token instead."
}