Skip to content

Commit

Permalink
Merge pull request #20 from fingerprintjs/update-schema-INTER-245
Browse files Browse the repository at this point in the history
Update OpenAPI Schema with `asn` and `dataCenter` signals
  • Loading branch information
ilfa authored Sep 19, 2023
2 parents 3b8be82 + 15ca8db commit d92dd0d
Show file tree
Hide file tree
Showing 19 changed files with 760 additions and 26 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,12 @@ Class | Method | HTTP request | Description

## Documentation for Models

- [ASN](docs/ASN.md)
- [BotdDetectionResult](docs/BotdDetectionResult.md)
- [BotdResult](docs/BotdResult.md)
- [BrowserDetails](docs/BrowserDetails.md)
- [Confidence](docs/Confidence.md)
- [DataCenter](docs/DataCenter.md)
- [Error](docs/Error.md)
- [ErrorEvent403Response](docs/ErrorEvent403Response.md)
- [ErrorEvent403ResponseError](docs/ErrorEvent403ResponseError.md)
Expand Down
15 changes: 15 additions & 0 deletions docs/ASN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# ASN


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**asn** | **String** | | |
|**network** | **String** | | |
|**name** | **String** | | [optional] |



14 changes: 14 additions & 0 deletions docs/DataCenter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@


# DataCenter


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**result** | **Boolean** | | |
|**name** | **String** | | [optional] |



2 changes: 2 additions & 0 deletions docs/IpInfoResultV4.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
|------------ | ------------- | ------------- | -------------|
|**address** | **String** | | [optional] |
|**geolocation** | [**IPLocation**](IPLocation.md) | | [optional] |
|**asn** | [**ASN**](ASN.md) | | [optional] |
|**dataCenter** | [**DataCenter**](DataCenter.md) | | [optional] |



2 changes: 2 additions & 0 deletions docs/IpInfoResultV6.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
|------------ | ------------- | ------------- | -------------|
|**address** | **String** | | [optional] |
|**geolocation** | [**IPLocation**](IPLocation.md) | | [optional] |
|**asn** | [**ASN**](ASN.md) | | [optional] |
|**dataCenter** | [**DataCenter**](DataCenter.md) | | [optional] |



2 changes: 1 addition & 1 deletion docs/ProductsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# ProductsResponse

Contains all the information from each activated product - Fingerprint Pro or Bot Detection
Contains all information about the request identified by `requestId`, depending on the pricing plan (Pro, Pro Plus, Enterprise)

## Properties

Expand Down
2 changes: 1 addition & 1 deletion docs/ProductsResponseIdentificationData.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
|**visitorFound** | **Boolean** | Attribute represents if a visitor had been identified before. | |
|**firstSeenAt** | [**SeenAt**](SeenAt.md) | | |
|**lastSeenAt** | [**SeenAt**](SeenAt.md) | | |
|**visitorId** | **String** | | |
|**visitorId** | **String** | String of 20 characters that uniquely identifies the visitor's browser. **Pro Plus:** If a bot is detected (`products.botd.bot.result != \"notDetected\"`), the `visitorId` value contains a placeholder string `BotDetected000000000`. | |



2 changes: 1 addition & 1 deletion docs/VpnResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**result** | **Boolean** | VPN or other anonymising service has been used when sending the request. | [optional] |
|**result** | **Boolean** | VPN or other anonymizing service has been used when sending the request. | [optional] |
|**methods** | [**VpnResultMethods**](VpnResultMethods.md) | | [optional] |


Expand Down
1 change: 1 addition & 0 deletions docs/VpnResultMethods.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**timezoneMismatch** | **Boolean** | User's browser timezone doesn't match the timezone from which the request was originally made. | [optional] |
|**publicVPN** | **Boolean** | Request IP address is owned and used by a public VPN service provider. | [optional] |
|**auxiliaryMobile** | **Boolean** | This method applies to mobile devices only. Indicates the result of additional methods used to detect a VPN in mobile devices. | [optional] |



Loading

0 comments on commit d92dd0d

Please sign in to comment.