Skip to content

Commit 49ff77d

Browse files
guss77github-actions[bot]
authored andcommitted
ARI API Updates
1 parent 7a84497 commit 49ff77d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+8806
-7
lines changed

codegen/src/main/resources/codegen-data/ari_10_0_0/applications.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,19 @@
66
"swaggerVersion": "1.1",
77
"basePath": "http://localhost:8088/ari",
88
"resourcePath": "/api-docs/applications.{format}",
9+
"since": [
10+
"13.0.0"
11+
],
912
"apis": [
1013
{
1114
"path": "/applications",
1215
"description": "Stasis applications",
1316
"operations": [
1417
{
1518
"httpMethod": "GET",
19+
"since": [
20+
"13.0.0"
21+
],
1622
"summary": "List all applications.",
1723
"nickname": "list",
1824
"responseClass": "List[Application]"
@@ -25,6 +31,9 @@
2531
"operations": [
2632
{
2733
"httpMethod": "GET",
34+
"since": [
35+
"13.0.0"
36+
],
2837
"summary": "Get details of an application.",
2938
"nickname": "get",
3039
"responseClass": "Application",
@@ -53,6 +62,9 @@
5362
"operations": [
5463
{
5564
"httpMethod": "POST",
65+
"since": [
66+
"13.0.0"
67+
],
5668
"summary": "Subscribe an application to a event source.",
5769
"notes": "Returns the state of the application after the subscriptions have changed",
5870
"nickname": "subscribe",
@@ -92,6 +104,9 @@
92104
},
93105
{
94106
"httpMethod": "DELETE",
107+
"since": [
108+
"13.0.0"
109+
],
95110
"summary": "Unsubscribe an application from an event source.",
96111
"notes": "Returns the state of the application after the subscriptions have changed",
97112
"nickname": "unsubscribe",
@@ -141,6 +156,10 @@
141156
"operations": [
142157
{
143158
"httpMethod": "PUT",
159+
"since": [
160+
"13.26.0",
161+
"16.3.0"
162+
],
144163
"summary": "Filter application events types.",
145164
"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.",
146165
"nickname": "filter",

codegen/src/main/resources/codegen-data/ari_10_0_0/asterisk.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,19 @@
66
"swaggerVersion": "1.1",
77
"basePath": "http://localhost:8088/ari",
88
"resourcePath": "/api-docs/asterisk.{format}",
9+
"since": [
10+
"12.0.0"
11+
],
912
"apis": [
1013
{
1114
"path": "/asterisk/config/dynamic/{configClass}/{objectType}/{id}",
1215
"description": "Asterisk dynamic configuration",
1316
"operations": [
1417
{
1518
"httpMethod": "GET",
19+
"since": [
20+
"13.5.0"
21+
],
1622
"summary": "Retrieve a dynamic configuration object.",
1723
"nickname": "getObject",
1824
"responseClass": "List[ConfigTuple]",
@@ -51,6 +57,9 @@
5157
},
5258
{
5359
"httpMethod": "PUT",
60+
"since": [
61+
"13.5.0"
62+
],
5463
"summary": "Create or update a dynamic configuration object.",
5564
"nickname": "updateObject",
5665
"responseClass": "List[ConfigTuple]",
@@ -105,6 +114,9 @@
105114
},
106115
{
107116
"httpMethod": "DELETE",
117+
"since": [
118+
"13.5.0"
119+
],
108120
"summary": "Delete a dynamic configuration object.",
109121
"nickname": "deleteObject",
110122
"responseClass": "void",
@@ -153,6 +165,9 @@
153165
"operations": [
154166
{
155167
"httpMethod": "GET",
168+
"since": [
169+
"12.0.0"
170+
],
156171
"summary": "Gets Asterisk system information.",
157172
"nickname": "getInfo",
158173
"responseClass": "AsteriskInfo",
@@ -184,6 +199,10 @@
184199
"operations": [
185200
{
186201
"httpMethod": "GET",
202+
"since": [
203+
"13.25.0",
204+
"16.2.0"
205+
],
187206
"summary": "Response pong message.",
188207
"nickname": "ping",
189208
"responseClass": "AsteriskPing"
@@ -196,6 +215,9 @@
196215
"operations": [
197216
{
198217
"httpMethod": "GET",
218+
"since": [
219+
"13.5.0"
220+
],
199221
"summary": "List Asterisk modules.",
200222
"nickname": "listModules",
201223
"responseClass": "List[Module]"
@@ -208,6 +230,9 @@
208230
"operations": [
209231
{
210232
"httpMethod": "GET",
233+
"since": [
234+
"13.5.0"
235+
],
211236
"summary": "Get Asterisk module information.",
212237
"nickname": "getModule",
213238
"responseClass": "Module",
@@ -234,6 +259,9 @@
234259
},
235260
{
236261
"httpMethod": "POST",
262+
"since": [
263+
"13.5.0"
264+
],
237265
"summary": "Load an Asterisk module.",
238266
"nickname": "loadModule",
239267
"responseClass": "void",
@@ -256,6 +284,9 @@
256284
},
257285
{
258286
"httpMethod": "DELETE",
287+
"since": [
288+
"13.5.0"
289+
],
259290
"summary": "Unload an Asterisk module.",
260291
"nickname": "unloadModule",
261292
"responseClass": "void",
@@ -282,6 +313,9 @@
282313
},
283314
{
284315
"httpMethod": "PUT",
316+
"since": [
317+
"13.5.0"
318+
],
285319
"summary": "Reload an Asterisk module.",
286320
"nickname": "reloadModule",
287321
"responseClass": "void",
@@ -314,6 +348,9 @@
314348
"operations": [
315349
{
316350
"httpMethod": "GET",
351+
"since": [
352+
"13.6.0"
353+
],
317354
"summary": "Gets Asterisk log channel information.",
318355
"nickname": "listLogChannels",
319356
"responseClass": "List[LogChannel]"
@@ -326,6 +363,9 @@
326363
"operations": [
327364
{
328365
"httpMethod": "POST",
366+
"since": [
367+
"13.6.0"
368+
],
329369
"summary": "Adds a log channel.",
330370
"nickname": "addLog",
331371
"responseClass": "void",
@@ -360,6 +400,9 @@
360400
},
361401
{
362402
"httpMethod": "DELETE",
403+
"since": [
404+
"13.6.0"
405+
],
363406
"summary": "Deletes a log channel.",
364407
"nickname": "deleteLog",
365408
"responseClass": "void",
@@ -388,6 +431,9 @@
388431
"operations": [
389432
{
390433
"httpMethod": "PUT",
434+
"since": [
435+
"13.6.0"
436+
],
391437
"summary": "Rotates a log channel.",
392438
"nickname": "rotateLog",
393439
"responseClass": "void",
@@ -416,6 +462,9 @@
416462
"operations": [
417463
{
418464
"httpMethod": "GET",
465+
"since": [
466+
"12.0.0"
467+
],
419468
"summary": "Get the value of a global variable.",
420469
"nickname": "getGlobalVar",
421470
"responseClass": "Variable",
@@ -438,6 +487,9 @@
438487
},
439488
{
440489
"httpMethod": "POST",
490+
"since": [
491+
"12.0.0"
492+
],
441493
"summary": "Set the value of a global variable.",
442494
"nickname": "setGlobalVar",
443495
"responseClass": "void",

0 commit comments

Comments
 (0)