Skip to content

Commit

Permalink
feat: add a Generic Event Resource
Browse files Browse the repository at this point in the history
  • Loading branch information
box-apimgmt committed Feb 27, 2024
1 parent a41a4d3 commit 02a6891
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down Expand Up @@ -26373,6 +26373,9 @@
},
{
"$ref": "#/components/schemas/Folder"
},
{
"$ref": "#/components/schemas/GenericSource"
}
]
},
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 02a6891

Please sign in to comment.