@grafana/openapi 13.0.0-23534653043 → 13.0.0-23534872879

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -921,11 +921,324 @@
921
921
  }
922
922
  ]
923
923
  },
924
- "/datasources/{name}/resource": {
924
+ "/datasources/{name}/resources": {
925
925
  "get": {
926
926
  "tags": ["DataSource"],
927
- "description": "Get resources in the datasource plugin. NOTE, additional routes may exist, but are not exposed via OpenAPI",
928
- "operationId": "getDataSourceResource",
927
+ "description": "connect GET requests to resources of DataSource",
928
+ "operationId": "getDataSourceResources",
929
+ "responses": {
930
+ "200": {
931
+ "description": "OK",
932
+ "content": {
933
+ "*/*": {
934
+ "schema": {
935
+ "type": "string"
936
+ }
937
+ }
938
+ }
939
+ }
940
+ },
941
+ "x-kubernetes-action": "connect",
942
+ "x-kubernetes-group-version-kind": {
943
+ "group": "grafana-testdata-datasource.datasource.grafana.app",
944
+ "kind": "Status",
945
+ "version": "v0alpha1"
946
+ }
947
+ },
948
+ "put": {
949
+ "tags": ["DataSource"],
950
+ "description": "connect PUT requests to resources of DataSource",
951
+ "operationId": "replaceDataSourceResources",
952
+ "responses": {
953
+ "200": {
954
+ "description": "OK",
955
+ "content": {
956
+ "*/*": {
957
+ "schema": {
958
+ "type": "string"
959
+ }
960
+ }
961
+ }
962
+ }
963
+ },
964
+ "x-kubernetes-action": "connect",
965
+ "x-kubernetes-group-version-kind": {
966
+ "group": "grafana-testdata-datasource.datasource.grafana.app",
967
+ "kind": "Status",
968
+ "version": "v0alpha1"
969
+ }
970
+ },
971
+ "post": {
972
+ "tags": ["DataSource"],
973
+ "description": "connect POST requests to resources of DataSource",
974
+ "operationId": "createDataSourceResources",
975
+ "responses": {
976
+ "200": {
977
+ "description": "OK",
978
+ "content": {
979
+ "*/*": {
980
+ "schema": {
981
+ "type": "string"
982
+ }
983
+ }
984
+ }
985
+ }
986
+ },
987
+ "x-kubernetes-action": "connect",
988
+ "x-kubernetes-group-version-kind": {
989
+ "group": "grafana-testdata-datasource.datasource.grafana.app",
990
+ "kind": "Status",
991
+ "version": "v0alpha1"
992
+ }
993
+ },
994
+ "delete": {
995
+ "tags": ["DataSource"],
996
+ "description": "connect DELETE requests to resources of DataSource",
997
+ "operationId": "deleteDataSourceResources",
998
+ "responses": {
999
+ "200": {
1000
+ "description": "OK",
1001
+ "content": {
1002
+ "*/*": {
1003
+ "schema": {
1004
+ "type": "string"
1005
+ }
1006
+ }
1007
+ }
1008
+ }
1009
+ },
1010
+ "x-kubernetes-action": "connect",
1011
+ "x-kubernetes-group-version-kind": {
1012
+ "group": "grafana-testdata-datasource.datasource.grafana.app",
1013
+ "kind": "Status",
1014
+ "version": "v0alpha1"
1015
+ }
1016
+ },
1017
+ "options": {
1018
+ "tags": ["DataSource"],
1019
+ "description": "connect OPTIONS requests to resources of DataSource",
1020
+ "operationId": "optionsDataSourceResources",
1021
+ "responses": {
1022
+ "200": {
1023
+ "description": "OK",
1024
+ "content": {
1025
+ "*/*": {
1026
+ "schema": {
1027
+ "type": "string"
1028
+ }
1029
+ }
1030
+ }
1031
+ }
1032
+ },
1033
+ "x-kubernetes-action": "connect",
1034
+ "x-kubernetes-group-version-kind": {
1035
+ "group": "grafana-testdata-datasource.datasource.grafana.app",
1036
+ "kind": "Status",
1037
+ "version": "v0alpha1"
1038
+ }
1039
+ },
1040
+ "head": {
1041
+ "tags": ["DataSource"],
1042
+ "description": "connect HEAD requests to resources of DataSource",
1043
+ "operationId": "headDataSourceResources",
1044
+ "responses": {
1045
+ "200": {
1046
+ "description": "OK",
1047
+ "content": {
1048
+ "*/*": {
1049
+ "schema": {
1050
+ "type": "string"
1051
+ }
1052
+ }
1053
+ }
1054
+ }
1055
+ },
1056
+ "x-kubernetes-action": "connect",
1057
+ "x-kubernetes-group-version-kind": {
1058
+ "group": "grafana-testdata-datasource.datasource.grafana.app",
1059
+ "kind": "Status",
1060
+ "version": "v0alpha1"
1061
+ }
1062
+ },
1063
+ "patch": {
1064
+ "tags": ["DataSource"],
1065
+ "description": "connect PATCH requests to resources of DataSource",
1066
+ "operationId": "updateDataSourceResources",
1067
+ "responses": {
1068
+ "200": {
1069
+ "description": "OK",
1070
+ "content": {
1071
+ "*/*": {
1072
+ "schema": {
1073
+ "type": "string"
1074
+ }
1075
+ }
1076
+ }
1077
+ }
1078
+ },
1079
+ "x-kubernetes-action": "connect",
1080
+ "x-kubernetes-group-version-kind": {
1081
+ "group": "grafana-testdata-datasource.datasource.grafana.app",
1082
+ "kind": "Status",
1083
+ "version": "v0alpha1"
1084
+ }
1085
+ },
1086
+ "parameters": [
1087
+ {
1088
+ "name": "name",
1089
+ "in": "path",
1090
+ "description": "name of the Status",
1091
+ "required": true,
1092
+ "schema": {
1093
+ "type": "string",
1094
+ "uniqueItems": true
1095
+ }
1096
+ }
1097
+ ]
1098
+ },
1099
+ "/datasources/{name}/resources/{path}": {
1100
+ "get": {
1101
+ "tags": ["DataSource"],
1102
+ "description": "connect GET requests to resources of DataSource",
1103
+ "operationId": "getDataSourceResourcesWithPath",
1104
+ "responses": {
1105
+ "200": {
1106
+ "description": "OK",
1107
+ "content": {
1108
+ "*/*": {
1109
+ "schema": {
1110
+ "type": "string"
1111
+ }
1112
+ }
1113
+ }
1114
+ }
1115
+ },
1116
+ "x-kubernetes-action": "connect",
1117
+ "x-kubernetes-group-version-kind": {
1118
+ "group": "grafana-testdata-datasource.datasource.grafana.app",
1119
+ "kind": "Status",
1120
+ "version": "v0alpha1"
1121
+ }
1122
+ },
1123
+ "put": {
1124
+ "tags": ["DataSource"],
1125
+ "description": "connect PUT requests to resources of DataSource",
1126
+ "operationId": "replaceDataSourceResourcesWithPath",
1127
+ "responses": {
1128
+ "200": {
1129
+ "description": "OK",
1130
+ "content": {
1131
+ "*/*": {
1132
+ "schema": {
1133
+ "type": "string"
1134
+ }
1135
+ }
1136
+ }
1137
+ }
1138
+ },
1139
+ "x-kubernetes-action": "connect",
1140
+ "x-kubernetes-group-version-kind": {
1141
+ "group": "grafana-testdata-datasource.datasource.grafana.app",
1142
+ "kind": "Status",
1143
+ "version": "v0alpha1"
1144
+ }
1145
+ },
1146
+ "post": {
1147
+ "tags": ["DataSource"],
1148
+ "description": "connect POST requests to resources of DataSource",
1149
+ "operationId": "createDataSourceResourcesWithPath",
1150
+ "responses": {
1151
+ "200": {
1152
+ "description": "OK",
1153
+ "content": {
1154
+ "*/*": {
1155
+ "schema": {
1156
+ "type": "string"
1157
+ }
1158
+ }
1159
+ }
1160
+ }
1161
+ },
1162
+ "x-kubernetes-action": "connect",
1163
+ "x-kubernetes-group-version-kind": {
1164
+ "group": "grafana-testdata-datasource.datasource.grafana.app",
1165
+ "kind": "Status",
1166
+ "version": "v0alpha1"
1167
+ }
1168
+ },
1169
+ "delete": {
1170
+ "tags": ["DataSource"],
1171
+ "description": "connect DELETE requests to resources of DataSource",
1172
+ "operationId": "deleteDataSourceResourcesWithPath",
1173
+ "responses": {
1174
+ "200": {
1175
+ "description": "OK",
1176
+ "content": {
1177
+ "*/*": {
1178
+ "schema": {
1179
+ "type": "string"
1180
+ }
1181
+ }
1182
+ }
1183
+ }
1184
+ },
1185
+ "x-kubernetes-action": "connect",
1186
+ "x-kubernetes-group-version-kind": {
1187
+ "group": "grafana-testdata-datasource.datasource.grafana.app",
1188
+ "kind": "Status",
1189
+ "version": "v0alpha1"
1190
+ }
1191
+ },
1192
+ "options": {
1193
+ "tags": ["DataSource"],
1194
+ "description": "connect OPTIONS requests to resources of DataSource",
1195
+ "operationId": "optionsDataSourceResourcesWithPath",
1196
+ "responses": {
1197
+ "200": {
1198
+ "description": "OK",
1199
+ "content": {
1200
+ "*/*": {
1201
+ "schema": {
1202
+ "type": "string"
1203
+ }
1204
+ }
1205
+ }
1206
+ }
1207
+ },
1208
+ "x-kubernetes-action": "connect",
1209
+ "x-kubernetes-group-version-kind": {
1210
+ "group": "grafana-testdata-datasource.datasource.grafana.app",
1211
+ "kind": "Status",
1212
+ "version": "v0alpha1"
1213
+ }
1214
+ },
1215
+ "head": {
1216
+ "tags": ["DataSource"],
1217
+ "description": "connect HEAD requests to resources of DataSource",
1218
+ "operationId": "headDataSourceResourcesWithPath",
1219
+ "responses": {
1220
+ "200": {
1221
+ "description": "OK",
1222
+ "content": {
1223
+ "*/*": {
1224
+ "schema": {
1225
+ "type": "string"
1226
+ }
1227
+ }
1228
+ }
1229
+ }
1230
+ },
1231
+ "x-kubernetes-action": "connect",
1232
+ "x-kubernetes-group-version-kind": {
1233
+ "group": "grafana-testdata-datasource.datasource.grafana.app",
1234
+ "kind": "Status",
1235
+ "version": "v0alpha1"
1236
+ }
1237
+ },
1238
+ "patch": {
1239
+ "tags": ["DataSource"],
1240
+ "description": "connect PATCH requests to resources of DataSource",
1241
+ "operationId": "updateDataSourceResourcesWithPath",
929
1242
  "responses": {
930
1243
  "200": {
931
1244
  "description": "OK",
@@ -955,6 +1268,16 @@
955
1268
  "type": "string",
956
1269
  "uniqueItems": true
957
1270
  }
1271
+ },
1272
+ {
1273
+ "name": "path",
1274
+ "in": "path",
1275
+ "description": "path to the resource",
1276
+ "required": true,
1277
+ "schema": {
1278
+ "type": "string",
1279
+ "uniqueItems": true
1280
+ }
958
1281
  }
959
1282
  ]
960
1283
  },
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Grafana Labs",
3
3
  "license": "Apache-2.0",
4
4
  "name": "@grafana/openapi",
5
- "version": "13.0.0-23534653043",
5
+ "version": "13.0.0-23534872879",
6
6
  "description": "Grafana OpenApi Library",
7
7
  "keywords": [
8
8
  "grafana",