Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

/rest/{version}/teams/{teamId}


Descriptor

Value

HTTP Method

GET

Description

Retrieves a team using the given teamId.

Required Permission

Read Access (Any Role)

Version Introduced2.3.0
Changes in 2.7.5Added "testEnviroement", "releaseFrequency", "isInternal", "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
themeEclipse
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" http://localhost:8080/threadfix/rest/latest/teams/1


Sample Output:


Code Block
themeEclipse
{
    "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
rootTeams API