-
Notifications
You must be signed in to change notification settings - Fork 1
API Reference: Users
Wilson Lau edited this page Jul 29, 2021
·
5 revisions
interface User {
id: uuid;
name: string;
email: string;
timeZone: string; // Standard ISO TimeZone string (ie. America/New_York)
languages: CodingLanguage[];
questionDifficulties: QuestionDifficulty[];
questionTypes: QuestionType[];
}
// TODO: Figure out Spring Security + oAuth data requirements
- Returns user based on embedded cookie.
Used for updating certain user settings, including timeZone, languages, etc.
interface UpdateUserRequest {
timeZone: string; // Standard ISO TimeZone string (ie. America/New_York)
languages: CodingLanguage[];
questionDifficulties: QuestionDifficulty[];
questionTypes: QuestionType[];
}