Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
/rest/{version}/defects/{defectId}
Descriptor | Value |
---|---|
HTTP Method | GET |
Description | Returns details about selected defect.. |
Required Permission | Global Read Access (Any Role) |
Version Introduced | 2.7.3 |
Request Header Parameters
Parameter | Value | Required | Description |
---|---|---|---|
Accept | String | Yes | A value of ‘application/json’ must be provided. |
Authorization | APIKEY {apiKey} | Yes | API being used to execute API call. |
Sample Calls:
Code Block | ||
---|---|---|
| ||
curl -H 'Accept: application/json' -H 'Authorization: APIKEY {apiKey}' http://localhost:8080/threadfix/rest/latest/defects/1 |
Sample Output:
Code Block | ||
---|---|---|
| ||
{ "message": "Retrieved defect details", "success": true, "responseCode": -1, "object": { "defectDetails": { "id": 1, "nativeId": "TFDEF-44", "status": "Open", "category": null, "defectURL": "https://threadfix.atlassian.net/browse/TFDEF-44", "opened": true, "defectTrackerName": "Jira DT - TFDefectTest" }, "vulnerabilityIds": [ 523532 ], "application": { "name": "Bodgeit", "id": 19 }, "team": { "name": "Iterative Scans", "id": 7 } } } |
Page Tree | ||
---|---|---|
|