Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,19 @@
"swaggerVersion": "1.1",
"basePath": "http://localhost:8088/ari",
"resourcePath": "/api-docs/applications.{format}",
"since": [
"13.0.0"
],
"apis": [
{
"path": "/applications",
"description": "Stasis applications",
"operations": [
{
"httpMethod": "GET",
"since": [
"13.0.0"
],
"summary": "List all applications.",
"nickname": "list",
"responseClass": "List[Application]"
Expand All @@ -25,6 +31,9 @@
"operations": [
{
"httpMethod": "GET",
"since": [
"13.0.0"
],
"summary": "Get details of an application.",
"nickname": "get",
"responseClass": "Application",
Expand Down Expand Up @@ -53,6 +62,9 @@
"operations": [
{
"httpMethod": "POST",
"since": [
"13.0.0"
],
"summary": "Subscribe an application to a event source.",
"notes": "Returns the state of the application after the subscriptions have changed",
"nickname": "subscribe",
Expand Down Expand Up @@ -92,6 +104,9 @@
},
{
"httpMethod": "DELETE",
"since": [
"13.0.0"
],
"summary": "Unsubscribe an application from an event source.",
"notes": "Returns the state of the application after the subscriptions have changed",
"nickname": "unsubscribe",
Expand Down Expand Up @@ -141,6 +156,10 @@
"operations": [
{
"httpMethod": "PUT",
"since": [
"13.26.0",
"16.3.0"
],
"summary": "Filter application events types.",
"notes": "Allowed and/or disallowed event type filtering can be done. The body (parameter) should specify a JSON key/value object that describes the type of event filtering needed. One, or both of the following keys can be designated:<br /><br />\"allowed\" - Specifies an allowed list of event types<br />\"disallowed\" - Specifies a disallowed list of event types<br /><br />Further, each of those key's value should be a JSON array that holds zero, or more JSON key/value objects. Each of these objects must contain the following key with an associated value:<br /><br />\"type\" - The type name of the event to filter<br /><br />The value must be the string name (case sensitive) of the event type that needs filtering. For example:<br /><br />{ \"allowed\": [ { \"type\": \"StasisStart\" }, { \"type\": \"StasisEnd\" } ] }<br /><br />As this specifies only an allowed list, then only those two event type messages are sent to the application. No other event messages are sent.<br /><br />The following rules apply:<br /><br />* If the body is empty, both the allowed and disallowed filters are set empty.<br />* If both list types are given then both are set to their respective values (note, specifying an empty array for a given type sets that type to empty).<br />* If only one list type is given then only that type is set. The other type is not updated.<br />* An empty \"allowed\" list means all events are allowed.<br />* An empty \"disallowed\" list means no events are disallowed.<br />* Disallowed events take precedence over allowed events if the event type is specified in both lists.",
"nickname": "filter",
Expand Down
52 changes: 52 additions & 0 deletions codegen/src/main/resources/codegen-data/ari_10_0_0/asterisk.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,19 @@
"swaggerVersion": "1.1",
"basePath": "http://localhost:8088/ari",
"resourcePath": "/api-docs/asterisk.{format}",
"since": [
"12.0.0"
],
"apis": [
{
"path": "/asterisk/config/dynamic/{configClass}/{objectType}/{id}",
"description": "Asterisk dynamic configuration",
"operations": [
{
"httpMethod": "GET",
"since": [
"13.5.0"
],
"summary": "Retrieve a dynamic configuration object.",
"nickname": "getObject",
"responseClass": "List[ConfigTuple]",
Expand Down Expand Up @@ -51,6 +57,9 @@
},
{
"httpMethod": "PUT",
"since": [
"13.5.0"
],
"summary": "Create or update a dynamic configuration object.",
"nickname": "updateObject",
"responseClass": "List[ConfigTuple]",
Expand Down Expand Up @@ -105,6 +114,9 @@
},
{
"httpMethod": "DELETE",
"since": [
"13.5.0"
],
"summary": "Delete a dynamic configuration object.",
"nickname": "deleteObject",
"responseClass": "void",
Expand Down Expand Up @@ -153,6 +165,9 @@
"operations": [
{
"httpMethod": "GET",
"since": [
"12.0.0"
],
"summary": "Gets Asterisk system information.",
"nickname": "getInfo",
"responseClass": "AsteriskInfo",
Expand Down Expand Up @@ -184,6 +199,10 @@
"operations": [
{
"httpMethod": "GET",
"since": [
"13.25.0",
"16.2.0"
],
"summary": "Response pong message.",
"nickname": "ping",
"responseClass": "AsteriskPing"
Expand All @@ -196,6 +215,9 @@
"operations": [
{
"httpMethod": "GET",
"since": [
"13.5.0"
],
"summary": "List Asterisk modules.",
"nickname": "listModules",
"responseClass": "List[Module]"
Expand All @@ -208,6 +230,9 @@
"operations": [
{
"httpMethod": "GET",
"since": [
"13.5.0"
],
"summary": "Get Asterisk module information.",
"nickname": "getModule",
"responseClass": "Module",
Expand All @@ -234,6 +259,9 @@
},
{
"httpMethod": "POST",
"since": [
"13.5.0"
],
"summary": "Load an Asterisk module.",
"nickname": "loadModule",
"responseClass": "void",
Expand All @@ -256,6 +284,9 @@
},
{
"httpMethod": "DELETE",
"since": [
"13.5.0"
],
"summary": "Unload an Asterisk module.",
"nickname": "unloadModule",
"responseClass": "void",
Expand All @@ -282,6 +313,9 @@
},
{
"httpMethod": "PUT",
"since": [
"13.5.0"
],
"summary": "Reload an Asterisk module.",
"nickname": "reloadModule",
"responseClass": "void",
Expand Down Expand Up @@ -314,6 +348,9 @@
"operations": [
{
"httpMethod": "GET",
"since": [
"13.6.0"
],
"summary": "Gets Asterisk log channel information.",
"nickname": "listLogChannels",
"responseClass": "List[LogChannel]"
Expand All @@ -326,6 +363,9 @@
"operations": [
{
"httpMethod": "POST",
"since": [
"13.6.0"
],
"summary": "Adds a log channel.",
"nickname": "addLog",
"responseClass": "void",
Expand Down Expand Up @@ -360,6 +400,9 @@
},
{
"httpMethod": "DELETE",
"since": [
"13.6.0"
],
"summary": "Deletes a log channel.",
"nickname": "deleteLog",
"responseClass": "void",
Expand Down Expand Up @@ -388,6 +431,9 @@
"operations": [
{
"httpMethod": "PUT",
"since": [
"13.6.0"
],
"summary": "Rotates a log channel.",
"nickname": "rotateLog",
"responseClass": "void",
Expand Down Expand Up @@ -416,6 +462,9 @@
"operations": [
{
"httpMethod": "GET",
"since": [
"12.0.0"
],
"summary": "Get the value of a global variable.",
"nickname": "getGlobalVar",
"responseClass": "Variable",
Expand All @@ -438,6 +487,9 @@
},
{
"httpMethod": "POST",
"since": [
"12.0.0"
],
"summary": "Set the value of a global variable.",
"nickname": "setGlobalVar",
"responseClass": "void",
Expand Down
Loading