mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-06 05:13:49 +00:00
When a text message was received any associated variable was not written to the ARI TextMessageReceived event. This occurred because Asterisk only wrote out "send" variables. However, even those "send" variables would fail ARI validation due to a TextMessageVariable formatting bug. Since it seems the TextMessageReceived event has never been able to include actual variables it was decided to remove the TextMessageVariable object type from ARI, and simply return a JSON object of key/value pairs for variables. This aligns more with how the ARI sendMessage handles variables, and other places in ARI. That being the case, and since this is technically an API breaking change (no one should really be affected since things never really worked) the ARI version was updated to reflect that. ASTERISK-28755 #close Change-Id: Ia6051c01a53b30cf7edef84c27df4ed4479b8b6f
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": "4.1.2",
|
|
"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"
|
|
}
|
|
]
|
|
}
|