diff --git a/examples/get_event.json b/examples/get_event.json index 339d38bd..79f2b97d 100644 --- a/examples/get_event.json +++ b/examples/get_event.json @@ -94,6 +94,15 @@ "name": "Hlavni mesto Praha" } ] + }, + "asn": { + "asn": "7922", + "name": "COMCAST-7922", + "network": "73.136.0.0/13" + }, + "dataCenter": { + "result": true, + "name": "DediPath" } } } diff --git a/examples/get_event_pro_plus_bot_detected.json b/examples/get_event_pro_plus_bot_detected.json index 3cab5e1c..4e1c4f57 100644 --- a/examples/get_event_pro_plus_bot_detected.json +++ b/examples/get_event_pro_plus_bot_detected.json @@ -73,6 +73,15 @@ "name": "Hlavni mesto Praha" } ] + }, + "asn": { + "asn": "7922", + "name": "COMCAST-7922", + "network": "73.136.0.0/13" + }, + "dataCenter": { + "result": true, + "name": "DediPath" } } } diff --git a/examples/webhook.json b/examples/webhook.json index d70ffd67..9b5146c7 100644 --- a/examples/webhook.json +++ b/examples/webhook.json @@ -88,6 +88,15 @@ "name": "Hlavni mesto Praha" } ] + }, + "asn": { + "asn": "7922", + "name": "COMCAST-7922", + "network": "73.136.0.0/13" + }, + "dataCenter": { + "result": true, + "name": "DediPath" } } }, diff --git a/schemas/fingerprint-server-api.yaml b/schemas/fingerprint-server-api.yaml index f25914bf..c0f8fc66 100644 --- a/schemas/fingerprint-server-api.yaml +++ b/schemas/fingerprint-server-api.yaml @@ -936,6 +936,35 @@ components: example: global: '2022-05-05T18:28:54.535Z' subscription: null + ASN: + type: object + additionalProperties: false + properties: + asn: + type: string + example: '7922' + network: + type: string + example: '73.136.0.0/13' + name: + type: string + example: 'COMCAST-7922' + required: + - asn + - network + title: ASN + DataCenter: + type: object + additionalProperties: false + properties: + result: + type: boolean + name: + type: string + example: 'DediPath' + required: + - result + title: DataCenter IPLocation: type: object additionalProperties: false @@ -1032,7 +1061,7 @@ components: **Pro Plus:** If a bot is detected (`products.botd.bot.result != "notDetected"`), the `visitorId` value contains a placeholder string `BotDetected000000000`. - example: + example: - Ibk1527CUFmcnjLwIs4A - BotDetected000000000 required: @@ -1358,6 +1387,10 @@ components: example: '94.142.239.124' geolocation: $ref: '#/components/schemas/IPLocation' + asn: + $ref: '#/components/schemas/ASN' + dataCenter: + $ref: '#/components/schemas/DataCenter' v6: type: object additionalProperties: false @@ -1368,6 +1401,10 @@ components: example: '2001:0db8:85a3:0000:0000:8a2e:0370:7334' geolocation: $ref: '#/components/schemas/IPLocation' + asn: + $ref: '#/components/schemas/ASN' + dataCenter: + $ref: '#/components/schemas/DataCenter' IpBlockListResult: type: object properties: