Manifest Evaluation REST API
Warning
This REST API was deprecated in IQ Server Release 126 and removed in IQ Server Release 169.
Use Source Control Evaluation REST API instead.
Request a Manifest Evaluation
POST /api/v2/evaluation/applications/{applicationInternalId}/manifestEvaluationwith a JSON body:{
"stageId": "develop",
"branchName": "my-test-branch-name"
}Example using the cURL tool:curl -u admin:admin123 -X POST -H "Content-Type: application/json" -d '{"stageId":"develop","branchName":"my-test-branch-name"}' 'http://localhost:8070/api/v2/evaluation/applications/cb748fb6ff8f4251b40b63edf1cc465c/manifestEvaluation'which will result in a JSON response like this:{
"statusUrl": "api/v2/evaluation/applications/cb748fb6ff8f4251b40b63edf1cc465c/status/accc369749774924baa1d207494c29e1"
}Check the Status of a Manifest Evaluation Request
GET api/v2/evaluation/applications/{applicationInternalId}/status/{statusId}Example using the cURL tool:curl -u admin:admin123 'http://localhost:8070/api/v2/evaluation/applications/cb748fb6ff8f4251b40b63edf1cc465c/status/accc369749774924baa1d207494c29e1'
The response will include one of three possible status values:
PENDING, FAILED, COMPLETEDFor example, if the manifest evaluation is still in progress:
{
"status": "PENDING"
}or, in the rare case of an error that causes the manifest evaluation to fail:{
"status": "FAILED",
"reason": "message"
}or, finally, if the evaluation is successful links to the evaluation report are provided:{
"status": "COMPLETED",
"reportHtmlUrl": "ui/links/application/cb748fb6ff8f4251b40b63edf1cc465c/report/affdb6b964a64f0bad2db7170c7560dc",
"embeddableReportHtmlUrl": "ui/links/application/cb748fb6ff8f4251b40b63edf1cc465c/report/affdb6b964a64f0bad2db7170c7560dc/embeddable",
"reportPdfUrl": "ui/links/application/cb748fb6ff8f4251b40b63edf1cc465c/report/affdb6b964a64f0bad2db7170c7560dc/pdf",
"reportDataUrl": "api/v2/applications/cb748fb6ff8f4251b40b63edf1cc465c/reports/affdb6b964a64f0bad2db7170c7560dc"
}