aa9db707c5
Adds the following AMI commands: PUT mailboxes/mailboxName modifies mailbox state and implicitly creates new mailboxes GET mailboxes/mailboxName retrieves a JSON representation of a single mailbox if it exists GET mailboxes retrieves a JSON array of all mailboxes DELETE mailbox/mailboxName deletes a mailbox Note that res_mwi_external must be loaded for these functions to actually do anything. Review: https://reviewboard.asterisk.org/r/3117/ ........ Merged revisions 405553 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@405554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
55 lines
1.2 KiB
JSON
55 lines
1.2 KiB
JSON
{
|
|
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
|
"_author": "David M. Lee, II <dlee@digium.com>",
|
|
"_svn_revision": "$Revision$",
|
|
"apiVersion": "1.0.0",
|
|
"swaggerVersion": "1.1",
|
|
"basePath": "http://localhost:8088/ari",
|
|
"apis": [
|
|
{
|
|
"path": "/api-docs/asterisk.{format}",
|
|
"description": "Asterisk resources"
|
|
},
|
|
{
|
|
"path": "/api-docs/endpoints.{format}",
|
|
"description": "Endpoint resources"
|
|
},
|
|
{
|
|
"path": "/api-docs/channels.{format}",
|
|
"description": "Channel resources"
|
|
},
|
|
{
|
|
"path": "/api-docs/bridges.{format}",
|
|
"description": "Bridge resources"
|
|
},
|
|
{
|
|
"path": "/api-docs/recordings.{format}",
|
|
"description": "Recording resources"
|
|
},
|
|
{
|
|
"path": "/api-docs/sounds.{format}",
|
|
"description": "Sound resources"
|
|
},
|
|
{
|
|
"path": "/api-docs/playbacks.{format}",
|
|
"description": "Playback control resources"
|
|
},
|
|
{
|
|
"path": "/api-docs/deviceStates.{format}",
|
|
"description": "Device state resources"
|
|
},
|
|
{
|
|
"path": "/api-docs/mailboxes.{format}",
|
|
"description": "Mailboxes resources"
|
|
},
|
|
{
|
|
"path": "/api-docs/events.{format}",
|
|
"description": "WebSocket resource"
|
|
},
|
|
{
|
|
"path": "/api-docs/applications.{format}",
|
|
"description": "Stasis application resources"
|
|
}
|
|
]
|
|
}
|