Skip to content

Commit b324a6a

Browse files
minoli-vfrancisf
authored andcommitted
Updated the doc as per feedback
1 parent dc6cc0d commit b324a6a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -316,17 +316,17 @@ curl -u "username:access_key" https://api.browserstack.com/5/worker/123456789/sc
316316
```
317317

318318
## Get Details of all Browser Workers
319-
This API request returns comprehensive information of all browser workers youve created. Also, it will return the status of the workers - either `queue` or `running`.
319+
Returns comprehensive information, such as, worker ID, browser URL, session ID, etc., for all the browser workers you've created. It also returns the current status of the workers, which can be either `queue` or `running`.
320320

321321
```http
322322
GET /workers
323323
```
324-
Example request:
324+
### Example request:
325325
```bash
326326
curl -u "username:access_key" -X GET https://api.browserstack.com/5/workers
327327
```
328328

329-
Example response:
329+
### Example response:
330330
```javascript
331331
[
332332
{
@@ -344,9 +344,12 @@ Example response:
344344
{
345345
"id": "<workerId>",
346346
"status": "queue",
347-
"device": "Samsung Galaxy Tab 8.9",
348347
"os": "android",
349348
"os_version": "2.2",
349+
"device": "Samsung Galaxy S",
350+
"browser": "Android Browser",
351+
"browser_version": null,
352+
"real_mobile": false,
350353
"browser_url": "<dashboard_url_of_the_session>",
351354
"sessionId": "<sessionId>"
352355
} ...]

0 commit comments

Comments
 (0)