diff --git a/openapi.json b/openapi.json index 498ec49c..d55d11d7 100644 --- a/openapi.json +++ b/openapi.json @@ -14,7 +14,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "version": "2.0.0", - "x-box-commit-hash": "ee67564780" + "x-box-commit-hash": "5819125043" }, "servers": [ { @@ -26373,6 +26373,9 @@ }, { "$ref": "#/components/schemas/Folder" + }, + { + "$ref": "#/components/schemas/GenericSource" } ] }, @@ -28891,6 +28894,20 @@ } } }, + "GenericSource": { + "title": "Generic source", + "type": "object", + "x-box-resource-id": "generic_source", + "description": "A generic event source type.", + "additionalProperties": { + "allOf": [ + {}, + { + "description": "A definition of a generic\nevent source object. The set of\nparameters depends on the\nobject type. For example, a Box Shield\nevent source would have the following\nset of parameters:\n```yaml\n{\n\"barrier_id\": 123456,\n\"barrier_status\": \"ENABLED\",\n\"barrier_segments\": [\n {\n \"name\": \"8\",\n \"member_count\": 1\n },\n {\n \"name\": \"9\",\n \"member_count\": 1\n }\n ]\n} \n```\n" + } + ] + } + }, "IntegrationMapping": { "title": "Integration mapping", "type": "object",