Skip to content

Commit dc859e3

Browse files
authored
Merge pull request #160 from fingerprintjs/feat/open-api-v2.4.0
OpenAPI schema sync
2 parents 8fc29a9 + fc9edb5 commit dc859e3

20 files changed

+1017
-12
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"fingerprint-pro-server-api-php-sdk": minor
3+
---
4+
5+
Add `mitmAttack` (man-in-the-middle attack) Smart Signal.

.schema-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.3.0
1+
v2.4.0

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ Class | Method | HTTP request | Description
289289
- [Incognito](docs/Model/Incognito.md)
290290
- [Jailbroken](docs/Model/Jailbroken.md)
291291
- [LocationSpoofing](docs/Model/LocationSpoofing.md)
292+
- [MitMAttack](docs/Model/MitMAttack.md)
292293
- [PrivacySettings](docs/Model/PrivacySettings.md)
293294
- [ProductBotd](docs/Model/ProductBotd.md)
294295
- [ProductClonedApp](docs/Model/ProductClonedApp.md)
@@ -303,6 +304,7 @@ Class | Method | HTTP request | Description
303304
- [ProductIncognito](docs/Model/ProductIncognito.md)
304305
- [ProductJailbroken](docs/Model/ProductJailbroken.md)
305306
- [ProductLocationSpoofing](docs/Model/ProductLocationSpoofing.md)
307+
- [ProductMitMAttack](docs/Model/ProductMitMAttack.md)
306308
- [ProductPrivacySettings](docs/Model/ProductPrivacySettings.md)
307309
- [ProductProxy](docs/Model/ProductProxy.md)
308310
- [ProductRawDeviceAttributes](docs/Model/ProductRawDeviceAttributes.md)
@@ -345,6 +347,7 @@ Class | Method | HTTP request | Description
345347
- [WebhookIPInfo](docs/Model/WebhookIPInfo.md)
346348
- [WebhookJailbroken](docs/Model/WebhookJailbroken.md)
347349
- [WebhookLocationSpoofing](docs/Model/WebhookLocationSpoofing.md)
350+
- [WebhookMitMAttack](docs/Model/WebhookMitMAttack.md)
348351
- [WebhookPrivacySettings](docs/Model/WebhookPrivacySettings.md)
349352
- [WebhookProxy](docs/Model/WebhookProxy.md)
350353
- [WebhookRemoteControl](docs/Model/WebhookRemoteControl.md)

docs/Model/MitMAttack.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# MitMAttack
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**result** | **bool** | * `true` - When requests made from your users' mobile devices to Fingerprint servers have been intercepted and potentially modified. * `false` - Otherwise or when the request originated from a browser. See [MitM Attack Detection](https://dev.fingerprint.com/docs/smart-signals-reference#mitm-attack-detection) to learn more about this Smart Signal. |
7+
8+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
9+

docs/Model/ProductMitMAttack.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ProductMitMAttack
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**data** | [**\Fingerprint\ServerAPI\Model\MitMAttack**](MitMAttack.md) | | [optional]
7+
**error** | [**\Fingerprint\ServerAPI\Model\Error**](Error.md) | | [optional]
8+
9+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
10+

docs/Model/Products.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Name | Type | Description | Notes
2929
**remote_control** | [**\Fingerprint\ServerAPI\Model\ProductRemoteControl**](ProductRemoteControl.md) | | [optional]
3030
**velocity** | [**\Fingerprint\ServerAPI\Model\ProductVelocity**](ProductVelocity.md) | | [optional]
3131
**developer_tools** | [**\Fingerprint\ServerAPI\Model\ProductDeveloperTools**](ProductDeveloperTools.md) | | [optional]
32+
**mitm_attack** | [**\Fingerprint\ServerAPI\Model\ProductMitMAttack**](ProductMitMAttack.md) | | [optional]
3233

3334
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
3435

docs/Model/Webhook.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Name | Type | Description | Notes
4343
**remote_control** | [**\Fingerprint\ServerAPI\Model\WebhookRemoteControl**](WebhookRemoteControl.md) | | [optional]
4444
**velocity** | [**\Fingerprint\ServerAPI\Model\WebhookVelocity**](WebhookVelocity.md) | | [optional]
4545
**developer_tools** | [**\Fingerprint\ServerAPI\Model\WebhookDeveloperTools**](WebhookDeveloperTools.md) | | [optional]
46+
**mitm_attack** | [**\Fingerprint\ServerAPI\Model\WebhookMitMAttack**](WebhookMitMAttack.md) | | [optional]
4647

4748
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
4849

docs/Model/WebhookMitMAttack.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# WebhookMitMAttack
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**result** | **bool** | * `true` - When requests made from your users' mobile devices to Fingerprint servers have been intercepted and potentially modified. * `false` - Otherwise or when the request originated from a browser. See [MitM Attack Detection](https://dev.fingerprint.com/docs/smart-signals-overview#mitm-attack-detection) to learn more about this Smart Signal. | [optional]
7+
8+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
9+

res/fingerprint-server-api.yaml

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ paths:
314314
how long you should wait before making a follow-up request. The value is
315315
non-negative decimal integer indicating the seconds to delay after the
316316
response is received.
317+
x-flatten-optional-params: true
317318
parameters:
318319
- name: visitor_id
319320
in: path
@@ -338,6 +339,7 @@ paths:
338339
[result](https://dev.fingerprint.com/reference/get-function#requestid).
339340
When you filter visits by `requestId`, only one visit will be
340341
returned.
342+
x-go-skip-pointer: true
341343
- name: linked_id
342344
in: query
343345
schema:
@@ -352,6 +354,7 @@ paths:
352354
example: session ID, purchase ID, or transaction ID. You can then
353355
use this `linked_id` parameter to retrieve all events associated
354356
with your custom identifier.
357+
x-go-skip-pointer: true
355358
- name: limit
356359
in: query
357360
schema:
@@ -370,6 +373,7 @@ paths:
370373
371374
By default, the most recent 100 visits are scanned, the maximum is
372375
500.
376+
x-go-skip-pointer: true
373377
- name: paginationKey
374378
in: query
375379
schema:
@@ -398,6 +402,7 @@ paths:
398402
get less visits than the `limit` you specified with more available
399403
on the next page. When there are no more results available for
400404
scanning, the `paginationKey` attribute is not returned.
405+
x-go-skip-pointer: true
401406
- name: before
402407
in: query
403408
deprecated: true
@@ -408,6 +413,7 @@ paths:
408413
description: >
409414
⚠️ Deprecated pagination method, please use `paginationKey` instead.
410415
Timestamp (in milliseconds since epoch) used to paginate results.
416+
x-go-skip-pointer: true
411417
responses:
412418
'200':
413419
description: OK.
@@ -640,6 +646,7 @@ paths:
640646
You can use HTTP basic authentication and set up credentials in
641647
your [Fingerprint
642648
account](https://dashboard.fingerprint.com/login)
649+
x-flatten-optional-params: true
643650
requestBody:
644651
content:
645652
application/json:
@@ -829,6 +836,8 @@ paths:
829836
24h: 5
830837
developerTools:
831838
result: false
839+
mitmAttack:
840+
result: false
832841
responses:
833842
default:
834843
description: The server doesn't validate the answer.
@@ -1941,6 +1950,31 @@ components:
19411950
$ref: '#/components/schemas/DeveloperTools'
19421951
error:
19431952
$ref: '#/components/schemas/Error'
1953+
MitMAttack:
1954+
type: object
1955+
additionalProperties: false
1956+
required:
1957+
- result
1958+
properties:
1959+
result:
1960+
type: boolean
1961+
description: >
1962+
* `true` - When requests made from your users' mobile devices to
1963+
Fingerprint servers have been intercepted and potentially modified.
1964+
1965+
* `false` - Otherwise or when the request originated from a browser.
1966+
1967+
See [MitM Attack
1968+
Detection](https://dev.fingerprint.com/docs/smart-signals-reference#mitm-attack-detection)
1969+
to learn more about this Smart Signal.
1970+
ProductMitMAttack:
1971+
type: object
1972+
additionalProperties: false
1973+
properties:
1974+
data:
1975+
$ref: '#/components/schemas/MitMAttack'
1976+
error:
1977+
$ref: '#/components/schemas/Error'
19441978
Products:
19451979
type: object
19461980
description: >-
@@ -1996,6 +2030,8 @@ components:
19962030
$ref: '#/components/schemas/ProductVelocity'
19972031
developerTools:
19982032
$ref: '#/components/schemas/ProductDeveloperTools'
2033+
mitmAttack:
2034+
$ref: '#/components/schemas/ProductMitMAttack'
19992035
EventsGetResponse:
20002036
type: object
20012037
description: >-
@@ -2026,7 +2062,7 @@ components:
20262062
suspect:
20272063
type: boolean
20282064
description: Suspect flag indicating observed suspicious or fraudulent event
2029-
x-go-skip-omitempty: true
2065+
x-go-force-pointer: true
20302066
SearchEventsResponse:
20312067
type: object
20322068
description: >-
@@ -2475,6 +2511,21 @@ components:
24752511
description: >
24762512
`true` if the browser is Chrome with DevTools open or Firefox with
24772513
Developer Tools open, `false` otherwise.
2514+
WebhookMitMAttack:
2515+
type: object
2516+
additionalProperties: false
2517+
properties:
2518+
result:
2519+
type: boolean
2520+
description: >
2521+
* `true` - When requests made from your users' mobile devices to
2522+
Fingerprint servers have been intercepted and potentially modified.
2523+
2524+
* `false` - Otherwise or when the request originated from a browser.
2525+
2526+
See [MitM Attack
2527+
Detection](https://dev.fingerprint.com/docs/smart-signals-overview#mitm-attack-detection)
2528+
to learn more about this Smart Signal.
24782529
Webhook:
24792530
type: object
24802531
required:
@@ -2581,3 +2632,5 @@ components:
25812632
$ref: '#/components/schemas/WebhookVelocity'
25822633
developerTools:
25832634
$ref: '#/components/schemas/WebhookDeveloperTools'
2635+
mitmAttack:
2636+
$ref: '#/components/schemas/WebhookMitMAttack'

0 commit comments

Comments
 (0)