Auth
Login
post/auth/login
Request
- Base URLhttps://app.didattica.polito.it/api
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"client": {
"buildNumber": "1060200",
"appVersion": "1.6.2",
"fcmRegistrationToken": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"name": "Students app",
"id": "5a54f626-4b7e-488e-a0e3-300f54051510"
},
"preferences": {
"language": "it"
}
}Response
The request has succeeded.
Example response
{
"data": {
"username": "s290683",
"type": "student",
"clientId": "5a54f626-4b7e-488e-a0e3-300f54051510",
"token": "c679fa38ff665df6a676acd833194385"
}
}Changes
No recorded changes to this operation across all 10 revisions of this API.