v1
latestOpenAPI 3.0.32026-07-223120123.1 KBProjects
Create a test in a project.
Create a test.
post/projects/{projectId}/tests
Path parameters
projectIdstring uuid required
The project id.
Request body
Example request
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"number": 1,
"name": "No duplicate rows",
"dateCreated": "2024-03-22T11:31:01.185Z",
"dateUpdated": "2024-03-22T11:31:01.185Z",
"evaluationWindow": 3600,
"type": "integrity",
"subtype": "duplicateRowCount",
"creatorId": "589ece63-49a2-41b4-98e1-10547761d4b0",
"originProjectVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"thresholds": [
{
"measurement": "duplicateRowCount",
"insightName": "duplicateRowCount",
"insightParameters": [
{
"name": "column_name",
"value": "Age"
}
],
"operator": "<="
}
],
"dateArchived": "2024-03-22T11:31:01.185Z",
"usesValidationDataset": true
}Response
Status OK.
Example response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"number": 1,
"name": "No duplicate rows",
"dateCreated": "2024-03-22T11:31:01.185Z",
"dateUpdated": "2024-03-22T11:31:01.185Z",
"evaluationWindow": 3600,
"type": "integrity",
"subtype": "duplicateRowCount",
"creatorId": "589ece63-49a2-41b4-98e1-10547761d4b0",
"originProjectVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"thresholds": [
{
"measurement": "duplicateRowCount",
"insightName": "duplicateRowCount",
"insightParameters": [
{
"name": "column_name",
"value": "Age"
}
],
"operator": "<="
}
],
"dateArchived": "2024-03-22T11:31:01.185Z",
"usesValidationDataset": true
}