Reporting: update swagger with deprecations (#96008)

pull/96029/head
Ryan McKinley 7 months ago committed by GitHub
parent b87c76ad21
commit 6c9afba607
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 9
      public/api-enterprise-spec.json
  2. 9
      public/api-merged.json
  3. 9
      public/openapi3.json

@ -2119,13 +2119,14 @@
},
"/reports/{id}": {
"get": {
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports:read` with scope `reports:id:\u003creport ID\u003e`.",
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports:read` with scope `reports:id:\u003creport ID\u003e`.\n\nRequesting reports using the internal id will stop workgin in the future\nUse the reporting apiserver to manage reports. See: /apis/reporting.grafana.app/",
"tags": [
"reports",
"enterprise"
],
"summary": "Get a report.",
"operationId": "getReport",
"deprecated": true,
"parameters": [
{
"type": "integer",
@ -2157,13 +2158,14 @@
}
},
"put": {
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports.admin:write` with scope `reports:id:\u003creport ID\u003e`.",
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports.admin:write` with scope `reports:id:\u003creport ID\u003e`.\n\nRequesting reports using the internal id will stop workgin in the future\nUse the reporting apiserver to manage reports. See: /apis/reporting.grafana.app/",
"tags": [
"reports",
"enterprise"
],
"summary": "Update a report.",
"operationId": "updateReport",
"deprecated": true,
"parameters": [
{
"name": "body",
@ -2203,13 +2205,14 @@
}
},
"delete": {
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports.delete` with scope `reports:id:\u003creport ID\u003e`.",
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports.delete` with scope `reports:id:\u003creport ID\u003e`.\n\nRequesting reports using the internal id will stop workgin in the future\nUse the reporting apiserver to manage reports. See: /apis/reporting.grafana.app/",
"tags": [
"reports",
"enterprise"
],
"summary": "Delete a report.",
"operationId": "deleteReport",
"deprecated": true,
"parameters": [
{
"type": "integer",

@ -8511,13 +8511,14 @@
},
"/reports/{id}": {
"get": {
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports:read` with scope `reports:id:\u003creport ID\u003e`.",
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports:read` with scope `reports:id:\u003creport ID\u003e`.\n\nRequesting reports using the internal id will stop workgin in the future\nUse the reporting apiserver to manage reports. See: /apis/reporting.grafana.app/",
"tags": [
"reports",
"enterprise"
],
"summary": "Get a report.",
"operationId": "getReport",
"deprecated": true,
"parameters": [
{
"type": "integer",
@ -8549,13 +8550,14 @@
}
},
"put": {
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports.admin:write` with scope `reports:id:\u003creport ID\u003e`.",
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports.admin:write` with scope `reports:id:\u003creport ID\u003e`.\n\nRequesting reports using the internal id will stop workgin in the future\nUse the reporting apiserver to manage reports. See: /apis/reporting.grafana.app/",
"tags": [
"reports",
"enterprise"
],
"summary": "Update a report.",
"operationId": "updateReport",
"deprecated": true,
"parameters": [
{
"name": "body",
@ -8595,13 +8597,14 @@
}
},
"delete": {
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports.delete` with scope `reports:id:\u003creport ID\u003e`.",
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports.delete` with scope `reports:id:\u003creport ID\u003e`.\n\nRequesting reports using the internal id will stop workgin in the future\nUse the reporting apiserver to manage reports. See: /apis/reporting.grafana.app/",
"tags": [
"reports",
"enterprise"
],
"summary": "Delete a report.",
"operationId": "deleteReport",
"deprecated": true,
"parameters": [
{
"type": "integer",

@ -22432,7 +22432,8 @@
},
"/reports/{id}": {
"delete": {
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports.delete` with scope `reports:id:\u003creport ID\u003e`.",
"deprecated": true,
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports.delete` with scope `reports:id:\u003creport ID\u003e`.\n\nRequesting reports using the internal id will stop workgin in the future\nUse the reporting apiserver to manage reports. See: /apis/reporting.grafana.app/",
"operationId": "deleteReport",
"parameters": [
{
@ -22472,7 +22473,8 @@
]
},
"get": {
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports:read` with scope `reports:id:\u003creport ID\u003e`.",
"deprecated": true,
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports:read` with scope `reports:id:\u003creport ID\u003e`.\n\nRequesting reports using the internal id will stop workgin in the future\nUse the reporting apiserver to manage reports. See: /apis/reporting.grafana.app/",
"operationId": "getReport",
"parameters": [
{
@ -22512,7 +22514,8 @@
]
},
"put": {
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports.admin:write` with scope `reports:id:\u003creport ID\u003e`.",
"deprecated": true,
"description": "Available to org admins only and with a valid or expired license.\n\nYou need to have a permission with action `reports.admin:write` with scope `reports:id:\u003creport ID\u003e`.\n\nRequesting reports using the internal id will stop workgin in the future\nUse the reporting apiserver to manage reports. See: /apis/reporting.grafana.app/",
"operationId": "updateReport",
"parameters": [
{

Loading…
Cancel
Save