2013-04-22 14:58:53 +00:00
{
"_copyright" : "Copyright (C) 2012 - 2013, Digium, Inc." ,
"_author" : "David M. Lee, II <dlee@digium.com>" ,
"_svn_revision" : "$Revision$" ,
2015-09-29 14:53:58 -05:00
"apiVersion" : "1.9.0" ,
2013-04-22 14:58:53 +00:00
"swaggerVersion" : "1.1" ,
2014-09-20 23:41:17 +00:00
"basePath" : "http://localhost:8088/ari" ,
2013-04-22 14:58:53 +00:00
"resourcePath" : "/api-docs/channels.{format}" ,
"apis" : [
{
"path" : "/channels" ,
"description" : "Active channels" ,
"operations" : [
{
"httpMethod" : "GET" ,
2013-10-16 14:02:06 +00:00
"summary" : "List all active channels in Asterisk." ,
2013-11-07 21:10:31 +00:00
"nickname" : "list" ,
2013-04-22 14:58:53 +00:00
"responseClass" : "List[Channel]"
} ,
{
"httpMethod" : "POST" ,
"summary" : "Create a new channel (originate)." ,
2013-10-19 14:45:14 +00:00
"notes" : "The new channel is created immediately and a snapshot of it returned. If a Stasis application is provided it will be automatically subscribed to the originated channel for further events and updates." ,
2013-04-22 14:58:53 +00:00
"nickname" : "originate" ,
2013-10-21 18:59:51 +00:00
"responseClass" : "Channel" ,
2013-04-22 14:58:53 +00:00
"parameters" : [
{
"name" : "endpoint" ,
2013-06-28 16:23:24 +00:00
"description" : "Endpoint to call." ,
2013-04-22 14:58:53 +00:00
"paramType" : "query" ,
2013-06-28 16:23:24 +00:00
"required" : true ,
2013-04-22 14:58:53 +00:00
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
"name" : "extension" ,
2015-01-27 17:20:23 +00:00
"description" : "The extension to dial after the endpoint answers. Mutually exclusive with 'app'." ,
2013-04-22 14:58:53 +00:00
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
"name" : "context" ,
2015-01-27 17:20:23 +00:00
"description" : "The context to dial after the endpoint answers. If omitted, uses 'default'. Mutually exclusive with 'app'." ,
2013-06-07 18:39:42 +00:00
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
2013-06-28 16:23:24 +00:00
"name" : "priority" ,
2015-01-27 17:20:23 +00:00
"description" : "The priority to dial after the endpoint answers. If omitted, uses 1. Mutually exclusive with 'app'." ,
2013-06-07 18:39:42 +00:00
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
2013-06-28 16:23:24 +00:00
"dataType" : "long"
2013-06-07 18:39:42 +00:00
} ,
2015-01-07 18:53:16 +00:00
{
"name" : "label" ,
2015-01-27 17:20:23 +00:00
"description" : "The label to dial after the endpoint answers. Will supersede 'priority' if provided. Mutually exclusive with 'app'." ,
2015-01-07 18:53:16 +00:00
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
2013-06-07 18:39:42 +00:00
{
2013-06-28 16:23:24 +00:00
"name" : "app" ,
2015-01-27 17:20:23 +00:00
"description" : "The application that is subscribed to the originated channel. When the channel is answered, it will be passed to this Stasis application. Mutually exclusive with 'context', 'extension', 'priority', and 'label'." ,
2013-06-07 18:39:42 +00:00
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
2013-06-28 16:23:24 +00:00
"dataType" : "string"
2013-06-07 18:39:42 +00:00
} ,
{
2013-06-28 16:23:24 +00:00
"name" : "appArgs" ,
2015-01-27 17:20:23 +00:00
"description" : "The application arguments to pass to the Stasis application provided by 'app'. Mutually exclusive with 'context', 'extension', 'priority', and 'label'." ,
2013-06-07 18:39:42 +00:00
"paramType" : "query" ,
2013-06-28 16:23:24 +00:00
"required" : false ,
2013-06-07 18:39:42 +00:00
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
2013-06-28 16:23:24 +00:00
"name" : "callerId" ,
"description" : "CallerID to use when dialing the endpoint or extension." ,
2013-04-22 14:58:53 +00:00
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
2013-06-28 16:23:24 +00:00
} ,
{
"name" : "timeout" ,
"description" : "Timeout (in seconds) before giving up dialing, or -1 for no timeout." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "int" ,
"defaultValue" : 30
2014-01-21 14:27:21 +00:00
} ,
{
"name" : "variables" ,
2014-07-03 16:14:39 +00:00
"description" : "The \"variables\" key in the body object holds variable key/value pairs to set on the channel on creation. Other keys in the body object are interpreted as query parameters. Ex. { \"endpoint\": \"SIP/Alice\", \"variables\": { \"CALLERID(name)\": \"Alice\" } }" ,
2014-01-21 14:27:21 +00:00
"paramType" : "body" ,
"required" : false ,
"dataType" : "containers" ,
"allowMultiple" : false
2014-03-07 15:47:55 +00:00
} ,
{
"name" : "channelId" ,
"description" : "The unique id to assign the channel on creation." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
"name" : "otherChannelId" ,
"description" : "The unique id to assign the second channel when using local channels." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
2014-12-09 15:44:05 +00:00
} ,
{
"name" : "originator" ,
"description" : "The unique id of the channel which is originating this one." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
2016-05-27 13:49:42 -06:00
} ,
{
"name" : "formats" ,
"description" : "The format name capability list to use if originator is not specified. Ex. \"ulaw,slin16\". Format names can be found with \"core show codecs\"." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
2013-04-22 14:58:53 +00:00
}
2013-07-10 17:13:21 +00:00
] ,
"errorResponses" : [
{
"code" : 400 ,
"reason" : "Invalid parameters for originating a channel."
2016-10-17 14:18:57 -05:00
} ,
{
"code" : 409 ,
"reason" : "Channel with given unique ID already exists."
2013-07-10 17:13:21 +00:00
}
2013-04-22 14:58:53 +00:00
]
}
]
} ,
{
"path" : "/channels/{channelId}" ,
"description" : "Active channel" ,
"operations" : [
{
"httpMethod" : "GET" ,
"summary" : "Channel details." ,
2013-11-07 21:10:31 +00:00
"nickname" : "get" ,
2013-04-22 14:58:53 +00:00
"responseClass" : "Channel" ,
"parameters" : [
{
"name" : "channelId" ,
"description" : "Channel's id" ,
"paramType" : "path" ,
"required" : true ,
"allowMultiple" : false ,
"dataType" : "string"
}
] ,
"errorResponses" : [
{
"code" : 404 ,
"reason" : "Channel not found"
}
]
} ,
2014-03-07 15:47:55 +00:00
{
"httpMethod" : "POST" ,
"summary" : "Create a new channel (originate with id)." ,
"notes" : "The new channel is created immediately and a snapshot of it returned. If a Stasis application is provided it will be automatically subscribed to the originated channel for further events and updates." ,
"nickname" : "originateWithId" ,
"responseClass" : "Channel" ,
"parameters" : [
{
"name" : "channelId" ,
"description" : "The unique id to assign the channel on creation." ,
"paramType" : "path" ,
"required" : true ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
"name" : "endpoint" ,
"description" : "Endpoint to call." ,
"paramType" : "query" ,
"required" : true ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
"name" : "extension" ,
2015-01-27 17:20:23 +00:00
"description" : "The extension to dial after the endpoint answers. Mutually exclusive with 'app'." ,
2014-03-07 15:47:55 +00:00
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
"name" : "context" ,
2015-01-27 17:20:23 +00:00
"description" : "The context to dial after the endpoint answers. If omitted, uses 'default'. Mutually exclusive with 'app'." ,
2014-03-07 15:47:55 +00:00
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
"name" : "priority" ,
2015-01-27 17:20:23 +00:00
"description" : "The priority to dial after the endpoint answers. If omitted, uses 1. Mutually exclusive with 'app'." ,
2014-03-07 15:47:55 +00:00
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "long"
} ,
2015-01-07 18:53:16 +00:00
{
"name" : "label" ,
2015-01-27 17:20:23 +00:00
"description" : "The label to dial after the endpoint answers. Will supersede 'priority' if provided. Mutually exclusive with 'app'." ,
2015-01-07 18:53:16 +00:00
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
2014-03-07 15:47:55 +00:00
{
"name" : "app" ,
2015-01-27 17:20:23 +00:00
"description" : "The application that is subscribed to the originated channel. When the channel is answered, it will be passed to this Stasis application. Mutually exclusive with 'context', 'extension', 'priority', and 'label'." ,
2014-03-07 15:47:55 +00:00
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
"name" : "appArgs" ,
2015-01-27 17:20:23 +00:00
"description" : "The application arguments to pass to the Stasis application provided by 'app'. Mutually exclusive with 'context', 'extension', 'priority', and 'label'." ,
2014-03-07 15:47:55 +00:00
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
"name" : "callerId" ,
"description" : "CallerID to use when dialing the endpoint or extension." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
"name" : "timeout" ,
"description" : "Timeout (in seconds) before giving up dialing, or -1 for no timeout." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "int" ,
"defaultValue" : 30
} ,
{
"name" : "variables" ,
2014-07-03 16:14:39 +00:00
"description" : "The \"variables\" key in the body object holds variable key/value pairs to set on the channel on creation. Other keys in the body object are interpreted as query parameters. Ex. { \"endpoint\": \"SIP/Alice\", \"variables\": { \"CALLERID(name)\": \"Alice\" } }" ,
2014-03-07 15:47:55 +00:00
"paramType" : "body" ,
"required" : false ,
"dataType" : "containers" ,
"allowMultiple" : false
} ,
{
"name" : "otherChannelId" ,
"description" : "The unique id to assign the second channel when using local channels." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
2014-12-09 15:44:05 +00:00
} ,
{
"name" : "originator" ,
"description" : "The unique id of the channel which is originating this one." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
2016-05-27 13:49:42 -06:00
} ,
{
"name" : "formats" ,
"description" : "The format name capability list to use if originator is not specified. Ex. \"ulaw,slin16\". Format names can be found with \"core show codecs\"." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
2014-03-07 15:47:55 +00:00
}
] ,
"errorResponses" : [
{
"code" : 400 ,
"reason" : "Invalid parameters for originating a channel."
2016-10-17 14:18:57 -05:00
} ,
{
"code" : 409 ,
"reason" : "Channel with given unique ID already exists."
2014-03-07 15:47:55 +00:00
}
]
} ,
2013-04-22 14:58:53 +00:00
{
"httpMethod" : "DELETE" ,
"summary" : "Delete (i.e. hangup) a channel." ,
2013-11-07 21:10:31 +00:00
"nickname" : "hangup" ,
2013-04-22 14:58:53 +00:00
"responseClass" : "void" ,
"parameters" : [
{
"name" : "channelId" ,
"description" : "Channel's id" ,
"paramType" : "path" ,
"required" : true ,
"allowMultiple" : false ,
"dataType" : "string"
2013-11-01 14:38:21 +00:00
} ,
{
"name" : "reason" ,
"description" : "Reason for hanging up the channel" ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string" ,
"defalutValue" : "normal" ,
"allowableValues" : {
"valueType" : "LIST" ,
"values" : [
"normal" ,
"busy" ,
2015-02-09 03:10:59 +00:00
"congestion" ,
"no_answer"
2013-11-01 14:38:21 +00:00
]
}
2013-04-22 14:58:53 +00:00
}
] ,
"errorResponses" : [
2013-11-01 14:38:21 +00:00
{
"code" : 400 ,
"reason" : "Invalid reason for hangup provided"
} ,
2013-04-22 14:58:53 +00:00
{
"code" : 404 ,
"reason" : "Channel not found"
}
]
}
]
} ,
{
"path" : "/channels/{channelId}/continue" ,
"description" : "Exit application; continue execution in the dialplan" ,
"operations" : [
{
"httpMethod" : "POST" ,
"summary" : "Exit application; continue execution in the dialplan." ,
"nickname" : "continueInDialplan" ,
"responseClass" : "void" ,
"parameters" : [
{
"name" : "channelId" ,
"description" : "Channel's id" ,
"paramType" : "path" ,
"required" : true ,
"allowMultiple" : false ,
"dataType" : "string"
2013-06-26 19:29:57 +00:00
} ,
{
"name" : "context" ,
"description" : "The context to continue to." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
"name" : "extension" ,
"description" : "The extension to continue to." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
"name" : "priority" ,
"description" : "The priority to continue to." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "int"
2015-01-07 18:53:16 +00:00
} ,
{
"name" : "label" ,
"description" : "The label to continue to - will supersede 'priority' if both are provided." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
2013-04-22 14:58:53 +00:00
}
] ,
"errorResponses" : [
{
"code" : 404 ,
"reason" : "Channel not found"
} ,
{
"code" : 409 ,
"reason" : "Channel not in a Stasis application"
}
]
}
]
} ,
2015-02-12 20:32:48 +00:00
{
"path" : "/channels/{channelId}/redirect" ,
"description" : "Inform the channel that it should redirect itself to a different location. Note that this will almost certainly cause the channel to exit the application." ,
"operations" : [
{
"httpMethod" : "POST" ,
"summary" : "Redirect the channel to a different location." ,
"nickname" : "redirect" ,
"responseClass" : "void" ,
"parameters" : [
{
"name" : "channelId" ,
"description" : "Channel's id" ,
"paramType" : "path" ,
"required" : true ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
"name" : "endpoint" ,
"description" : "The endpoint to redirect the channel to" ,
"paramType" : "query" ,
"required" : true ,
"allowMultiple" : false ,
"dataType" : "string"
}
] ,
"errorResponses" : [
{
"code" : 400 ,
"reason" : "Endpoint parameter not provided"
} ,
{
"code" : 404 ,
"reason" : "Channel or endpoint not found"
} ,
{
"code" : 409 ,
"reason" : "Channel not in a Stasis application"
} ,
{
"code" : 422 ,
"reason" : "Endpoint is not the same type as the channel"
}
]
}
]
} ,
2013-04-22 14:58:53 +00:00
{
"path" : "/channels/{channelId}/answer" ,
"description" : "Answer a channel" ,
"operations" : [
{
"httpMethod" : "POST" ,
"summary" : "Answer a channel." ,
2013-11-07 21:10:31 +00:00
"nickname" : "answer" ,
2013-04-22 14:58:53 +00:00
"responseClass" : "void" ,
"parameters" : [
{
"name" : "channelId" ,
"description" : "Channel's id" ,
"paramType" : "path" ,
"required" : true ,
"allowMultiple" : false ,
"dataType" : "string"
}
] ,
"errorResponses" : [
{
"code" : 404 ,
"reason" : "Channel not found"
2013-07-03 16:32:41 +00:00
} ,
{
"code" : 409 ,
"reason" : "Channel not in a Stasis application"
2013-04-22 14:58:53 +00:00
}
]
}
]
} ,
2013-11-01 14:38:21 +00:00
{
"path" : "/channels/{channelId}/ring" ,
"description" : "Send a ringing indication to a channel" ,
"operations" : [
{
"httpMethod" : "POST" ,
"summary" : "Indicate ringing to a channel." ,
2013-11-07 21:10:31 +00:00
"nickname" : "ring" ,
2013-11-01 14:38:21 +00:00
"responseClass" : "void" ,
"parameters" : [
{
"name" : "channelId" ,
"description" : "Channel's id" ,
"paramType" : "path" ,
"required" : true ,
"allowMultiple" : false ,
"dataType" : "string"
}
] ,
"errorResponses" : [
{
"code" : 404 ,
"reason" : "Channel not found"
} ,
{
"code" : 409 ,
"reason" : "Channel not in a Stasis application"
}
]
2013-11-13 23:11:32 +00:00
} ,
{
"httpMethod" : "DELETE" ,
"summary" : "Stop ringing indication on a channel if locally generated." ,
"nickname" : "ringStop" ,
"responseClass" : "void" ,
"parameters" : [
{
"name" : "channelId" ,
"description" : "Channel's id" ,
"paramType" : "path" ,
"required" : true ,
"allowMultiple" : false ,
"dataType" : "string"
}
] ,
"errorResponses" : [
{
"code" : 404 ,
"reason" : "Channel not found"
} ,
{
"code" : 409 ,
"reason" : "Channel not in a Stasis application"
}
]
2013-11-01 14:38:21 +00:00
}
]
} ,
{
"path" : "/channels/{channelId}/dtmf" ,
"description" : "Send DTMF to a channel" ,
"operations" : [
{
"httpMethod" : "POST" ,
"summary" : "Send provided DTMF to a given channel." ,
2013-11-07 21:10:31 +00:00
"nickname" : "sendDTMF" ,
2013-11-01 14:38:21 +00:00
"responseClass" : "void" ,
"parameters" : [
{
"name" : "channelId" ,
"description" : "Channel's id" ,
"paramType" : "path" ,
"required" : true ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
"name" : "dtmf" ,
"description" : "DTMF To send." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "string"
} ,
{
"name" : "before" ,
"description" : "Amount of time to wait before DTMF digits (specified in milliseconds) start." ,
"paramType" : "query" ,
"required" : false ,
"allowMultiple" : false ,
"dataType" : "int" ,
"defaultValue" : 0
} ,
{
"name" : "between" ,
"description" : "Amount of time in between DTMF digits (specified in milliseconds)." ,
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " i n t ",
" d e f a u l t V a l u e ": 100
},
{
" n a m e ": " d u r a t i o n ",
" d e s c r i p t i o n ": " L e n g t h o f e a c h D T M F d i g i t ( s p e c i f i e d i n m i l l i s e c o n d s ) . ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " i n t ",
" d e f a u l t V a l u e ": 100
},
{
" n a m e ": " a f t e r ",
" d e s c r i p t i o n ": " A m o u n t o f t i m e t o w a i t a f t e r D T M F d i g i t s ( s p e c i f i e d i n m i l l i s e c o n d s ) e n d . ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " i n t ",
" d e f a u l t V a l u e ": 0
}
],
" e r r o r R e s p o n s e s ": [
{
" c o d e ": 400,
" r e a s o n ": " D T M F i s r e q u i r e d "
},
{
" c o d e ": 404,
" r e a s o n ": " C h a n n e l n o t f o u n d "
},
{
" c o d e ": 409,
" r e a s o n ": " C h a n n e l n o t i n a S t a s i s a p p l i c a t i o n "
}
]
}
]
},
2013-04-22 14:58:53 +00:00
{
" p a t h ": " / c h a n n e l s / { c h a n n e l I d } / m u t e ",
" d e s c r i p t i o n ": " M u t e a c h a n n e l ",
" o p e r a t i o n s ": [
{
" h t t p M e t h o d ": " P O S T ",
" s u m m a r y ": " M u t e a c h a n n e l . ",
2013-11-07 21:10:31 +00:00
" n i c k n a m e ": " m u t e ",
2013-04-22 14:58:53 +00:00
" r e s p o n s e C l a s s ": " v o i d ",
" p a r a m e t e r s ": [
{
" n a m e ": " c h a n n e l I d ",
" d e s c r i p t i o n ": " C h a n n e l ' s i d ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " d i r e c t i o n ",
" d e s c r i p t i o n ": " D i r e c t i o n i n w h i c h t o m u t e a u d i o ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g ",
" d e f a u l t V a l u e ": " b o t h ",
" a l l o w a b l e V a l u e s ": {
" v a l u e T y p e ": " L I S T ",
" v a l u e s ": [
" b o t h ",
" i n ",
" o u t "
]
}
}
],
" e r r o r R e s p o n s e s ": [
{
" c o d e ": 404,
" r e a s o n ": " C h a n n e l n o t f o u n d "
},
{
" c o d e ": 409,
" r e a s o n ": " C h a n n e l n o t i n a S t a s i s a p p l i c a t i o n "
}
]
2013-11-07 21:10:31 +00:00
},
2013-04-22 14:58:53 +00:00
{
2013-11-07 21:10:31 +00:00
" h t t p M e t h o d ": " D E L E T E ",
2013-04-22 14:58:53 +00:00
" s u m m a r y ": " U n m u t e a c h a n n e l . ",
2013-11-07 21:10:31 +00:00
" n i c k n a m e ": " u n m u t e ",
2013-04-22 14:58:53 +00:00
" r e s p o n s e C l a s s ": " v o i d ",
" p a r a m e t e r s ": [
{
" n a m e ": " c h a n n e l I d ",
" d e s c r i p t i o n ": " C h a n n e l ' s i d ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " d i r e c t i o n ",
" d e s c r i p t i o n ": " D i r e c t i o n i n w h i c h t o u n m u t e a u d i o ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g ",
" d e f a u l t V a l u e ": " b o t h ",
" a l l o w a b l e V a l u e s ": {
" v a l u e T y p e ": " L I S T ",
" v a l u e s ": [
" b o t h ",
" i n ",
" o u t "
]
}
}
],
" e r r o r R e s p o n s e s ": [
{
" c o d e ": 404,
" r e a s o n ": " C h a n n e l n o t f o u n d "
},
{
" c o d e ": 409,
" r e a s o n ": " C h a n n e l n o t i n a S t a s i s a p p l i c a t i o n "
}
]
}
]
},
{
" p a t h ": " / c h a n n e l s / { c h a n n e l I d } / h o l d ",
" d e s c r i p t i o n ": " P u t a c h a n n e l o n h o l d ",
" o p e r a t i o n s ": [
{
" h t t p M e t h o d ": " P O S T ",
" s u m m a r y ": " H o l d a c h a n n e l . ",
2013-11-07 21:10:31 +00:00
" n i c k n a m e ": " h o l d ",
2013-04-22 14:58:53 +00:00
" r e s p o n s e C l a s s ": " v o i d ",
" p a r a m e t e r s ": [
{
" n a m e ": " c h a n n e l I d ",
" d e s c r i p t i o n ": " C h a n n e l ' s i d ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
}
],
" e r r o r R e s p o n s e s ": [
{
" c o d e ": 404,
" r e a s o n ": " C h a n n e l n o t f o u n d "
},
{
" c o d e ": 409,
" r e a s o n ": " C h a n n e l n o t i n a S t a s i s a p p l i c a t i o n "
}
]
2013-11-07 21:10:31 +00:00
},
2013-04-22 14:58:53 +00:00
{
2013-10-15 15:30:39 +00:00
" h t t p M e t h o d ": " D E L E T E ",
2013-04-22 14:58:53 +00:00
" s u m m a r y ": " R e m o v e a c h a n n e l f r o m h o l d . ",
2013-11-07 21:10:31 +00:00
" n i c k n a m e ": " u n h o l d ",
2013-04-22 14:58:53 +00:00
" r e s p o n s e C l a s s ": " v o i d ",
" p a r a m e t e r s ": [
{
" n a m e ": " c h a n n e l I d ",
" d e s c r i p t i o n ": " C h a n n e l ' s i d ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
}
],
" e r r o r R e s p o n s e s ": [
{
" c o d e ": 404,
" r e a s o n ": " C h a n n e l n o t f o u n d "
},
{
" c o d e ": 409,
" r e a s o n ": " C h a n n e l n o t i n a S t a s i s a p p l i c a t i o n "
}
]
}
]
},
2013-07-19 19:40:27 +00:00
{
2013-10-15 15:30:39 +00:00
" p a t h ": " / c h a n n e l s / { c h a n n e l I d } / m o h ",
2013-07-19 19:40:27 +00:00
" d e s c r i p t i o n ": " P l a y m u s i c o n h o l d t o a c h a n n e l ",
" o p e r a t i o n s ": [
{
" h t t p M e t h o d ": " P O S T ",
" s u m m a r y ": " P l a y m u s i c o n h o l d t o a c h a n n e l . ",
2013-11-21 15:56:34 +00:00
" n o t e s ": " U s i n g m e d i a o p e r a t i o n s s u c h a s / p l a y o n a c h a n n e l p l a y i n g M O H i n t h i s m a n n e r w i l l s u s p e n d M O H w i t h o u t r e s u m i n g a u t o m a t i c a l l y . I f c o n t i n u i n g m u s i c o n h o l d i s d e s i r e d , t h e s t a s i s a p p l i c a t i o n m u s t r e i n i t i a t e m u s i c o n h o l d . ",
2013-11-07 21:10:31 +00:00
" n i c k n a m e ": " s t a r t M o h ",
2013-07-19 19:40:27 +00:00
" r e s p o n s e C l a s s ": " v o i d ",
" p a r a m e t e r s ": [
{
" n a m e ": " c h a n n e l I d ",
" d e s c r i p t i o n ": " C h a n n e l ' s i d ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " m o h C l a s s ",
" d e s c r i p t i o n ": " M u s i c o n h o l d c l a s s t o u s e ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
}
],
" e r r o r R e s p o n s e s ": [
{
" c o d e ": 404,
" r e a s o n ": " C h a n n e l n o t f o u n d "
},
{
" c o d e ": 409,
" r e a s o n ": " C h a n n e l n o t i n a S t a s i s a p p l i c a t i o n "
}
]
2013-11-07 21:10:31 +00:00
},
2013-07-19 19:40:27 +00:00
{
2013-10-15 15:30:39 +00:00
" h t t p M e t h o d ": " D E L E T E ",
2013-07-19 19:40:27 +00:00
" s u m m a r y ": " S t o p p l a y i n g m u s i c o n h o l d t o a c h a n n e l . ",
2013-11-07 21:10:31 +00:00
" n i c k n a m e ": " s t o p M o h ",
2013-07-19 19:40:27 +00:00
" r e s p o n s e C l a s s ": " v o i d ",
" p a r a m e t e r s ": [
{
" n a m e ": " c h a n n e l I d ",
" d e s c r i p t i o n ": " C h a n n e l ' s i d ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
}
],
" e r r o r R e s p o n s e s ": [
{
" c o d e ": 404,
" r e a s o n ": " C h a n n e l n o t f o u n d "
},
{
" c o d e ": 409,
" r e a s o n ": " C h a n n e l n o t i n a S t a s i s a p p l i c a t i o n "
}
]
}
]
},
2013-11-21 15:56:34 +00:00
{
" p a t h ": " / c h a n n e l s / { c h a n n e l I d } / s i l e n c e ",
" d e s c r i p t i o n ": " P l a y s i l e n c e t o a c h a n n e l ",
" o p e r a t i o n s ": [
{
" h t t p M e t h o d ": " P O S T ",
" s u m m a r y ": " P l a y s i l e n c e t o a c h a n n e l . ",
" n o t e s ": " U s i n g m e d i a o p e r a t i o n s s u c h a s / p l a y o n a c h a n n e l p l a y i n g s i l e n c e i n t h i s m a n n e r w i l l s u s p e n d s i l e n c e w i t h o u t r e s u m i n g a u t o m a t i c a l l y . ",
" n i c k n a m e ": " s t a r t S i l e n c e ",
" r e s p o n s e C l a s s ": " v o i d ",
" p a r a m e t e r s ": [
{
" n a m e ": " c h a n n e l I d ",
" d e s c r i p t i o n ": " C h a n n e l ' s i d ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
}
],
" e r r o r R e s p o n s e s ": [
{
" c o d e ": 404,
" r e a s o n ": " C h a n n e l n o t f o u n d "
},
{
" c o d e ": 409,
" r e a s o n ": " C h a n n e l n o t i n a S t a s i s a p p l i c a t i o n "
}
]
},
{
" h t t p M e t h o d ": " D E L E T E ",
" s u m m a r y ": " S t o p p l a y i n g s i l e n c e t o a c h a n n e l . ",
" n i c k n a m e ": " s t o p S i l e n c e ",
" r e s p o n s e C l a s s ": " v o i d ",
" p a r a m e t e r s ": [
{
" n a m e ": " c h a n n e l I d ",
" d e s c r i p t i o n ": " C h a n n e l ' s i d ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
}
],
" e r r o r R e s p o n s e s ": [
{
" c o d e ": 404,
" r e a s o n ": " C h a n n e l n o t f o u n d "
},
{
" c o d e ": 409,
" r e a s o n ": " C h a n n e l n o t i n a S t a s i s a p p l i c a t i o n "
}
]
}
]
},
2013-04-22 14:58:53 +00:00
{
" p a t h ": " / c h a n n e l s / { c h a n n e l I d } / p l a y ",
" d e s c r i p t i o n ": " P l a y m e d i a t o a c h a n n e l ",
" o p e r a t i o n s ": [
{
" h t t p M e t h o d ": " P O S T ",
" s u m m a r y ": " S t a r t p l a y b a c k o f m e d i a . ",
2014-04-17 21:57:36 +00:00
" n o t e s ": " T h e m e d i a U R I m a y b e a n y o f a n u m b e r o f U R I ' s . C u r r e n t l y s o u n d : , r e c o r d i n g : , n u m b e r : , d i g i t s : , c h a r a c t e r s : , a n d t o n e : U R I ' s a r e s u p p o r t e d . T h i s o p e r a t i o n c r e a t e s a p l a y b a c k r e s o u r c e t h a t c a n b e u s e d t o c o n t r o l t h e p l a y b a c k o f m e d i a ( p a u s e , r e w i n d , f a s t f o r w a r d , e t c . ) ",
2013-11-07 21:10:31 +00:00
" n i c k n a m e ": " p l a y ",
2013-04-22 14:58:53 +00:00
" r e s p o n s e C l a s s ": " P l a y b a c k ",
" p a r a m e t e r s ": [
{
" n a m e ": " c h a n n e l I d ",
" d e s c r i p t i o n ": " C h a n n e l ' s i d ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " m e d i a ",
" d e s c r i p t i o n ": " M e d i a ' s U R I t o p l a y . ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
2013-05-23 20:11:35 +00:00
},
{
" n a m e ": " l a n g ",
2013-05-23 20:21:16 +00:00
" d e s c r i p t i o n ": " F o r s o u n d s , s e l e c t s l a n g u a g e f o r s o u n d . ",
2013-05-23 20:11:35 +00:00
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
2013-05-23 20:21:16 +00:00
},
{
" n a m e ": " o f f s e t m s ",
" d e s c r i p t i o n ": " N u m b e r o f m e d i a t o s k i p b e f o r e p l a y i n g . ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " i n t "
},
2014-03-07 15:47:55 +00:00
{
" n a m e ": " s k i p m s ",
" d e s c r i p t i o n ": " N u m b e r o f m i l l i s e c o n d s t o s k i p f o r f o r w a r d / r e v e r s e o p e r a t i o n s . ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " i n t ",
" d e f a u l t V a l u e ": 3000
},
{
" n a m e ": " p l a y b a c k I d ",
" d e s c r i p t i o n ": " P l a y b a c k I D . ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
}
],
" e r r o r R e s p o n s e s ": [
{
" c o d e ": 404,
" r e a s o n ": " C h a n n e l n o t f o u n d "
},
{
" c o d e ": 409,
" r e a s o n ": " C h a n n e l n o t i n a S t a s i s a p p l i c a t i o n "
}
]
}
]
},
{
" p a t h ": " / c h a n n e l s / { c h a n n e l I d } / p l a y / { p l a y b a c k I d } ",
" d e s c r i p t i o n ": " P l a y m e d i a t o a c h a n n e l ",
" o p e r a t i o n s ": [
{
" h t t p M e t h o d ": " P O S T ",
" s u m m a r y ": " S t a r t p l a y b a c k o f m e d i a a n d s p e c i f y t h e p l a y b a c k I d . ",
2015-01-27 17:20:23 +00:00
" n o t e s ": " T h e m e d i a U R I m a y b e a n y o f a n u m b e r o f U R I ' s . C u r r e n t l y s o u n d : , r e c o r d i n g : , n u m b e r : , d i g i t s : , c h a r a c t e r s : , a n d t o n e : U R I ' s a r e s u p p o r t e d . T h i s o p e r a t i o n c r e a t e s a p l a y b a c k r e s o u r c e t h a t c a n b e u s e d t o c o n t r o l t h e p l a y b a c k o f m e d i a ( p a u s e , r e w i n d , f a s t f o r w a r d , e t c . ) ",
2014-03-07 15:47:55 +00:00
" n i c k n a m e ": " p l a y W i t h I d ",
" r e s p o n s e C l a s s ": " P l a y b a c k ",
" p a r a m e t e r s ": [
{
" n a m e ": " c h a n n e l I d ",
" d e s c r i p t i o n ": " C h a n n e l ' s i d ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " p l a y b a c k I d ",
" d e s c r i p t i o n ": " P l a y b a c k I D . ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " m e d i a ",
" d e s c r i p t i o n ": " M e d i a ' s U R I t o p l a y . ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " l a n g ",
" d e s c r i p t i o n ": " F o r s o u n d s , s e l e c t s l a n g u a g e f o r s o u n d . ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " o f f s e t m s ",
" d e s c r i p t i o n ": " N u m b e r o f m e d i a t o s k i p b e f o r e p l a y i n g . ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " i n t "
},
2013-05-23 20:21:16 +00:00
{
" n a m e ": " s k i p m s ",
" d e s c r i p t i o n ": " N u m b e r o f m i l l i s e c o n d s t o s k i p f o r f o r w a r d / r e v e r s e o p e r a t i o n s . ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " i n t ",
" d e f a u l t V a l u e ": 3000
2013-04-22 14:58:53 +00:00
}
],
" e r r o r R e s p o n s e s ": [
{
" c o d e ": 404,
" r e a s o n ": " C h a n n e l n o t f o u n d "
},
{
" c o d e ": 409,
" r e a s o n ": " C h a n n e l n o t i n a S t a s i s a p p l i c a t i o n "
}
]
}
]
},
{
" p a t h ": " / c h a n n e l s / { c h a n n e l I d } / r e c o r d ",
" d e s c r i p t i o n ": " R e c o r d a u d i o f r o m a c h a n n e l ",
" o p e r a t i o n s ": [
{
" h t t p M e t h o d ": " P O S T ",
" s u m m a r y ": " S t a r t a r e c o r d i n g . ",
" n o t e s ": " R e c o r d a u d i o f r o m a c h a n n e l . N o t e t h a t t h i s w i l l n o t c a p t u r e a u d i o s e n t t o t h e c h a n n e l . T h e b r i d g e i t s e l f h a s a r e c o r d f e a t u r e i f t h a t ' s w h a t y o u w a n t . ",
2013-11-07 21:10:31 +00:00
" n i c k n a m e ": " r e c o r d ",
2013-07-19 19:35:21 +00:00
" r e s p o n s e C l a s s ": " L i v e R e c o r d i n g ",
2013-04-22 14:58:53 +00:00
" p a r a m e t e r s ": [
{
" n a m e ": " c h a n n e l I d ",
" d e s c r i p t i o n ": " C h a n n e l ' s i d ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " n a m e ",
" d e s c r i p t i o n ": " R e c o r d i n g ' s f i l e n a m e ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " f o r m a t ",
" d e s c r i p t i o n ": " F o r m a t t o e n c o d e a u d i o i n ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": true,
2013-08-02 14:36:32 +00:00
" a l l o w M u l t i p l e ": false,
2013-04-22 14:58:53 +00:00
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " m a x D u r a t i o n S e c o n d s ",
" d e s c r i p t i o n ": " M a x i m u m d u r a t i o n o f t h e r e c o r d i n g , i n s e c o n d s . 0 f o r n o l i m i t ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " i n t ",
2013-07-03 17:58:45 +00:00
" d e f a u l t V a l u e ": 0,
" a l l o w a b l e V a l u e s ": {
" v a l u e T y p e ": " R A N G E ",
" m i n ": 0
}
2013-04-22 14:58:53 +00:00
},
{
" n a m e ": " m a x S i l e n c e S e c o n d s ",
" d e s c r i p t i o n ": " M a x i m u m d u r a t i o n o f s i l e n c e , i n s e c o n d s . 0 f o r n o l i m i t ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " i n t ",
2013-07-03 17:58:45 +00:00
" d e f a u l t V a l u e ": 0,
" a l l o w a b l e V a l u e s ": {
" v a l u e T y p e ": " R A N G E ",
" m i n ": 0
}
2013-04-22 14:58:53 +00:00
},
{
2013-07-03 17:58:45 +00:00
" n a m e ": " i f E x i s t s ",
" d e s c r i p t i o n ": " A c t i o n t o t a k e i f a r e c o r d i n g w i t h t h e s a m e n a m e a l r e a d y e x i s t s . ",
2013-04-22 14:58:53 +00:00
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
2013-07-03 17:58:45 +00:00
" d a t a T y p e ": " s t r i n g ",
" d e f a u l t V a l u e ": " f a i l ",
" a l l o w a b l e V a l u e s ": {
" v a l u e T y p e ": " L I S T ",
" v a l u e s ": [
" f a i l ",
" o v e r w r i t e ",
" a p p e n d "
]
}
2013-04-22 14:58:53 +00:00
},
{
" n a m e ": " b e e p ",
" d e s c r i p t i o n ": " P l a y b e e p w h e n r e c o r d i n g b e g i n s ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " b o o l e a n ",
" d e f a u l t V a l u e ": false
},
{
" n a m e ": " t e r m i n a t e O n ",
" d e s c r i p t i o n ": " D T M F i n p u t t o t e r m i n a t e r e c o r d i n g ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g ",
" d e f a u l t V a l u e ": " n o n e ",
" a l l o w a b l e V a l u e s ": {
" v a l u e T y p e ": " L I S T ",
" v a l u e s ": [
" n o n e ",
" a n y ",
" * ",
" # "
]
}
}
],
" e r r o r R e s p o n s e s ": [
2013-07-03 17:58:45 +00:00
{
" c o d e ": 400,
" r e a s o n ": " I n v a l i d p a r a m e t e r s "
},
2013-04-22 14:58:53 +00:00
{
" c o d e ": 404,
" r e a s o n ": " C h a n n e l n o t f o u n d "
},
{
" c o d e ": 409,
2013-10-25 21:28:32 +00:00
" r e a s o n ": " C h a n n e l i s n o t i n a S t a s i s a p p l i c a t i o n ; t h e c h a n n e l i s c u r r e n t l y b r i d g e d w i t h o t h e r h c a n n e l s ; A r e c o r d i n g w i t h t h e s a m e n a m e a l r e a d y e x i s t s o n t h e s y s t e m a n d c a n n o t b e o v e r w r i t t e n b e c a u s e i t i s i n p r o g r e s s o r i f E x i s t s = f a i l "
2013-10-25 22:01:43 +00:00
},
{
" c o d e ": 422,
" r e a s o n ": " T h e f o r m a t s p e c i f i e d i s u n k n o w n o n t h i s s y s t e m "
2013-04-22 14:58:53 +00:00
}
]
}
]
2013-07-08 14:46:20 +00:00
},
{
" p a t h ": " / c h a n n e l s / { c h a n n e l I d } / v a r i a b l e ",
" d e s c r i p t i o n ": " V a r i a b l e s o n a c h a n n e l ",
" o p e r a t i o n s ": [
{
" h t t p M e t h o d ": " G E T ",
" s u m m a r y ": " G e t t h e v a l u e o f a c h a n n e l v a r i a b l e o r f u n c t i o n . ",
" n i c k n a m e ": " g e t C h a n n e l V a r ",
2013-07-10 13:50:48 +00:00
" r e s p o n s e C l a s s ": " V a r i a b l e ",
2013-07-08 14:46:20 +00:00
" p a r a m e t e r s ": [
{
" n a m e ": " c h a n n e l I d ",
" d e s c r i p t i o n ": " C h a n n e l ' s i d ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " v a r i a b l e ",
" d e s c r i p t i o n ": " T h e c h a n n e l v a r i a b l e o r f u n c t i o n t o g e t ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
}
],
" e r r o r R e s p o n s e s ": [
2013-08-21 16:23:59 +00:00
{
" c o d e ": 400,
" r e a s o n ": " M i s s i n g v a r i a b l e p a r a m e t e r . "
},
2013-07-08 14:46:20 +00:00
{
" c o d e ": 404,
2015-02-21 20:47:19 +00:00
" r e a s o n ": " C h a n n e l o r v a r i a b l e n o t f o u n d "
2013-07-08 14:46:20 +00:00
},
{
" c o d e ": 409,
" r e a s o n ": " C h a n n e l n o t i n a S t a s i s a p p l i c a t i o n "
}
]
},
{
" h t t p M e t h o d ": " P O S T ",
" s u m m a r y ": " S e t t h e v a l u e o f a c h a n n e l v a r i a b l e o r f u n c t i o n . ",
" n i c k n a m e ": " s e t C h a n n e l V a r ",
" r e s p o n s e C l a s s ": " v o i d ",
" p a r a m e t e r s ": [
{
" n a m e ": " c h a n n e l I d ",
" d e s c r i p t i o n ": " C h a n n e l ' s i d ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " v a r i a b l e ",
" d e s c r i p t i o n ": " T h e c h a n n e l v a r i a b l e o r f u n c t i o n t o s e t ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " v a l u e ",
" d e s c r i p t i o n ": " T h e v a l u e t o s e t t h e v a r i a b l e t o ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
}
],
" e r r o r R e s p o n s e s ": [
2013-08-21 16:23:59 +00:00
{
" c o d e ": 400,
" r e a s o n ": " M i s s i n g v a r i a b l e p a r a m e t e r . "
},
2013-07-08 14:46:20 +00:00
{
" c o d e ": 404,
" r e a s o n ": " C h a n n e l n o t f o u n d "
},
{
" c o d e ": 409,
" r e a s o n ": " C h a n n e l n o t i n a S t a s i s a p p l i c a t i o n "
}
]
}
]
2013-11-23 12:40:46 +00:00
},
{
" p a t h ": " / c h a n n e l s / { c h a n n e l I d } / s n o o p ",
" d e s c r i p t i o n ": " S n o o p ( s p y / w h i s p e r ) o n a c h a n n e l ",
" o p e r a t i o n s ": [
{
" h t t p M e t h o d ": " P O S T ",
" s u m m a r y ": " S t a r t s n o o p i n g . ",
" n o t e s ": " S n o o p ( s p y / w h i s p e r ) o n a s p e c i f i c c h a n n e l . ",
" n i c k n a m e ": " s n o o p C h a n n e l ",
" r e s p o n s e C l a s s ": " C h a n n e l ",
" p a r a m e t e r s ": [
{
" n a m e ": " c h a n n e l I d ",
" d e s c r i p t i o n ": " C h a n n e l ' s i d ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " s p y ",
" d e s c r i p t i o n ": " D i r e c t i o n o f a u d i o t o s p y o n ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g ",
" d e f a u l t V a l u e ": " n o n e ",
" a l l o w a b l e V a l u e s ": {
" v a l u e T y p e ": " L I S T ",
" v a l u e s ": [
" n o n e ",
" b o t h ",
" o u t ",
" i n "
]
}
},
{
" n a m e ": " w h i s p e r ",
" d e s c r i p t i o n ": " D i r e c t i o n o f a u d i o t o w h i s p e r i n t o ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
2014-03-07 15:47:55 +00:00
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g ",
" d e f a u l t V a l u e ": " n o n e ",
" a l l o w a b l e V a l u e s ": {
" v a l u e T y p e ": " L I S T ",
" v a l u e s ": [
" n o n e ",
" b o t h ",
" o u t ",
" i n "
]
}
},
{
" n a m e ": " a p p ",
" d e s c r i p t i o n ": " A p p l i c a t i o n t h e s n o o p i n g c h a n n e l i s p l a c e d i n t o ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " a p p A r g s ",
" d e s c r i p t i o n ": " T h e a p p l i c a t i o n a r g u m e n t s t o p a s s t o t h e S t a s i s a p p l i c a t i o n ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " s n o o p I d ",
" d e s c r i p t i o n ": " U n i q u e I D t o a s s i g n t o s n o o p i n g c h a n n e l ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
}
],
" e r r o r R e s p o n s e s ": [
{
" c o d e ": 400,
" r e a s o n ": " I n v a l i d p a r a m e t e r s "
},
{
" c o d e ": 404,
" r e a s o n ": " C h a n n e l n o t f o u n d "
}
]
}
]
},
{
" p a t h ": " / c h a n n e l s / { c h a n n e l I d } / s n o o p / { s n o o p I d } ",
" d e s c r i p t i o n ": " S n o o p ( s p y / w h i s p e r ) o n a c h a n n e l ",
" o p e r a t i o n s ": [
{
" h t t p M e t h o d ": " P O S T ",
" s u m m a r y ": " S t a r t s n o o p i n g . ",
" n o t e s ": " S n o o p ( s p y / w h i s p e r ) o n a s p e c i f i c c h a n n e l . ",
" n i c k n a m e ": " s n o o p C h a n n e l W i t h I d ",
" r e s p o n s e C l a s s ": " C h a n n e l ",
" p a r a m e t e r s ": [
{
" n a m e ": " c h a n n e l I d ",
" d e s c r i p t i o n ": " C h a n n e l ' s i d ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " s n o o p I d ",
" d e s c r i p t i o n ": " U n i q u e I D t o a s s i g n t o s n o o p i n g c h a n n e l ",
" p a r a m T y p e ": " p a t h ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " s p y ",
" d e s c r i p t i o n ": " D i r e c t i o n o f a u d i o t o s p y o n ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g ",
" d e f a u l t V a l u e ": " n o n e ",
" a l l o w a b l e V a l u e s ": {
" v a l u e T y p e ": " L I S T ",
" v a l u e s ": [
" n o n e ",
" b o t h ",
" o u t ",
" i n "
]
}
},
{
" n a m e ": " w h i s p e r ",
" d e s c r i p t i o n ": " D i r e c t i o n o f a u d i o t o w h i s p e r i n t o ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
2013-11-23 12:40:46 +00:00
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g ",
" d e f a u l t V a l u e ": " n o n e ",
" a l l o w a b l e V a l u e s ": {
" v a l u e T y p e ": " L I S T ",
" v a l u e s ": [
" n o n e ",
" b o t h ",
" o u t ",
" i n "
]
}
},
{
" n a m e ": " a p p ",
" d e s c r i p t i o n ": " A p p l i c a t i o n t h e s n o o p i n g c h a n n e l i s p l a c e d i n t o ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": true,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
},
{
" n a m e ": " a p p A r g s ",
" d e s c r i p t i o n ": " T h e a p p l i c a t i o n a r g u m e n t s t o p a s s t o t h e S t a s i s a p p l i c a t i o n ",
" p a r a m T y p e ": " q u e r y ",
" r e q u i r e d ": false,
" a l l o w M u l t i p l e ": false,
" d a t a T y p e ": " s t r i n g "
}
],
" e r r o r R e s p o n s e s ": [
{
" c o d e ": 400,
" r e a s o n ": " I n v a l i d p a r a m e t e r s "
},
{
" c o d e ": 404,
" r e a s o n ": " C h a n n e l n o t f o u n d "
}
]
}
]
2013-04-22 14:58:53 +00:00
}
],
" m o d e l s ": {
" D i a l e d ": {
" i d ": " D i a l e d ",
2013-07-03 16:32:41 +00:00
" d e s c r i p t i o n ": " D i a l e d c h a n n e l i n f o r m a t i o n . ",
2013-04-22 14:58:53 +00:00
" p r o p e r t i e s ": {}
},
" D i a l p l a n C E P ": {
" i d ": " D i a l p l a n C E P ",
2013-07-03 16:32:41 +00:00
" d e s c r i p t i o n ": " D i a l p l a n l o c a t i o n ( c o n t e x t / e x t e n s i o n / p r i o r i t y ) ",
2013-04-22 14:58:53 +00:00
" p r o p e r t i e s ": {
" c o n t e x t ": {
" r e q u i r e d ": true,
" t y p e ": " s t r i n g ",
" d e s c r i p t i o n ": " C o n t e x t i n t h e d i a l p l a n "
},
" e x t e n ": {
" r e q u i r e d ": true,
" t y p e ": " s t r i n g ",
" d e s c r i p t i o n ": " E x t e n s i o n i n t h e d i a l p l a n "
},
" p r i o r i t y ": {
" r e q u i r e d ": true,
" t y p e ": " l o n g ",
" d e s c r i p t i o n ": " P r i o r i t y i n t h e d i a l p l a n "
}
}
},
" C a l l e r I D ": {
" i d ": " C a l l e r I D ",
2013-07-03 16:32:41 +00:00
" d e s c r i p t i o n ": " C a l l e r i d e n t i f i c a t i o n ",
2013-04-22 14:58:53 +00:00
" p r o p e r t i e s ": {
" n a m e ": {
" r e q u i r e d ": true,
" t y p e ": " s t r i n g "
},
" n u m b e r ": {
" r e q u i r e d ": true,
" t y p e ": " s t r i n g "
}
}
},
" C h a n n e l ": {
" i d ": " C h a n n e l ",
2013-07-03 16:32:41 +00:00
" d e s c r i p t i o n ": " A s p e c i f i c c o m m u n i c a t i o n c o n n e c t i o n b e t w e e n A s t e r i s k a n d a n E n d p o i n t . ",
2013-04-22 14:58:53 +00:00
" p r o p e r t i e s ": {
2013-07-03 16:32:41 +00:00
" i d ": {
2013-04-22 14:58:53 +00:00
" r e q u i r e d ": true,
" t y p e ": " s t r i n g ",
2013-07-03 16:32:41 +00:00
" d e s c r i p t i o n ": " U n i q u e i d e n t i f i e r o f t h e c h a n n e l . \ n \ n T h i s i s t h e s a m e a s t h e U n i q u e i d f i e l d i n A M I . "
2013-04-22 14:58:53 +00:00
},
" n a m e ": {
" r e q u i r e d ": true,
" t y p e ": " s t r i n g ",
" d e s c r i p t i o n ": " N a m e o f t h e c h a n n e l ( i . e . S I P / f o o -0 0 0 0 a 7e3 ) "
},
" s t a t e ": {
" r e q u i r e d ": true,
2013-07-03 16:32:41 +00:00
" t y p e ": " s t r i n g ",
" a l l o w a b l e V a l u e s ": {
" v a l u e T y p e ": " L I S T ",
" v a l u e s ": [
" D o w n ",
" R s r v e d ",
" O f f H o o k ",
" D i a l i n g ",
" R i n g ",
" R i n g i n g ",
" U p ",
" B u s y ",
" D i a l i n g O f f h o o k ",
" P r e - r i n g ",
" U n k n o w n "
]
}
2013-04-22 14:58:53 +00:00
},
2013-07-03 16:32:41 +00:00
" c a l l e r ": {
2013-04-22 14:58:53 +00:00
" r e q u i r e d ": true,
2013-07-03 16:32:41 +00:00
" t y p e ": " C a l l e r I D "
2013-04-22 14:58:53 +00:00
},
2013-07-03 16:32:41 +00:00
" c o n n e c t e d ": {
2013-04-22 14:58:53 +00:00
" r e q u i r e d ": true,
2013-07-03 16:32:41 +00:00
" t y p e ": " C a l l e r I D "
2013-04-22 14:58:53 +00:00
},
2013-07-03 16:32:41 +00:00
" a c c o u n t c o d e ": {
2013-04-22 14:58:53 +00:00
" r e q u i r e d ": true,
" t y p e ": " s t r i n g "
},
" d i a l p l a n ": {
" r e q u i r e d ": true,
" t y p e ": " D i a l p l a n C E P ",
" d e s c r i p t i o n ": " C u r r e n t l o c a t i o n i n t h e d i a l p l a n "
},
" c r e a t i o n t i m e ": {
" r e q u i r e d ": true,
" t y p e ": " D a t e ",
" d e s c r i p t i o n ": " T i m e s t a m p w h e n c h a n n e l w a s c r e a t e d "
2014-12-09 20:19:40 +00:00
},
" l a n g u a g e ": {
" r e q u i r e d ": true,
" t y p e ": " s t r i n g ",
" d e s c r i p t i o n ": " T h e d e f a u l t s p o k e n l a n g u a g e "
2013-04-22 14:58:53 +00:00
}
}
}
}
}