function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
gtuerkgtuerk 

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?

JonPJonP

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.