+ Start a Discussion

Query for Deployments?

Hi.  Are Deployments (available through Monitor Deployments) capable of being queried?  I'd like to be able to query for deployments and get the overall code coverage, validate only flag, number of components, deployer, etc so that I can build dashboards against these.  Is that available or should I put something on Idea Exchange?


You can use the Metadata API's checkDeployStatus() call to obtain the detailed deployment results.  You'll need to pass in the deployment ID, which can be found in the HTML page source of the Monitor Deployments page.