Retrieve a paginated list of scripts with optional platform and filename filters

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

Lists all scripts in the repository with optional filtering by platform and filename, and pagination support. Returns script ID, name, platform, and description.

Endpoints

Request URL

https://{server-hostname}:8383/dcapi/configuration/scripts

Scope

Common.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/scripts.v1+jsonapplication/scripts.v1+jsonCopied!

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomain/dcapi/configuration/scripts \
  --header 'Accept: application/scripts.v1+json' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Response Parameters

- HTTP code 200

Response Body - application/json
JSON array

A single script summary entry

Hide Sub-Attributes
JSON object
Show Sub-Attributes
scriptIdlong

Unique script ID

scriptNamestring

Filename of the script

platformstring

Target platform: Windows, Mac, or Linux

descriptionstring

Description of the script

- HTTP code 500

Response Body - application/json
JSON object
Hide Sub-Attributes
errorCodestring

INTERNAL_ERROR: unexpected server error during processing

errorMessagestring

Message describing the internal server error

Possible Response Codes

200HTTP code
500HTTP code

Sample Response: HTTP 200

Paginated list of scripts filtered by platform

Copied!
  [
    {
      "scriptId": 12345,
      "scriptName": "ChangeTimeZone.bat",
      "description": "Batch Script to change timezone",
      "platform": "Windows"
    },
    {
      "scriptId": 12346,
      "scriptName": "CleanTempFiles.sh",
      "description": "Shell script to clean temp files",
      "platform": "Linux"
    }
  ]
                
Show full

Sample Response: HTTP 500

Unexpected server error while listing scripts

Copied!
  {
    "errorMessage": "Internal Server Error",
    "errorCode": "INTERNAL_ERROR"
  }
                
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.