Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor text formatting

/rest/{version}/cicd/passCriteriaGroup/{passGroupIDcriteriaGroupId}/detail


Descriptor

Value

HTTP Method

GET

Description

Returns detailed information about the specified CI/CD Pass Criteria Group.

Required Permission

Manage CI/CD

Version Introduced2.8.0


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}" -X GET http://localhost:8080/threadfix/rest/latest/cicd/passCriteriaGroup/1/detail

Sample Output:


Code Block
themeEclipse
{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": {
        "id": 1,
        "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/latest/cicd/passCriteriaGroup/",
            "method": "GET"
        },
        {
            "name": "detail",
            "href": "http://localhost:8080/threadfix/rest/latest/cicd/passCriteriaGroup/1/detail",
            "method": "GET"
        },
        {
            "name": "create",
            "href": "http://localhost:8080/threadfix/rest/latest/cicd/passCriteriaGroup/create",
            "method": "POST"
        },
        {
            "name": "update",
            "href": "http://localhost:8080/threadfix/rest/latest/cicd/passCriteriaGroup/1/update",
            "method": "PUT"
        },
        {
            "name": "delete",
            "href": "http://localhost:8080/threadfix/rest/latest/cicd/passCriteriaGroup/1/delete",
            "method": "DELETE"
        }
    ]
}


Page Tree
rootCI/CD API