List a collection of Test Targets
OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
{- "pagination": {
- "link": "",
- "page": 4,
- "pageSize": 20,
- "totalItems": 230,
- "totalPages": 12
}, - "results": [
- {
- "baselineRegEx": "release_.*",
- "baselineVariantId": "abcdef1234567890ghijkl",
- "created": 1651578240,
- "directory": "app/src",
- "id": "abcdef1234567890ghijkl",
- "lastModified": 1651578240,
- "name": "NodeGoat",
- "orgId": "example_org",
- "projectId": "example_project",
- "type": "repository",
}, - {
- "baselineRegEx": "release_.*",
- "baselineVariantId": "abcdef1234567890ghijkl",
- "created": 1651578240,
- "directory": "app/src",
- "id": "abcdef1234567890ghijkl",
- "lastModified": 1651578240,
- "name": "NodeGoat",
- "orgId": "example_org",
- "projectId": "example_project",
- "type": "repository",
}, - {
- "baselineRegEx": "release_.*",
- "baselineVariantId": "abcdef1234567890ghijkl",
- "created": 1651578240,
- "directory": "app/src",
- "id": "abcdef1234567890ghijkl",
- "lastModified": 1651578240,
- "name": "NodeGoat",
- "orgId": "example_org",
- "projectId": "example_project",
- "type": "repository",
}
]
}
Create a new Test Target
OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
{- "baselineRegEx": "release_.*",
- "baselineVariantId": "abcdef1234567890ghijkl",
- "directory": "app/src",
- "name": "NodeGoat",
- "type": "repository",
}
{- "id": "abcdef1234567890ghijkl"
}
Find Test Target by ID
OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
{- "baselineRegEx": "release_.*",
- "baselineVariantId": "abcdef1234567890ghijkl",
- "created": 1651578240,
- "directory": "app/src",
- "id": "abcdef1234567890ghijkl",
- "lastModified": 1651578240,
- "name": "NodeGoat",
- "orgId": "example_org",
- "projectId": "example_project",
- "type": "repository",
}
Update only certain fields on an existing Test Target
OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
{- "baselineRegEx": "release_.*",
- "baselineVariantId": "abcdef1234567890ghijkl",
- "directory": "app/src",
- "name": "NodeGoat",
- "type": "repository",
}
{- "baselineRegEx": "release_.*",
- "baselineVariantId": "abcdef1234567890ghijkl",
- "created": 1651578240,
- "directory": "app/src",
- "id": "abcdef1234567890ghijkl",
- "lastModified": 1651578240,
- "name": "NodeGoat",
- "orgId": "example_org",
- "projectId": "example_project",
- "type": "repository",
}
Update an existing Test Target
OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
{- "baselineRegEx": "release_.*",
- "baselineVariantId": "abcdef1234567890ghijkl",
- "directory": "app/src",
- "name": "NodeGoat",
- "type": "repository",
}
{- "baselineRegEx": "release_.*",
- "baselineVariantId": "abcdef1234567890ghijkl",
- "created": 1651578240,
- "directory": "app/src",
- "id": "abcdef1234567890ghijkl",
- "lastModified": 1651578240,
- "name": "NodeGoat",
- "orgId": "example_org",
- "projectId": "example_project",
- "type": "repository",
}