summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@digium.com>2013-07-10 13:50:48 +0000
committerDavid M. Lee <dlee@digium.com>2013-07-10 13:50:48 +0000
commita73394abb874221ab3ae23348b285b217c1ee120 (patch)
tree179d7d699e3f838dfd05b14452a48f049b844a65 /rest-api
parent0bfe2d4cc4dda5a4bcde039614336c104a88f8d3 (diff)
Corrected api-docs for channel variables
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api')
-rw-r--r--rest-api/api-docs/asterisk.json3
-rw-r--r--rest-api/api-docs/channels.json12
2 files changed, 3 insertions, 12 deletions
diff --git a/rest-api/api-docs/asterisk.json b/rest-api/api-docs/asterisk.json
index 8c404a075..8bc887485 100644
--- a/rest-api/api-docs/asterisk.json
+++ b/rest-api/api-docs/asterisk.json
@@ -92,8 +92,9 @@
},
"Variable": {
"id": "Variable",
+ "description": "The value of a channel variable",
"properties": {
- "variable": {
+ "value": {
"required": true,
"type": "string",
"description": "The value of the variable requested"
diff --git a/rest-api/api-docs/channels.json b/rest-api/api-docs/channels.json
index a97f22566..c442d8eb3 100644
--- a/rest-api/api-docs/channels.json
+++ b/rest-api/api-docs/channels.json
@@ -654,7 +654,7 @@
"httpMethod": "GET",
"summary": "Get the value of a channel variable or function.",
"nickname": "getChannelVar",
- "responseClass": "ChannelVariable",
+ "responseClass": "Variable",
"parameters": [
{
"name": "channelId",
@@ -827,16 +827,6 @@
"description": "Timestamp when channel was created"
}
}
- },
- "Variable": {
- "id": "Variable",
- "properties": {
- "variable": {
- "required": true,
- "type": "string",
- "description": "The value of the variable requested"
- }
- }
}
}
}