Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Comment:
Fix typo
/rest/{version}/teams/{teamId}
Descriptor | Value |
---|---|
HTTP Method | GET |
Description | Retrieves a team using the given teamId. |
Required Permission | Read Access (Any Role) |
Version Introduced | 2.3.0 |
Changes in 2.7.5 | Added "testEnviroementtestEnvironment", "releaseFrequency", "isInternal", and "policyStatuses" to the REST call response. |
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}" http://localhost:8080/threadfix/rest/latest/teams/1 |
Sample Output:
Code Block | ||
---|---|---|
| ||
{ "message": "", "success": true, "responseCode": -1, "object": { "id": 1, "infoVulnCount": 0, "lowVulnCount": 0, "mediumVulnCount": 1, "highVulnCount": 1, "criticalVulnCount": 0, "totalVulnCount": 2, "name": "Test Team", "applications": [ { "id": 1, "name": "Application", "url": null, "applicationCriticality": { "id": 2, "name": "Medium" }, "policyStatuses": [], "description": null, "releaseFrequency": "UNKNOWN", "testEnvironment": null, "grcApplication": null, "isInternal": false } ] } } |
Page Tree | ||
---|---|---|
|