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:
George Joseph
2025-01-27 08:30:40 -07:00
committed by asterisk-org-access-app[bot]
parent db8ae1912d
commit dfc8652b55
11 changed files with 342 additions and 0 deletions

View File

@@ -6,6 +6,9 @@
"swaggerVersion": "1.1",
"basePath": "http://localhost:8088/ari",
"resourcePath": "/api-docs/deviceStates.{format}",
"since": [
"12.0.0"
],
"requiresModules": [
"res_stasis_device_state"
],
@@ -16,6 +19,9 @@
"operations": [
{
"httpMethod": "GET",
"since": [
"12.0.0"
],
"summary": "List all ARI controlled device states.",
"nickname": "list",
"responseClass": "List[DeviceState]"
@@ -28,6 +34,9 @@
"operations": [
{
"httpMethod": "GET",
"since": [
"12.0.0"
],
"summary": "Retrieve the current state of a device.",
"nickname": "get",
"responseClass": "DeviceState",
@@ -44,6 +53,9 @@
},
{
"httpMethod": "PUT",
"since": [
"12.0.0"
],
"summary": "Change the state of a device controlled by ARI. (Note - implicitly creates the device state).",
"nickname": "update",
"responseClass": "void",
@@ -92,6 +104,9 @@
},
{
"httpMethod": "DELETE",
"since": [
"12.0.0"
],
"summary": "Destroy a device-state controlled by ARI.",
"nickname": "delete",
"responseClass": "void",