# Fetches deployment details for a specific custom group Retrieves all deployment configurations associated with a custom group including per-deployment status counts for installed, failed, and pending targets. ## Endpoint `GET /dcapi/swDeployment/cgDeployments` ## Request ### Request URL `https://{server-hostname}:8383/dcapi/swDeployment/cgDeployments` ### Scope `SWDeployment.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` — Mandatory: `application/cgDeployments.v1+json` ### Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/swDeployment/cgDeployments \ --header 'Accept: application/cgDeployments.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP code 200 #### Response Body — application/json `JSON Object` - **customGroupId** `long`: Resource ID of the custom group - **deploymentDetails** `JSON Array`: Array of deployment configurations ### HTTP code 500 #### Response Body — application/json `JSON Object` - **errorCode** `string`: INTERNAL_ERROR for publish/modify failures, SW_INTERNAL_ERROR for SSP configuration errors - **errorMessage** `string`: Internal server error with details about the SSP publish or group operation failure ### Possible Response Codes - **200** — HTTP code - **500** — HTTP code ### Sample Response: HTTP 200 Group has active deployments ```json { "deploymentDetails": [ { "failedCount": 5, "installedCount": 35, "packageName": "7-Zip 23.01", "totalTargets": 50, "collectionId": 5001, "status": "In Progress", "yetToInstallCount": 10 } ], "customGroupId": 301 } ``` ### Sample Response: HTTP 500 Server error ```json { "errorMessage": "Internal Server Error", "errorCode": "INTERNAL_ERROR" } ``` ## Rate Limit ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **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.