-
Notifications
You must be signed in to change notification settings - Fork 3
Assessment webhooks #59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 6 commits
763b191
dd89936
cb93c79
1ca4277
11400bb
bf1adba
ddc4672
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
.idea/* | ||
node_modules/* | ||
__pycache__ | ||
docs/diagrams/.* |
This file was deleted.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,8 +46,10 @@ <h2>Table of Contents</h2> | |
<li>Events for CodeSignal Assessments</li> | ||
<ul> | ||
<li> | ||
<a href="#clientworkflow">Organization user workflow</a> | ||
<a href="#customerworkflow">Customer workflow</a> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm customer sounds a bit weird, I feel like this change wasn't really necessary 🤔 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you elaborate on this? I feel like "organization user" might've been confusing since it's not clear what "organization" we're talking about (as in, CodeSignal or customer), while "customer" does not leave any space for ambiguity. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I guess that makes sense, though I think we use organization user a lot. Maybe it's just my interpretation since we say customer to refer to the whole company internally sometimes. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Ah, yeah, that's what I was going for here 😅 |
||
<ul> | ||
<li><a href="#assessmentCreated">assessmentCreated</a></li> | ||
<li><a href="#assessmentUpdated">assessmentUpdated</a></li> | ||
<li><a href="#companyTestSessionCreated">companyTestSessionCreated</a></li> | ||
</ul> | ||
</li> | ||
|
@@ -79,7 +81,7 @@ <h2>Table of Contents</h2> | |
</ul> | ||
</li> | ||
</ul> | ||
<li>Events for CodeSignal Live Interview</li> | ||
<li>Events for CodeSignal Interviews</li> | ||
<ul> | ||
<li><a href="#liveinterviewworkflow">Live Interview webhooks process flow</a></li> | ||
<li><a href="#liveInterviewFinished">liveInterviewFinished</a></li> | ||
|
@@ -327,10 +329,10 @@ <h3 id="payloads">Webhook payloads</h3> | |
</div> | ||
</div> | ||
<div class="section"> | ||
<h2>Events for CodeSignal Pre-Screen</h2> | ||
<h2>Events for CodeSignal Assessments</h2> | ||
<div class="subsection"> | ||
<p> | ||
Here is an overview of the end to end workflow of events for CodeSignal Pre-Screen. | ||
Here is an overview of the end to end workflow of events for CodeSignal Assessments. | ||
</p> | ||
<br /> | ||
<img | ||
|
@@ -340,14 +342,62 @@ <h2>Events for CodeSignal Pre-Screen</h2> | |
/> | ||
</div> | ||
<div class="subsection"> | ||
<h3 id="clientworkflow">Organization user workflow</h3> | ||
<h3 id="customerworkflow">Customer workflow</h3> | ||
<br /> | ||
<img | ||
alt="Diagram of webhooks triggered on client flow" | ||
alt="Diagram of webhooks triggered on customer flow" | ||
width="80%" | ||
src="../images/client-events.svg" | ||
/> | ||
</div> | ||
<div class="subsection"> | ||
<h3 id="assessmentCreated">assessmentCreated</h3> | ||
<p>Fired when a new assessment is created.</p> | ||
<div>Request format:</div> | ||
<pre><code>{ | ||
event: 'assessmentCreated', | ||
triggeredOn: number, | ||
payload: { | ||
assessmentId: string, | ||
assessmentTitle: string, | ||
assessmentStatus: 'active' | 'archived' | 'deleted' | ||
} | ||
};</code></pre> | ||
<div>Sample request:</div> | ||
<pre><code>{ | ||
event: 'assessmentCreated', | ||
triggeredOn: 1553720789347, | ||
payload: { | ||
assessmentId: 'lehu382hdleh29', | ||
assessmentTitle: 'General Coding Assessment', | ||
assessmentStatus: 'active' | ||
} | ||
};</code></pre> | ||
</div> | ||
<div class="subsection"> | ||
<h3 id="assessmentUpdated">assessmentUpdated</h3> | ||
<p>Fired when a new assessment is updated, including update events that do not end up changing anything on the assessment.</p> | ||
Albinutte marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<div>Request format:</div> | ||
<pre><code>{ | ||
event: 'assessmentUpdated', | ||
triggeredOn: number, | ||
payload: { | ||
assessmentId: string, | ||
assessmentTitle: string, | ||
assessmentStatus: 'active' | 'archived' | 'deleted' | ||
} | ||
};</code></pre> | ||
<div>Sample request:</div> | ||
<pre><code>{ | ||
event: 'assessmentUpdated', | ||
triggeredOn: 1553720789347, | ||
payload: { | ||
assessmentId: 'lehu382hdleh29', | ||
assessmentTitle: 'General Coding Assessment', | ||
assessmentStatus: 'archived' | ||
} | ||
};</code></pre> | ||
</div> | ||
<div class="subsection"> | ||
<h3 id="companyTestSessionCreated">companyTestSessionCreated</h3> | ||
<p>Fired when a test session is created.</p> | ||
|
@@ -380,7 +430,7 @@ <h3 id="companyTestSessionCreated">companyTestSessionCreated</h3> | |
<h3 id="candidateworkflow">Candidate workflow</h3> | ||
<br /> | ||
<img | ||
alt="Diagram of webhooks triggered by the CodeSignal Pre-Screen product" | ||
alt="Diagram of webhooks triggered by the CodeSignal Assessments product" | ||
width="100%" | ||
src="../images/candidate-events.svg" | ||
/> | ||
|
@@ -755,7 +805,7 @@ <h4 id="preScreenResultVerified">preScreenResultVerified</h4> | |
} | ||
};</code></pre> | ||
</div> | ||
<h2>Events for CodeSignal Live Interview</h2> | ||
<h2>Events for CodeSignal Live Interviews</h2> | ||
<div class="subsection"> | ||
<h3 id="liveinterviewworkflow">Live Interview webhooks process flow</h3> | ||
<img | ||
|
Uh oh!
There was an error while loading. Please reload this page.