Retrieve List of Approved Patches

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Retrieves a list of all approved patches with approval timestamps and approver details.

Request URL

https://{server-hostname}:8383/dcapi/patch/settings/approvedPatches

Scope

PatchMgmt.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomain/dcapi/patch/settings/approvedPatches \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
approvedPatchesJSON Array

Array of approved patch objects

Show Sub-Attributes
JSON Object
Show Sub-Attributes
patchIdlong

Unique patch identifier

patchNamestring

Patch name or KB number

approvedTimelong

Timestamp when patch was approved in milliseconds since epoch

approvedBystring

Username of the user who approved the patch

totalstring

Total number of approved patches

pagestring

Current page number

limitstring

Number of records per page

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Paginated approved patches list

Copied!
  {
    "total": 100,
    "approvedPatches": [
      {
        "patchName": "KB1234567",
        "patchId": 12345,
        "approvedTime": 1553058600000,
        "approvedBy": "admin"
      }
    ],
    "limit": 25,
    "page": 1
  }
                
Show full

Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.