Develop > API calls > Package APIs > Get a list of active deployments

Get a list of active deployments

Returns a list of active deployments that belong to the logged-in user that are in the same life cycle stage as the specified package.

URI Method Parameters Returns
http://[host]:[port]/csa/api/codar/app-package/{packageID}/activeDeployments GET Package ID

200 - successful
400 - bad request
401 - not authorized
404 - not found
501 - internal server error

Example

The following URL was sent:

https://localhost:8444/csa/api/codar/app-package/7843ee06-8a5e-425e-ac0d-424e3a297d52/activeDeployments

The following JSON was returned:

{   
   "members" : [
   {       "id" : "8a81841f4b396569014b397bfb6600f5",
           "displayName" : "Pkg1:D2"
   },
   {        "id": "8a81841f4b396569014b396c51170016",
            "displayName": "Pkg2:D1"
   }
  ]
}