Patches

The Patches method enables you to find and display detailed information about every product patch contained in the data definition file.

Base URL

        https://<consoleFQDN:port>/st/console/api/v1.0/patches

Supported Requests

Method URL Input Return

GET

https://<consoleFQDN:port>/st/console/api/v1.0/patches

URL Parameters

BulletinKBCveMapping

https://<consoleFQDN:port>/st/console/api/v1.0/patches/{id}

 

Vulnerability

Input Model

Example with Sample Response

Find all patches

GET Request

https://<consoleFQDN:port>/st/console/api/v1.0/patches

Sample Response

Copy
{
    "count": 1,
    "links": {
        "next": {
            "href": "https://device-name.example.com:3121/st/console/api/v1.0/patches?count=10&start=4703"
        }
    },
    "value": [
        {
            "links": { //**** NOTE: THIS DUPLICATE LINK WILL BE ELIMINATED IN A FUTURE VERSION ****//
                "next": {
                    "href": "https://device-name.example.com:3121/st/console/api/v1.0/patches?count=10&start=4703"
                }
            },
            "vulnerabilities": [
                {
                    "bulletinId": "MS99-031",
                    "cve": [],
                    "id": 4693,
                    "kb": "Q240346",
                    "links": {
                        "self": {
                        "href": "https://device-name.example.com:3121/st/console/api/v1.0/patches/4693"
                        }
                    },
                        "patchIds": [
                        "00000042-0000-0000-0000-000000000000"
                        ],
                    "patchType": "SecurityPatch",
                    "releaseDate": "1999-08-25T00:00:00",
                    "replacedBy": [],
                    "revisionDate": "1999-09-08T00:00:00"
                },
                { REPEAT FOR ALL BULLETIN IDs. . . }
                }
            ]
        }
    ]
}

Other Request Examples

Output Models