Datasaur
Search
⌃K

Events

Project Completed

A PROJECT_COMPLETED event will be sent after the labeler marks the project as completed.

Example

Request Body

This json example has been prettified for documentation purposes.
{
"eventType": "PROJECT_COMPLETED",
"data": {
"timestamp": "2020-09-18T03:59:51.295Z",
"labeler": {
"id": "1",
"email": "[email protected]",
"username": "user",
"name": ""
},
"project": {
"id": "1Ceayaa9989",
"name": "test project",
"type": "CONSTITUENCY"
},
"team": {
"id": "4"
}
}
}

Request Header

{
"accept": "application/json, text/plain, */*",
"content-type": "application/json;charset=utf-8",
"user-agent": "Datasaur",
"x-datasaur-signature": "c5deba1e0bd4cb2ff82851266947935ac4be45963286c9e79f9192abe8e82586"
}

Project Reviewed

Project completed event will be sent after the reviewer marks the project as completed in Reviewer Mode.

Example

Request Body

This json example has been prettified for documentation purposes.
{
"eventType": "PROJECT_REVIEWED",
"data": {
"timestamp": "2020-09-18T04:00:19.674Z",
"reviewer": {
"id": "1",
"email": "[email protected]",
"username": "user",
"name": ""
},
"project": {
"id": "1Ceayaa9989",
"name": "test project",
"type": "CONSTITUENCY"
},
"team": {
"id": "4"
}
}
}

Request Header

{
"accept": "application/json, text/plain, */*",
"content-type": "application/json;charset=utf-8",
"user-agent": "Datasaur",
"x-datasaur-signature": "8c36fa8139cb3394d4c0ad7827eaf0d009eccd622f46d0b94a42614f625b2509"
}