summaryrefslogtreecommitdiff
path: root/rest-api/api-docs
diff options
context:
space:
mode:
Diffstat (limited to 'rest-api/api-docs')
-rw-r--r--rest-api/api-docs/endpoints.json2
-rw-r--r--rest-api/api-docs/events.json16
2 files changed, 17 insertions, 1 deletions
diff --git a/rest-api/api-docs/endpoints.json b/rest-api/api-docs/endpoints.json
index 9d0ff1840..7663a594b 100644
--- a/rest-api/api-docs/endpoints.json
+++ b/rest-api/api-docs/endpoints.json
@@ -13,7 +13,7 @@
"operations": [
{
"httpMethod": "GET",
- "summary": "List all endoints.",
+ "summary": "List all endpoints.",
"nickname": "getEndpoints",
"responseClass": "List[Endpoint]"
}
diff --git a/rest-api/api-docs/events.json b/rest-api/api-docs/events.json
index a2ac0b3d0..ac3f6521c 100644
--- a/rest-api/api-docs/events.json
+++ b/rest-api/api-docs/events.json
@@ -293,6 +293,11 @@
"required": true,
"type": "Channel",
"description": "The channel that signaled the user event."
+ },
+ "userevent": {
+ "required": true,
+ "type": "object",
+ "description": "Custom Userevent data"
}
}
},
@@ -338,6 +343,17 @@
}
}
},
+ "EndpointStateChange": {
+ "id": "EndpointStateChange",
+ "extends": "Event",
+ "description": "Endpoint state changed.",
+ "properties": {
+ "endpoint": {
+ "required": true,
+ "type": "Endpoint"
+ }
+ }
+ },
"StasisEnd": {
"id": "StasisEnd",
"extends": "Event",