{ "opencollection": "1.0.0", "info": { "name": "Salesforce Sales Cloud Salesforce Analytics REST Change Events Run Tests API", "version": "59.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://login.salesforce.com/services/oauth2/authorize", "accessTokenUrl": "https://login.salesforce.com/services/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Run Tests", "type": "folder" }, "items": [ { "info": { "name": "Salesforce Sales Cloud Run Apex tests asynchronously", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.salesforce.com/services/data/v59.0/analytics/runTestsAsynchronous", "body": { "type": "json", "data": "{}" } }, "docs": "Runs one or more Apex test methods asynchronously. Returns the test run ID which can be used to check status and retrieve results." }, { "info": { "name": "Salesforce Sales Cloud Run Apex tests synchronously", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.salesforce.com/services/data/v59.0/analytics/runTestsSynchronous", "body": { "type": "json", "data": "{}" } }, "docs": "Runs specified Apex tests synchronously and returns the results inline. Best for small numbers of tests that complete quickly." } ] } ], "bundled": true }