{ "opencollection": "1.0.0", "info": { "name": "BrowserStack Automate REST AccessKey Sessions API", "version": "1.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Sessions", "type": "folder" }, "items": [ { "info": { "name": "List sessions in a build", "type": "http" }, "http": { "method": "GET", "url": "https://api.browserstack.com/automate/builds/:buildId/sessions.json", "params": [ { "name": "buildId", "value": "", "type": "path" } ] }, "docs": "List sessions in a build" }, { "info": { "name": "Get session details", "type": "http" }, "http": { "method": "GET", "url": "https://api.browserstack.com/automate/sessions/:sessionId.json", "params": [ { "name": "sessionId", "value": "", "type": "path" } ] }, "docs": "Get session details" }, { "info": { "name": "Update session status / metadata", "type": "http" }, "http": { "method": "PUT", "url": "https://api.browserstack.com/automate/sessions/:sessionId.json", "params": [ { "name": "sessionId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update session status / metadata" }, { "info": { "name": "Delete session", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.browserstack.com/automate/sessions/:sessionId.json", "params": [ { "name": "sessionId", "value": "", "type": "path" } ] }, "docs": "Delete session" }, { "info": { "name": "Download Selenium logs", "type": "http" }, "http": { "method": "GET", "url": "https://api.browserstack.com/automate/sessions/:sessionId/logs", "params": [ { "name": "sessionId", "value": "", "type": "path" } ] }, "docs": "Download Selenium logs" }, { "info": { "name": "Download network logs (HAR)", "type": "http" }, "http": { "method": "GET", "url": "https://api.browserstack.com/automate/sessions/:sessionId/networklogs", "params": [ { "name": "sessionId", "value": "", "type": "path" } ] }, "docs": "Download network logs (HAR)" }, { "info": { "name": "Download console logs", "type": "http" }, "http": { "method": "GET", "url": "https://api.browserstack.com/automate/sessions/:sessionId/consolelogs", "params": [ { "name": "sessionId", "value": "", "type": "path" } ] }, "docs": "Download console logs" } ] } ], "bundled": true }