Skip to content

Commit cc62d5b

Browse files
committed
changes for v5
1 parent d523eb5 commit cc62d5b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ The following denotes the HTTPS-based API for [BrowserStack](https://www.browser
44
### Authentication
55
All methods need to authenticate who you are. Before spawning browser workers and deleting a worker for example. Authentication is done using your username and the BrowserStack access key within the HTTP request. For example:
66

7-
$ curl -u "username:access_key" https://api.browserstack.com/4
7+
$ curl -u "username:access_key" https://api.browserstack.com/5
88

99
> A `401 Unauthorized` response is given if an unauthorized request is made.
1010
1111
### Schema
12-
All requests are made to `https://api.browserstack.com/VERSION/` and all returned data is done so in JSON-format. The version this documentation outlines is 4.
12+
All requests are made to `https://api.browserstack.com/VERSION/` and all returned data is done so in JSON-format. The version this documentation outlines is 5.
1313

14-
$ curl -iu "username:access_key" https://api.browserstack.com/4
14+
$ curl -iu "username:access_key" https://api.browserstack.com/5
1515

1616
HTTP/1.1 200 OK
1717
Content-Type: application/json
1818
Status: 200 OK
19-
X-API-Version: 4
19+
X-API-Version: 5
2020
Content-Length: 3
2121

2222
{}
@@ -312,7 +312,7 @@ The response will be returned when the worker has been setup and initialized. Th
312312

313313
HTTP/1.1 200 Success
314314
Content-Type: application/json
315-
X-API-Version: 4
315+
X-API-Version: 5
316316

317317
{
318318
"id": "da39a3ee"

0 commit comments

Comments
 (0)