mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +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.
(cherry picked from commit dcf5ac0474
)
This commit is contained in:
committed by
Asterisk Development Team
parent
ee0a50e749
commit
1c3075ad9e
@@ -6,6 +6,9 @@
|
||||
"swaggerVersion": "1.1",
|
||||
"basePath": "http://localhost:8088/ari",
|
||||
"resourcePath": "/api-docs/playbacks.{format}",
|
||||
"since": [
|
||||
"12.0.0"
|
||||
],
|
||||
"requiresModules": [
|
||||
"res_stasis_playback"
|
||||
],
|
||||
@@ -16,6 +19,9 @@
|
||||
"operations": [
|
||||
{
|
||||
"httpMethod": "GET",
|
||||
"since": [
|
||||
"12.0.0"
|
||||
],
|
||||
"summary": "Get a playback's details.",
|
||||
"nickname": "get",
|
||||
"responseClass": "Playback",
|
||||
@@ -38,6 +44,9 @@
|
||||
},
|
||||
{
|
||||
"httpMethod": "DELETE",
|
||||
"since": [
|
||||
"12.0.0"
|
||||
],
|
||||
"summary": "Stop a playback.",
|
||||
"nickname": "stop",
|
||||
"responseClass": "void",
|
||||
@@ -66,6 +75,9 @@
|
||||
"operations": [
|
||||
{
|
||||
"httpMethod": "POST",
|
||||
"since": [
|
||||
"12.0.0"
|
||||
],
|
||||
"summary": "Control a playback.",
|
||||
"nickname": "control",
|
||||
"responseClass": "void",
|
||||
|
Reference in New Issue
Block a user