mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
docs: Add version information to ARI resources and methods.
* Dump a git blame of each file in rest-api/api-docs. * Get the commit for each "resourcePath" and "httpMethod" entry. * Find the tags for each commit (same as other processes). * Insert a "since" array after each "resourcePath" and "httpMethod" entry.
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
"swaggerVersion": "1.2",
|
||||
"basePath": "http://localhost:8088/ari",
|
||||
"resourcePath": "/api-docs/events.{format}",
|
||||
"since": [
|
||||
"12.0.0"
|
||||
],
|
||||
"requiresModules": [
|
||||
"res_http_websocket"
|
||||
],
|
||||
@@ -16,6 +19,9 @@
|
||||
"operations": [
|
||||
{
|
||||
"httpMethod": "GET",
|
||||
"since": [
|
||||
"12.0.0"
|
||||
],
|
||||
"upgrade": "websocket",
|
||||
"websocketProtocol": "ari",
|
||||
"summary": "WebSocket connection for events.",
|
||||
@@ -48,6 +54,9 @@
|
||||
"operations": [
|
||||
{
|
||||
"httpMethod": "POST",
|
||||
"since": [
|
||||
"12.3.0"
|
||||
],
|
||||
"summary": "Generate a user event.",
|
||||
"nickname": "userEvent",
|
||||
"responseClass": "void",
|
||||
|
Reference in New Issue
Block a user