diff --git a/assets/openapi.json b/assets/openapi.json index e7f55a4..d20ef2f 100644 --- a/assets/openapi.json +++ b/assets/openapi.json @@ -190,6 +190,71 @@ "message" ] }, + "AbuseIpDbBlacklistResponse": { + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "generatedAt": { + "type": "string", + "default": "2020-09-24T19:54:11+00:00" + } + }, + "additionalProperties": false, + "required": [ + "generatedAt" + ] + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "ipAddress": { + "type": "string", + "default": "5.188.10.179" + }, + "abuseConfidenceScore": { + "type": "integer", + "default": 100 + }, + "lastReportedAt": { + "type": "string", + "default": "2020-09-24T19:17:02+00:00" + } + }, + "additionalProperties": false, + "required": [ + "abuseConfidenceScore", + "ipAddress", + "lastReportedAt" + ] + }, + "default": [ + { + "ipAddress": "5.188.10.179", + "abuseConfidenceScore": 100, + "lastReportedAt": "2020-09-24T19:17:02+00:00" + }, + { + "ipAddress": "185.222.209.14", + "abuseConfidenceScore": 100, + "lastReportedAt": "2020-09-24T19:17:02+00:00" + }, + { + "ipAddress": "191.96.249.183", + "abuseConfidenceScore": 100, + "lastReportedAt": "2020-09-24T19:17:01+00:00" + } + ] + } + }, + "required": [ + "data", + "meta" + ] + }, "InteractionSchema": { "type": "object", "properties": { @@ -6343,6 +6408,9 @@ "session_id": { "type": "string" }, + "channel_id": { + "type": "string" + }, "token": { "type": "string" }, @@ -6379,6 +6447,9 @@ }, "max_secure_frames_version": { "type": "integer" + }, + "max_dave_protocol_version": { + "type": "integer" } }, "required": [ @@ -12508,9 +12579,6 @@ "name": "interactions" }, { - "name": "invites" - }, - { "name": "oauth2" }, { @@ -16096,163 +16164,6 @@ ] } }, - "/invites/{invite_code}": { - "get": { - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Invite" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIErrorResponse" - } - } - } - } - }, - "parameters": [ - { - "name": "invite_code", - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "description": "invite_code" - } - ], - "tags": [ - "invites" - ] - }, - "post": { - "x-right-required": "USE_MASS_INVITES", - "security": [ - { - "bearer": [] - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Invite" - } - } - } - }, - "401": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIErrorResponse" - } - } - } - }, - "403": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIErrorResponse" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIErrorResponse" - } - } - } - } - }, - "parameters": [ - { - "name": "invite_code", - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "description": "invite_code" - } - ], - "tags": [ - "invites" - ] - }, - "delete": { - "security": [ - { - "bearer": [] - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Invite" - } - } - } - }, - "401": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIErrorResponse" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIErrorResponse" - } - } - } - } - }, - "parameters": [ - { - "name": "invite_code", - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "description": "invite_code" - } - ], - "tags": [ - "invites" - ] - } - }, "/interactions/": { "post": { "security": [ diff --git a/assets/schemas.json b/assets/schemas.json index a7f22d2..bfe3de6 100644 --- a/assets/schemas.json +++ b/assets/schemas.json @@ -173,6 +173,73 @@ ], "$schema": "http://json-schema.org/draft-07/schema#" }, + "AbuseIpDbBlacklistResponse": { + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "generatedAt": { + "type": "string", + "default": "2020-09-24T19:54:11+00:00" + } + }, + "additionalProperties": false, + "required": [ + "generatedAt" + ] + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "ipAddress": { + "type": "string", + "default": "5.188.10.179" + }, + "abuseConfidenceScore": { + "type": "integer", + "default": 100 + }, + "lastReportedAt": { + "type": "string", + "default": "2020-09-24T19:17:02+00:00" + } + }, + "additionalProperties": false, + "required": [ + "abuseConfidenceScore", + "ipAddress", + "lastReportedAt" + ] + }, + "default": [ + { + "ipAddress": "5.188.10.179", + "abuseConfidenceScore": 100, + "lastReportedAt": "2020-09-24T19:17:02+00:00" + }, + { + "ipAddress": "185.222.209.14", + "abuseConfidenceScore": 100, + "lastReportedAt": "2020-09-24T19:17:02+00:00" + }, + { + "ipAddress": "191.96.249.183", + "abuseConfidenceScore": 100, + "lastReportedAt": "2020-09-24T19:17:01+00:00" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "data", + "meta" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, "InteractionSchema": { "type": "object", "properties": { @@ -6763,6 +6830,9 @@ "session_id": { "type": "string" }, + "channel_id": { + "type": "string" + }, "token": { "type": "string" }, @@ -6799,6 +6869,9 @@ }, "max_secure_frames_version": { "type": "integer" + }, + "max_dave_protocol_version": { + "type": "integer" } }, "additionalProperties": false, diff --git a/scripts/schemaExclusions.json b/scripts/schemaExclusions.json index 72a010f..daed8be 100644 --- a/scripts/schemaExclusions.json +++ b/scripts/schemaExclusions.json @@ -44,7 +44,9 @@ "LibraryResponse", "LibraryLocalResponse", "SchemaTraits", - "TraitsSchema" + "TraitsSchema", + "AbuseIpDbCheckResponse", + "IpDataIpLookupResponse" ], "manualRe": [ ".*\\.Response$",