Custom Patches

The Custom Patches API allows to manage fully defined custom patches.

Base URL

        https://<ConsoleFQDN>:<Port>/st/console/api/v1.0/custompatch/patches

Supported Requests

Method URL Input Return

DELETE

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

 

Success code

GET

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

URL Parameters, Metadata Patch Key and value

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

URL Parameters, Metadata Patch Key and value

POST

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

Request Body Patch details

PUT

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

Request Body Success code

Input Models

Example with Sample Response

Get paginated list of all custom patches

GET Request

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

Sample Response

Copy
{
                "count": 6,
                "value": [
                {
                "fileChecks": [],
                "affectedProducts": [
                {
                "isCustom": true,
                "name": "ivanti product",
                "registryChecks": [],
                "spId": "979db1de-5a8b-4cbb-a4d6-ec5a2c69bbae",
                "uid": "5826a6a6-a2bb-4def-8c7a-759e106f7935"
                }
                ],
                "registryChecks": [],
                "deployment": {
                "fileSize": 0
                },
                "bulletinId": "bull-001",
                "patchContent": "ivanti custom bulletin 3",
                "patchUid": "359798d3-fe66-4d4f-9458-a785b90cd21d",
                "knownBugs": "LANS",
                "patchType": "SecurityPatch",
                "patchSeverity": "None",
                "links": {
                "self": {
                "href": "https://localhost:3121/st/console/api/v1.0/custompatch/patches/359798d3-fe66-4d4f-9458-a785b90cd21d"
                }
                },
                "metadata": []
                }
                ]
    }

Other Request Examples

Output Models