Download Specified 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

Downloads specified patches to the patch store with option to force download if already downloaded.

Endpoints

Request URL

https://{server-hostname}:8383/dcapi/patch/downloads

Scope

PatchMgmt.CREATECopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

- Request Body

application/json
JSON Object
Hide Sub-Attributes
patchIdsarrayMandatory

Array of patch IDs to download

forceDownloadbooleanOptional

Force redownload even if already downloaded

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request POST \
  --url https://appdomain/dcapi/patch/downloads \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"patchIds":[12345,12346,12347],"forceDownload":false}'

Sample Request Body

Download specific patches

Copied!
  {
    "patchIds": [
      12345,
      12346,
      12347
    ],
    "forceDownload": false
  }
                
Show full

Force redownload failed patches

Copied!
  {
    "patchIds": [
      12345
    ],
    "forceDownload": true
  }
                
Show full

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
statusstring

Download operation status: Download initiated

patchCountstring

Number of patches queued for download

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Download started

Copied!
  {
    "patchCount": 3,
    "status": "Download initiated"
  }
                
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.