@grafana/openapi 13.0.0-23360290276 → 13.0.0-23360323967
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.
|
@@ -4103,6 +4103,250 @@
|
|
|
4103
4103
|
}
|
|
4104
4104
|
]
|
|
4105
4105
|
},
|
|
4106
|
+
"/users/{name}/status": {
|
|
4107
|
+
"get": {
|
|
4108
|
+
"tags": ["User"],
|
|
4109
|
+
"description": "read status of the specified User",
|
|
4110
|
+
"operationId": "getUserStatus",
|
|
4111
|
+
"responses": {
|
|
4112
|
+
"200": {
|
|
4113
|
+
"description": "OK",
|
|
4114
|
+
"content": {
|
|
4115
|
+
"application/json": {
|
|
4116
|
+
"schema": {
|
|
4117
|
+
"$ref": "#/components/schemas/User"
|
|
4118
|
+
}
|
|
4119
|
+
},
|
|
4120
|
+
"application/yaml": {
|
|
4121
|
+
"schema": {
|
|
4122
|
+
"$ref": "#/components/schemas/User"
|
|
4123
|
+
}
|
|
4124
|
+
}
|
|
4125
|
+
}
|
|
4126
|
+
}
|
|
4127
|
+
},
|
|
4128
|
+
"x-kubernetes-action": "get",
|
|
4129
|
+
"x-kubernetes-group-version-kind": {
|
|
4130
|
+
"group": "iam.grafana.app",
|
|
4131
|
+
"version": "v0alpha1",
|
|
4132
|
+
"kind": "User"
|
|
4133
|
+
}
|
|
4134
|
+
},
|
|
4135
|
+
"put": {
|
|
4136
|
+
"tags": ["User"],
|
|
4137
|
+
"description": "replace status of the specified User",
|
|
4138
|
+
"operationId": "replaceUserStatus",
|
|
4139
|
+
"parameters": [
|
|
4140
|
+
{
|
|
4141
|
+
"name": "dryRun",
|
|
4142
|
+
"in": "query",
|
|
4143
|
+
"description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
|
|
4144
|
+
"schema": {
|
|
4145
|
+
"type": "string",
|
|
4146
|
+
"uniqueItems": true
|
|
4147
|
+
}
|
|
4148
|
+
},
|
|
4149
|
+
{
|
|
4150
|
+
"name": "fieldManager",
|
|
4151
|
+
"in": "query",
|
|
4152
|
+
"description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
|
|
4153
|
+
"schema": {
|
|
4154
|
+
"type": "string",
|
|
4155
|
+
"uniqueItems": true
|
|
4156
|
+
}
|
|
4157
|
+
},
|
|
4158
|
+
{
|
|
4159
|
+
"name": "fieldValidation",
|
|
4160
|
+
"in": "query",
|
|
4161
|
+
"description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
|
|
4162
|
+
"schema": {
|
|
4163
|
+
"type": "string",
|
|
4164
|
+
"uniqueItems": true
|
|
4165
|
+
}
|
|
4166
|
+
}
|
|
4167
|
+
],
|
|
4168
|
+
"requestBody": {
|
|
4169
|
+
"content": {
|
|
4170
|
+
"application/json": {
|
|
4171
|
+
"schema": {
|
|
4172
|
+
"$ref": "#/components/schemas/User"
|
|
4173
|
+
}
|
|
4174
|
+
},
|
|
4175
|
+
"application/yaml": {
|
|
4176
|
+
"schema": {
|
|
4177
|
+
"$ref": "#/components/schemas/User"
|
|
4178
|
+
}
|
|
4179
|
+
}
|
|
4180
|
+
},
|
|
4181
|
+
"required": true
|
|
4182
|
+
},
|
|
4183
|
+
"responses": {
|
|
4184
|
+
"200": {
|
|
4185
|
+
"description": "OK",
|
|
4186
|
+
"content": {
|
|
4187
|
+
"application/json": {
|
|
4188
|
+
"schema": {
|
|
4189
|
+
"$ref": "#/components/schemas/User"
|
|
4190
|
+
}
|
|
4191
|
+
},
|
|
4192
|
+
"application/yaml": {
|
|
4193
|
+
"schema": {
|
|
4194
|
+
"$ref": "#/components/schemas/User"
|
|
4195
|
+
}
|
|
4196
|
+
}
|
|
4197
|
+
}
|
|
4198
|
+
},
|
|
4199
|
+
"201": {
|
|
4200
|
+
"description": "Created",
|
|
4201
|
+
"content": {
|
|
4202
|
+
"application/json": {
|
|
4203
|
+
"schema": {
|
|
4204
|
+
"$ref": "#/components/schemas/User"
|
|
4205
|
+
}
|
|
4206
|
+
},
|
|
4207
|
+
"application/yaml": {
|
|
4208
|
+
"schema": {
|
|
4209
|
+
"$ref": "#/components/schemas/User"
|
|
4210
|
+
}
|
|
4211
|
+
}
|
|
4212
|
+
}
|
|
4213
|
+
}
|
|
4214
|
+
},
|
|
4215
|
+
"x-kubernetes-action": "put",
|
|
4216
|
+
"x-kubernetes-group-version-kind": {
|
|
4217
|
+
"group": "iam.grafana.app",
|
|
4218
|
+
"version": "v0alpha1",
|
|
4219
|
+
"kind": "User"
|
|
4220
|
+
}
|
|
4221
|
+
},
|
|
4222
|
+
"patch": {
|
|
4223
|
+
"tags": ["User"],
|
|
4224
|
+
"description": "partially update status of the specified User",
|
|
4225
|
+
"operationId": "updateUserStatus",
|
|
4226
|
+
"parameters": [
|
|
4227
|
+
{
|
|
4228
|
+
"name": "dryRun",
|
|
4229
|
+
"in": "query",
|
|
4230
|
+
"description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
|
|
4231
|
+
"schema": {
|
|
4232
|
+
"type": "string",
|
|
4233
|
+
"uniqueItems": true
|
|
4234
|
+
}
|
|
4235
|
+
},
|
|
4236
|
+
{
|
|
4237
|
+
"name": "fieldManager",
|
|
4238
|
+
"in": "query",
|
|
4239
|
+
"description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
|
|
4240
|
+
"schema": {
|
|
4241
|
+
"type": "string",
|
|
4242
|
+
"uniqueItems": true
|
|
4243
|
+
}
|
|
4244
|
+
},
|
|
4245
|
+
{
|
|
4246
|
+
"name": "fieldValidation",
|
|
4247
|
+
"in": "query",
|
|
4248
|
+
"description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
|
|
4249
|
+
"schema": {
|
|
4250
|
+
"type": "string",
|
|
4251
|
+
"uniqueItems": true
|
|
4252
|
+
}
|
|
4253
|
+
},
|
|
4254
|
+
{
|
|
4255
|
+
"name": "force",
|
|
4256
|
+
"in": "query",
|
|
4257
|
+
"description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
|
|
4258
|
+
"schema": {
|
|
4259
|
+
"type": "boolean",
|
|
4260
|
+
"uniqueItems": true
|
|
4261
|
+
}
|
|
4262
|
+
}
|
|
4263
|
+
],
|
|
4264
|
+
"requestBody": {
|
|
4265
|
+
"content": {
|
|
4266
|
+
"application/apply-patch+yaml": {
|
|
4267
|
+
"schema": {
|
|
4268
|
+
"$ref": "#/components/schemas/Patch"
|
|
4269
|
+
}
|
|
4270
|
+
},
|
|
4271
|
+
"application/json-patch+json": {
|
|
4272
|
+
"schema": {
|
|
4273
|
+
"$ref": "#/components/schemas/Patch"
|
|
4274
|
+
}
|
|
4275
|
+
},
|
|
4276
|
+
"application/merge-patch+json": {
|
|
4277
|
+
"schema": {
|
|
4278
|
+
"$ref": "#/components/schemas/Patch"
|
|
4279
|
+
}
|
|
4280
|
+
},
|
|
4281
|
+
"application/strategic-merge-patch+json": {
|
|
4282
|
+
"schema": {
|
|
4283
|
+
"$ref": "#/components/schemas/Patch"
|
|
4284
|
+
}
|
|
4285
|
+
}
|
|
4286
|
+
},
|
|
4287
|
+
"required": true
|
|
4288
|
+
},
|
|
4289
|
+
"responses": {
|
|
4290
|
+
"200": {
|
|
4291
|
+
"description": "OK",
|
|
4292
|
+
"content": {
|
|
4293
|
+
"application/json": {
|
|
4294
|
+
"schema": {
|
|
4295
|
+
"$ref": "#/components/schemas/User"
|
|
4296
|
+
}
|
|
4297
|
+
},
|
|
4298
|
+
"application/yaml": {
|
|
4299
|
+
"schema": {
|
|
4300
|
+
"$ref": "#/components/schemas/User"
|
|
4301
|
+
}
|
|
4302
|
+
}
|
|
4303
|
+
}
|
|
4304
|
+
},
|
|
4305
|
+
"201": {
|
|
4306
|
+
"description": "Created",
|
|
4307
|
+
"content": {
|
|
4308
|
+
"application/json": {
|
|
4309
|
+
"schema": {
|
|
4310
|
+
"$ref": "#/components/schemas/User"
|
|
4311
|
+
}
|
|
4312
|
+
},
|
|
4313
|
+
"application/yaml": {
|
|
4314
|
+
"schema": {
|
|
4315
|
+
"$ref": "#/components/schemas/User"
|
|
4316
|
+
}
|
|
4317
|
+
}
|
|
4318
|
+
}
|
|
4319
|
+
}
|
|
4320
|
+
},
|
|
4321
|
+
"x-kubernetes-action": "patch",
|
|
4322
|
+
"x-kubernetes-group-version-kind": {
|
|
4323
|
+
"group": "iam.grafana.app",
|
|
4324
|
+
"version": "v0alpha1",
|
|
4325
|
+
"kind": "User"
|
|
4326
|
+
}
|
|
4327
|
+
},
|
|
4328
|
+
"parameters": [
|
|
4329
|
+
{
|
|
4330
|
+
"name": "name",
|
|
4331
|
+
"in": "path",
|
|
4332
|
+
"description": "name of the User",
|
|
4333
|
+
"required": true,
|
|
4334
|
+
"schema": {
|
|
4335
|
+
"type": "string",
|
|
4336
|
+
"uniqueItems": true
|
|
4337
|
+
}
|
|
4338
|
+
},
|
|
4339
|
+
{
|
|
4340
|
+
"name": "pretty",
|
|
4341
|
+
"in": "query",
|
|
4342
|
+
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
|
|
4343
|
+
"schema": {
|
|
4344
|
+
"type": "string",
|
|
4345
|
+
"uniqueItems": true
|
|
4346
|
+
}
|
|
4347
|
+
}
|
|
4348
|
+
]
|
|
4349
|
+
},
|
|
4106
4350
|
"/users/{name}/teams": {
|
|
4107
4351
|
"get": {
|
|
4108
4352
|
"tags": ["User"],
|
|
@@ -5660,6 +5904,24 @@
|
|
|
5660
5904
|
"type": "integer",
|
|
5661
5905
|
"format": "int64",
|
|
5662
5906
|
"default": 0
|
|
5907
|
+
},
|
|
5908
|
+
"teamSync": {
|
|
5909
|
+
"$ref": "#/components/schemas/UserTeamSyncStatus"
|
|
5910
|
+
}
|
|
5911
|
+
}
|
|
5912
|
+
},
|
|
5913
|
+
"UserTeamSyncStatus": {
|
|
5914
|
+
"type": "object",
|
|
5915
|
+
"required": ["state", "lastSyncAt"],
|
|
5916
|
+
"properties": {
|
|
5917
|
+
"lastSyncAt": {
|
|
5918
|
+
"type": "integer",
|
|
5919
|
+
"format": "int64",
|
|
5920
|
+
"default": 0
|
|
5921
|
+
},
|
|
5922
|
+
"state": {
|
|
5923
|
+
"type": "string",
|
|
5924
|
+
"default": ""
|
|
5663
5925
|
}
|
|
5664
5926
|
}
|
|
5665
5927
|
},
|