Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
/rest/{version}/cicd/passCriteria/{criteriaId}/detail
Descriptor | Value |
---|---|
HTTP Method | GET |
Description | Returns detailed information about the specified CI/CD Pass Criteria. |
Required Permission | Manage CI/CD |
Version Introduced | 2.5.0 |
Request Header Parameters
Parameter | Value | Required | Description |
---|---|---|---|
Accept | String | Yes | A value of ‘application/json’ must be provided. |
Sample Call:
Code Block | ||
---|---|---|
| ||
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" -X GET http://localhost:8080/threadfix/rest/latest/cicd/passCriteria/2/detail |
Sample Output:
Code Block | |
---|---|
Eclipse | { "message": "", "success": true, "responseCode": -1, "object": { "id": 2, "applications": [ { "id": 1, "name": "Test", "url": null, "applicationCriticality": { "id": 2, "name": "Medium" } } ], "maxAllowed": 3, "maxIntroduced": 1, "severity": "High" }, "links": [ { "name": "list", "href": "http://localhost:8080/threadfix/rest/cicd/passCriteria/", "method": "GET" }, { "name": "detail", "href": "http://localhost:8080/threadfix/rest/cicd/passCriteria/2/detail", "method": "GET" }, { "name": "create", "href": "http://localhost:8080/threadfix/rest/cicd/passCriteria/create", "method": "POST" }, { "name": "update", "href": "http://localhost:8080/threadfix/rest/cicd/passCriteria/2/update", "method": "PUT" }, { "name": "delete", "href": "http://localhost:8080/threadfix/rest/cicd/passCriteria/2/delete", "method": "DELETE" } ] } |
Page Tree | ||
---|---|---|
|