-
Notifications
You must be signed in to change notification settings - Fork 0
API Reference: Interviews
Wilson Lau edited this page Apr 10, 2021
·
16 revisions
The interview resource represents a full life-cycle of any given interview, for the initial interview request to after the interview is complete. Each interview has a unique primaryUser, secondaryUser and startTime.
interface Interview {
id: uuid;
status: InterviewStatus;
primaryUserId: uuid; // Represents inviter
secondaryUserId: uuid; // Represents invitee
startTime: string; // ISO DateTime string in UTC (on the hour)
languages: CodingLanguage[] // Represents matched coding languages between the users
questions: InterviewQuestion[];
questionDifficulties: QuestionDifficulty[];
questionTypes: QuestionType[];
code: string;
}
// TODO: Other requirements for WebRTC, etc.
enum InterviewStatus {
INVITED, CONFIRMED, COMPLETED, CANCELLED
}
availabilityId: uuid;
secondaryUserId: uuid;
startTime: string;