As of December 31st, 2023 ThreadFix 2.X has reached End of Life and is no longer supported. For any further information please contact the Success and Implementation team.

List Applications for Tag - API

/rest/{version}/tags/{tagId}/listApplications


Descriptor

Value

HTTP Method

GET

Description

Retrieves apps with that have the tag with the given tagId and returns their JSON.

Required Permission

Manage Tags

Version Introduced2.3.0
Changes in 2.7.5Added "policyStatuses",  "testEnvironment", "releaseFrequency", and "isInternal" 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:


curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" http://localhost:8080/threadfix/rest/latest/tags/3/listApplications


Sample Output:


{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": [
        {
            "id": 1,
            "name": "New Application Name",
            "url": "http://localhost:8080",
            "uniqueId": "12345",
            "applicationCriticality": {
                "id": 4,
                "name": "Critical"
            },
			"policyStatuses": [
                {
                    "id": 3
                }
            ],
			"description": null,
            "releaseFrequency": "UNKNOWN",
            "testEnvironment": null,
            "isInternal": false,
            "tags": [
                {
                    "id": 3,
                    "name": "HIPAA",
                    "type": "APPLICATION"
                }
            ],
            "team": {
                "name": "New Team Name",
                "id": 1
            }
        }
    ]
}

www.threadfix.it | www.coalfire.com
Copyright © 2024 Coalfire. All rights reserved.

This Information Security Policy is CoalFire - Public: Distribution of this material is not limited.