-
-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from electerious/develop
v1.7.0
- Loading branch information
Showing
148 changed files
with
3,751 additions
and
773 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
custom: ['http://paypal.me/electerious'] | ||
custom: ['https://paypal.me/electerious', 'https://www.buymeacoffee.com/electerious'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,168 @@ | ||
# Browsers | ||
|
||
- [Top browsers without version](#top-browsers-without-version) | ||
- [Top browsers with version](#top-browsers-with-version) | ||
- [Recent browsers without version](#recent-browsers-without-version) | ||
- [Recent browsers with version](#recent-browsers-with-version) | ||
|
||
## Top browsers without version | ||
|
||
Get the top 30 browsers without the version. | ||
|
||
### Request | ||
|
||
``` | ||
GET /domains/:domainId/browsers?sorting=top&type=noVersion | ||
GET /domains/:domainId/browsers?sorting=top&type=noVersion&range=daily | ||
GET /domains/:domainId/browsers?sorting=top&type=noVersion&range=weekly | ||
GET /domains/:domainId/browsers?sorting=top&type=noVersion&range=monthly | ||
GET /domains/:domainId/browsers?sorting=top&type=noVersion&range=allTime | ||
``` | ||
|
||
### Headers | ||
|
||
| Name | Example | | ||
|:-----------|:------------| | ||
| Authorization | `Authorization: Bearer :tokenId` | | ||
|
||
### Response | ||
|
||
``` | ||
Status: 200 OK | ||
``` | ||
|
||
```json | ||
{ | ||
"type": "browsers", | ||
"data": [ | ||
{ | ||
"type": "browser", | ||
"data": { | ||
"id": "Safari", | ||
"count": 1 | ||
} | ||
} | ||
] | ||
} | ||
``` | ||
|
||
## Top browsers with version | ||
|
||
Get the top 30 browsers with the version. | ||
|
||
### Request | ||
|
||
``` | ||
GET /domains/:domainId/browsers?sorting=top&type=withVersion | ||
GET /domains/:domainId/browsers?sorting=top&type=withVersion&range=daily | ||
GET /domains/:domainId/browsers?sorting=top&type=withVersion&range=weekly | ||
GET /domains/:domainId/browsers?sorting=top&type=withVersion&range=monthly | ||
GET /domains/:domainId/browsers?sorting=top&type=withVersion&range=allTime | ||
``` | ||
|
||
### Headers | ||
|
||
| Name | Example | | ||
|:-----------|:------------| | ||
| Authorization | `Authorization: Bearer :tokenId` | | ||
|
||
### Response | ||
|
||
``` | ||
Status: 200 OK | ||
``` | ||
|
||
```json | ||
{ | ||
"type": "browsers", | ||
"data": [ | ||
{ | ||
"type": "browser", | ||
"data": { | ||
"id": { | ||
"browserName": "Safari", | ||
"browserVersion": "5.1" | ||
}, | ||
"count": 1 | ||
} | ||
} | ||
] | ||
} | ||
``` | ||
|
||
## Recent browsers without version | ||
|
||
Get the 30 most recent browsers without the version. | ||
|
||
### Request | ||
|
||
``` | ||
GET /domains/:domainId/browsers?sorting=recent&type=noVersion | ||
``` | ||
|
||
### Headers | ||
|
||
| Name | Example | | ||
|:-----------|:------------| | ||
| Authorization | `Authorization: Bearer :tokenId` | | ||
|
||
### Response | ||
|
||
``` | ||
Status: 200 OK | ||
``` | ||
|
||
```json | ||
{ | ||
"type": "browsers", | ||
"data": [ | ||
{ | ||
"type": "browser", | ||
"data": { | ||
"id": "Safari", | ||
"created": "2019-09-19T15:54:00.020Z" | ||
} | ||
} | ||
] | ||
} | ||
``` | ||
|
||
## Recent browsers with version | ||
|
||
Get the 30 most recent browsers with the version. | ||
|
||
### Request | ||
|
||
``` | ||
GET /domains/:domainId/browsers?sorting=recent&type=withVersion | ||
``` | ||
|
||
### Headers | ||
|
||
| Name | Example | | ||
|:-----------|:------------| | ||
| Authorization | `Authorization: Bearer :tokenId` | | ||
|
||
### Response | ||
|
||
``` | ||
Status: 200 OK | ||
``` | ||
|
||
```json | ||
{ | ||
"type": "browsers", | ||
"data": [ | ||
{ | ||
"type": "browser", | ||
"data": { | ||
"id": { | ||
"browserName": "Safari", | ||
"browserVersion": "5.1" | ||
}, | ||
"created": "2019-09-19T15:54:00.020Z" | ||
} | ||
} | ||
] | ||
} | ||
``` |
Oops, something went wrong.