summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2015-04-10 14:55:54 +0000
committerMatthew Jordan <mjordan@digium.com>2015-04-10 14:55:54 +0000
commitc9791dba1fb77dffd9b8030a5b06aa16e195e381 (patch)
tree4c8e8a1b0e3cb046affac6b0ef74d8173acb0b8d /rest-api
parentc39faa4729a0c4490352fa5707e064de17068aff (diff)
res/ari: Fix model validation for ChannelHold event
When the ChannelHold event was added, the 'musicclass' parameter was erroneously removed. This caused the ChannelHold events to be rejected as they failed model validation. This patch updates the Swagger schema such that it now properly reflects the event that is being created. Hooray for tests that catch things like this. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@434597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api')
-rw-r--r--rest-api/api-docs/events.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/rest-api/api-docs/events.json b/rest-api/api-docs/events.json
index f5e61f9ad..35c9377e5 100644
--- a/rest-api/api-docs/events.json
+++ b/rest-api/api-docs/events.json
@@ -608,6 +608,11 @@
"required": true,
"type": "Channel",
"description": "The channel that initiated the hold event."
+ },
+ "musicclass": {
+ "required": false,
+ "type": "string",
+ "description": "The music on hold class that the initiator requested."
}
}
},