# Retrieve a paginated list of scripts with optional platform and filename filters Lists all scripts in the repository with optional filtering by platform and filename, and pagination support. Returns script ID, name, platform, and description. ## Endpoint `GET /dcapi/configuration/scripts` ## Request URL `https://{server-hostname}:8383/dcapi/configuration/scripts` ## Scope `Common.READ` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — Mandatory: `application/scripts.v1+json` ## Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/configuration/scripts \ --header 'Accept: application/scripts.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 Response Body: `application/json` `JSON array` A single script summary entry. `JSON object` ### HTTP Code 500 Response Body: `application/json` `JSON object` - **errorCode** `string` — INTERNAL_ERROR: unexpected server error during processing - **errorMessage** `string` — Message describing the internal server error ## Possible Response Codes - **200** — HTTP code - **500** — HTTP code ## Sample Response: HTTP 200 Paginated list of scripts filtered by platform ```json [ { "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" } ] ``` ## Sample Response: HTTP 500 Unexpected server error while listing scripts ```json { "errorMessage": "Internal Server Error", "errorCode": "INTERNAL_ERROR" } ``` ## Rate Limit **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.