Auth
Get an access token for a specific service | Ottieni un token di accesso per un servizio specifico
Changed onReturns the access token as plain text, or rendered as a QR code (SVG) when requested with Accept: image/svg+xml. | Restituisce il token di accesso come testo, oppure come codice QR (SVG) se richiesto con Accept: image/svg+xml.
get/auth/profile/token
Request
- Base URLhttps://app.didattica.polito.it/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
type'card' | 'event' required
idstring
Headers
accept'image/svg+xml' | 'text/plain' required
Response
QR rendered as an SVG image
Changes
- info
endpoint added
- info