@grafana/openapi 13.2.4 → 13.3.0

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.
Files changed (29) hide show
  1. package/dist/api/openapi3.json +358 -247
  2. package/dist/apis/collections.grafana.app-v1alpha1.json +3 -14
  3. package/dist/apis/correlations.grafana.app-v0alpha1.json +411 -0
  4. package/dist/apis/dashboard.grafana.app-v0alpha1.json +865 -105
  5. package/dist/apis/dashboard.grafana.app-v1beta1.json +733 -6
  6. package/dist/apis/dashboard.grafana.app-v2.json +821 -194
  7. package/dist/apis/dashboard.grafana.app-v2alpha1.json +803 -208
  8. package/dist/apis/dashboard.grafana.app-v2beta1.json +985 -374
  9. package/dist/apis/folder.grafana.app-v1.json +644 -20
  10. package/dist/apis/folder.grafana.app-v1beta1.json +644 -20
  11. package/dist/apis/grafana-testdata-datasource.datasource.grafana.app-v0alpha1.json +3 -21
  12. package/dist/apis/historian.alerting.grafana.app-v0alpha1.json +411 -0
  13. package/dist/apis/iam.grafana.app-v0alpha1.json +2397 -748
  14. package/dist/apis/logsdrilldown.grafana.app-v1beta1.json +448 -0
  15. package/dist/apis/notifications.alerting.grafana.app-v0alpha1.json +596 -0
  16. package/dist/apis/notifications.alerting.grafana.app-v1beta1.json +596 -0
  17. package/dist/apis/playlist.grafana.app-v0alpha1.json +415 -0
  18. package/dist/apis/playlist.grafana.app-v1.json +415 -0
  19. package/dist/apis/preferences.grafana.app-v1.json +3 -9
  20. package/dist/apis/preferences.grafana.app-v1alpha1.json +3 -9
  21. package/dist/apis/provisioning.grafana.app-v0alpha1.json +636 -151
  22. package/dist/apis/provisioning.grafana.app-v1beta1.json +621 -100
  23. package/dist/apis/query.grafana.app-v0alpha1.json +14 -11
  24. package/dist/apis/quotas.grafana.app-v0alpha1.json +1 -2
  25. package/dist/apis/rules.alerting.grafana.app-v0alpha1.json +3027 -767
  26. package/dist/apis/rules.alerting.grafana.app-v1beta1.json +4541 -0
  27. package/dist/apis/search.grafana.app-v0alpha1.json +693 -0
  28. package/dist/apis/shorturl.grafana.app-v1beta1.json +411 -0
  29. package/package.json +3 -3
@@ -398,6 +398,43 @@
398
398
  }
399
399
  ]
400
400
  },
401
+ "/connections/search": {
402
+ "post": {
403
+ "tags": ["Search"],
404
+ "description": "Search Connection resources in a namespace.",
405
+ "operationId": "listConnectionSearchV1beta1",
406
+ "parameters": [],
407
+ "requestBody": {
408
+ "description": "A SearchQuery describing what to match, sort and return.",
409
+ "content": {
410
+ "application/json": {
411
+ "schema": {
412
+ "$ref": "#/components/schemas/SearchQuery"
413
+ },
414
+ "example": {
415
+ "kind": "SearchQuery",
416
+ "apiVersion": "search.grafana.app/v0alpha1",
417
+ "facetLimit": 0,
418
+ "limit": 10
419
+ }
420
+ }
421
+ },
422
+ "required": true
423
+ },
424
+ "responses": {
425
+ "200": {
426
+ "description": "A SearchResults envelope.",
427
+ "content": {
428
+ "application/json": {
429
+ "schema": {
430
+ "$ref": "#/components/schemas/SearchResults"
431
+ }
432
+ }
433
+ }
434
+ }
435
+ }
436
+ }
437
+ },
401
438
  "/connections/{name}": {
402
439
  "get": {
403
440
  "tags": ["Connection"],
@@ -804,7 +841,7 @@
804
841
  "get": {
805
842
  "tags": ["Connection"],
806
843
  "summary": "List external repositories",
807
- "description": "List repositories available from the external git provider through this connection",
844
+ "description": "List repositories available from the external git provider through this connection. Returns 501 Not Implemented for connection types that cannot list repositories",
808
845
  "operationId": "getConnectionRepositories",
809
846
  "responses": {
810
847
  "200": {
@@ -822,9 +859,7 @@
822
859
  },
823
860
  "items": {
824
861
  "type": "array",
825
- "items": {
826
- "default": {}
827
- },
862
+ "items": {},
828
863
  "x-kubernetes-list-type": "atomic"
829
864
  },
830
865
  "kind": {
@@ -1473,6 +1508,43 @@
1473
1508
  }
1474
1509
  ]
1475
1510
  },
1511
+ "/jobs/search": {
1512
+ "post": {
1513
+ "tags": ["Search"],
1514
+ "description": "Search Job resources in a namespace.",
1515
+ "operationId": "listJobSearchV1beta1",
1516
+ "parameters": [],
1517
+ "requestBody": {
1518
+ "description": "A SearchQuery describing what to match, sort and return.",
1519
+ "content": {
1520
+ "application/json": {
1521
+ "schema": {
1522
+ "$ref": "#/components/schemas/SearchQuery"
1523
+ },
1524
+ "example": {
1525
+ "kind": "SearchQuery",
1526
+ "apiVersion": "search.grafana.app/v0alpha1",
1527
+ "facetLimit": 0,
1528
+ "limit": 10
1529
+ }
1530
+ }
1531
+ },
1532
+ "required": true
1533
+ },
1534
+ "responses": {
1535
+ "200": {
1536
+ "description": "A SearchResults envelope.",
1537
+ "content": {
1538
+ "application/json": {
1539
+ "schema": {
1540
+ "$ref": "#/components/schemas/SearchResults"
1541
+ }
1542
+ }
1543
+ }
1544
+ }
1545
+ }
1546
+ }
1547
+ },
1476
1548
  "/jobs/{name}": {
1477
1549
  "get": {
1478
1550
  "tags": ["Job"],
@@ -2176,6 +2248,43 @@
2176
2248
  }
2177
2249
  ]
2178
2250
  },
2251
+ "/repositories/search": {
2252
+ "post": {
2253
+ "tags": ["Search"],
2254
+ "description": "Search Repository resources in a namespace.",
2255
+ "operationId": "listRepositorySearchV1beta1",
2256
+ "parameters": [],
2257
+ "requestBody": {
2258
+ "description": "A SearchQuery describing what to match, sort and return.",
2259
+ "content": {
2260
+ "application/json": {
2261
+ "schema": {
2262
+ "$ref": "#/components/schemas/SearchQuery"
2263
+ },
2264
+ "example": {
2265
+ "kind": "SearchQuery",
2266
+ "apiVersion": "search.grafana.app/v0alpha1",
2267
+ "facetLimit": 0,
2268
+ "limit": 10
2269
+ }
2270
+ }
2271
+ },
2272
+ "required": true
2273
+ },
2274
+ "responses": {
2275
+ "200": {
2276
+ "description": "A SearchResults envelope.",
2277
+ "content": {
2278
+ "application/json": {
2279
+ "schema": {
2280
+ "$ref": "#/components/schemas/SearchResults"
2281
+ }
2282
+ }
2283
+ }
2284
+ }
2285
+ }
2286
+ }
2287
+ },
2179
2288
  "/repositories/{name}": {
2180
2289
  "get": {
2181
2290
  "tags": ["Repository"],
@@ -2555,9 +2664,7 @@
2555
2664
  },
2556
2665
  "items": {
2557
2666
  "type": "array",
2558
- "items": {
2559
- "default": {}
2560
- },
2667
+ "items": {},
2561
2668
  "x-kubernetes-list-type": "atomic"
2562
2669
  },
2563
2670
  "kind": {
@@ -3242,9 +3349,7 @@
3242
3349
  },
3243
3350
  "items": {
3244
3351
  "type": "array",
3245
- "items": {
3246
- "default": {}
3247
- },
3352
+ "items": {},
3248
3353
  "x-kubernetes-list-type": "atomic"
3249
3354
  },
3250
3355
  "kind": {
@@ -3972,9 +4077,7 @@
3972
4077
  },
3973
4078
  "items": {
3974
4079
  "type": "array",
3975
- "items": {
3976
- "default": {}
3977
- },
4080
+ "items": {},
3978
4081
  "x-kubernetes-list-type": "atomic"
3979
4082
  },
3980
4083
  "kind": {
@@ -4019,18 +4122,24 @@
4019
4122
  "required": ["title", "type"],
4020
4123
  "properties": {
4021
4124
  "bitbucket": {
4022
- "description": "Bitbucket connection configuration Only applicable when provider is \"bitbucket\""
4125
+ "description": "Bitbucket connection configuration Only applicable when provider is \"bitbucketOAuth\""
4023
4126
  },
4024
4127
  "description": {
4025
4128
  "description": "The connection description",
4026
4129
  "type": "string"
4027
4130
  },
4131
+ "gitOAuth": {
4132
+ "description": "Generic git OAuth app connection configuration Only applicable when provider is \"gitOAuth\""
4133
+ },
4028
4134
  "github": {
4029
4135
  "description": "GitHub connection configuration Only applicable when provider is \"github\""
4030
4136
  },
4031
4137
  "githubEnterprise": {
4032
4138
  "description": "GitHub Enterprise Server connection configuration Only applicable when provider is \"githubEnterprise\""
4033
4139
  },
4140
+ "githubEnterpriseOAuth": {
4141
+ "description": "GitHub Enterprise Server OAuth app connection configuration Only applicable when provider is \"githubEnterpriseOAuth\""
4142
+ },
4034
4143
  "oauth": {
4035
4144
  "description": "OAuth app configuration shared by all OAuth app providers"
4036
4145
  },
@@ -4040,10 +4149,18 @@
4040
4149
  "default": ""
4041
4150
  },
4042
4151
  "type": {
4043
- "description": "The connection provider type\n\nPossible enum values:\n - `\"bitbucket\"`\n - `\"github\"`\n - `\"githubEnterprise\"`\n - `\"gitlab\"`",
4152
+ "description": "The connection provider type\n\nPossible enum values:\n - `\"bitbucketOAuth\"`\n - `\"gitOAuth\"`\n - `\"github\"`\n - `\"githubEnterprise\"`\n - `\"githubEnterpriseOAuth\"`\n - `\"githubOAuth\"`\n - `\"gitlabOAuth\"`",
4044
4153
  "type": "string",
4045
4154
  "default": "",
4046
- "enum": ["bitbucket", "github", "githubEnterprise", "gitlab"]
4155
+ "enum": [
4156
+ "bitbucketOAuth",
4157
+ "gitOAuth",
4158
+ "github",
4159
+ "githubEnterprise",
4160
+ "githubEnterpriseOAuth",
4161
+ "githubOAuth",
4162
+ "gitlabOAuth"
4163
+ ]
4047
4164
  },
4048
4165
  "url": {
4049
4166
  "description": "The connection URL",
@@ -4062,9 +4179,7 @@
4062
4179
  "conditions": {
4063
4180
  "description": "Conditions represent the latest available observations of the connection's state.",
4064
4181
  "type": "array",
4065
- "items": {
4066
- "default": {}
4067
- },
4182
+ "items": {},
4068
4183
  "x-kubernetes-list-map-keys": ["type"],
4069
4184
  "x-kubernetes-list-type": "map",
4070
4185
  "x-kubernetes-patch-merge-key": "type",
@@ -4073,9 +4188,7 @@
4073
4188
  "fieldErrors": {
4074
4189
  "description": "FieldErrors are errors that occurred during validation of the connection spec. These errors are intended to help users identify and fix issues in the spec.",
4075
4190
  "type": "array",
4076
- "items": {
4077
- "default": {}
4078
- },
4191
+ "items": {},
4079
4192
  "x-kubernetes-list-type": "atomic"
4080
4193
  },
4081
4194
  "health": {
@@ -4110,8 +4223,7 @@
4110
4223
  "description": "Paths to be deleted. Examples: - dashboard.json (for a file) - a/b/c/other-dashboard.json (for a file) - nested/deep/ (for a directory) FIXME: we should validate this in admission hooks",
4111
4224
  "type": "array",
4112
4225
  "items": {
4113
- "type": "string",
4114
- "default": ""
4226
+ "type": "string"
4115
4227
  }
4116
4228
  },
4117
4229
  "ref": {
@@ -4121,9 +4233,31 @@
4121
4233
  "resources": {
4122
4234
  "description": "Resources to delete This option has been created because currently the frontend does not use standarized app platform APIs. For performance and API consistency reasons, the preferred option is it to use the paths.",
4123
4235
  "type": "array",
4124
- "items": {
4125
- "default": {}
4126
- }
4236
+ "items": {}
4237
+ }
4238
+ }
4239
+ },
4240
+ "DeletionStatus": {
4241
+ "description": "DeletionStatus reports the progress of an in-progress deletion and the problem blocking it. It is populated while the repository is Terminating and its finalizers run, so a client can explain the holdup and force-remove the blocking finalizer.",
4242
+ "type": "object",
4243
+ "properties": {
4244
+ "cause": {
4245
+ "description": "Cause classifies the blocking error. It may be absent on older statuses.\n\nPossible enum values:\n - `\"system\"` indicates an infrastructure or unclassified failure.\n - `\"user\"` indicates a failure that requires user intervention.",
4246
+ "type": "string",
4247
+ "enum": ["system", "user"]
4248
+ },
4249
+ "finalizer": {
4250
+ "description": "Finalizer names the finalizer whose teardown is blocking deletion, i.e. which deletion step failed. A client force-removing deletion removes exactly this finalizer.",
4251
+ "type": "string"
4252
+ },
4253
+ "message": {
4254
+ "description": "Message is a human-readable explanation of what went wrong, suitable for showing to users.",
4255
+ "type": "string"
4256
+ },
4257
+ "state": {
4258
+ "description": "State is the phase of the deletion.\n\nPossible enum values:\n - `\"Blocked\"` indicates the latest finalizer pass failed and deletion did not complete. The controller keeps retrying, so a transient failure (a brief outage, an API conflict) may still clear on its own; a persistent one (credentials expired, a webhook that cannot be removed) needs the user to force-remove the blocking finalizer. Finalizer is the finalizer that failed on that pass. This is the only state the controller emits: status.deletion is written only when a pass fails. While finalizers are still running, status.deletion is absent, which (together with a set deletionTimestamp) is itself the \"in progress\" signal — so no separate Working state is needed.",
4259
+ "type": "string",
4260
+ "enum": ["Blocked"]
4127
4261
  }
4128
4262
  }
4129
4263
  },
@@ -4180,9 +4314,7 @@
4180
4314
  "resources": {
4181
4315
  "description": "Resources to export. When empty, every unmanaged resource in the namespace is exported (legacy behavior). When non-empty, only the listed resources are exported — the folder hierarchy is still emitted so parent paths resolve. Currently only unmanaged Dashboards are supported.",
4182
4316
  "type": "array",
4183
- "items": {
4184
- "default": {}
4185
- }
4317
+ "items": {}
4186
4318
  }
4187
4319
  }
4188
4320
  },
@@ -4217,9 +4349,7 @@
4217
4349
  },
4218
4350
  "items": {
4219
4351
  "type": "array",
4220
- "items": {
4221
- "default": {}
4222
- },
4352
+ "items": {},
4223
4353
  "x-kubernetes-list-type": "atomic"
4224
4354
  },
4225
4355
  "kind": {
@@ -4266,9 +4396,7 @@
4266
4396
  },
4267
4397
  "items": {
4268
4398
  "type": "array",
4269
- "items": {
4270
- "default": {}
4271
- },
4399
+ "items": {},
4272
4400
  "x-kubernetes-list-type": "atomic"
4273
4401
  },
4274
4402
  "kind": {
@@ -4327,6 +4455,17 @@
4327
4455
  }
4328
4456
  }
4329
4457
  },
4458
+ "GitHubEnterpriseOAuthConnectionConfig": {
4459
+ "type": "object",
4460
+ "required": ["serverUrl"],
4461
+ "properties": {
4462
+ "serverUrl": {
4463
+ "description": "The GitHub Enterprise Server URL (e.g. `https://ghes.example.com`).",
4464
+ "type": "string",
4465
+ "default": ""
4466
+ }
4467
+ }
4468
+ },
4330
4469
  "GitHubEnterpriseRepositoryConfig": {
4331
4470
  "description": "GitHubEnterpriseRepositoryConfig describes a repository hosted on a self-managed GitHub Enterprise Server (GHES) instance.",
4332
4471
  "type": "object",
@@ -4387,12 +4526,40 @@
4387
4526
  "description": "Path is the subdirectory for the Grafana data. If specified, Grafana will ignore anything that is outside this directory in the repository. This is usually something like `grafana/`. Trailing and leading slash are not required. They are always added when needed. The path is relative to the root of the repository, regardless of the leading slash.\n\nWhen specifying something like `grafana-`, we will not look for `grafana-*`; we will only look for files under the directory `/grafana-/`. That means `/grafana-example.json` would not be found.",
4388
4527
  "type": "string"
4389
4528
  },
4529
+ "repoID": {
4530
+ "description": "RepoID is the GitLab project's immutable numeric ID. Resolved and set automatically whenever URL is set or changed; it survives a project transfer/move even if the project's path changes. Read-only: it is always system-derived and never taken from client-supplied input.",
4531
+ "type": "string"
4532
+ },
4390
4533
  "url": {
4391
4534
  "description": "The repository URL (e.g. `https://gitlab.com/example/test`).",
4392
4535
  "type": "string"
4393
4536
  }
4394
4537
  }
4395
4538
  },
4539
+ "GitOAuthConnectionConfig": {
4540
+ "description": "GitOAuthConnectionConfig describes a provider-agnostic OAuth 2.0 app used to authenticate pure git repositories.",
4541
+ "type": "object",
4542
+ "required": ["authURL", "tokenURL"],
4543
+ "properties": {
4544
+ "authURL": {
4545
+ "description": "The provider's OAuth authorization endpoint (e.g. `https://gitlab.example.com/oauth/authorize`).",
4546
+ "type": "string",
4547
+ "default": ""
4548
+ },
4549
+ "scopes": {
4550
+ "description": "The OAuth scopes to request, granting git read and write access.",
4551
+ "type": "array",
4552
+ "items": {
4553
+ "type": "string"
4554
+ }
4555
+ },
4556
+ "tokenURL": {
4557
+ "description": "The provider's OAuth token endpoint (e.g. `https://gitlab.example.com/oauth/token`).",
4558
+ "type": "string",
4559
+ "default": ""
4560
+ }
4561
+ }
4562
+ },
4396
4563
  "GitRepositoryConfig": {
4397
4564
  "type": "object",
4398
4565
  "required": ["branch"],
@@ -4439,8 +4606,7 @@
4439
4606
  "description": "Summary messages (can be shown to users) Will only be populated when not healthy",
4440
4607
  "type": "array",
4441
4608
  "items": {
4442
- "type": "string",
4443
- "default": ""
4609
+ "type": "string"
4444
4610
  },
4445
4611
  "x-kubernetes-list-type": "atomic"
4446
4612
  }
@@ -4485,9 +4651,7 @@
4485
4651
  },
4486
4652
  "items": {
4487
4653
  "type": "array",
4488
- "items": {
4489
- "default": {}
4490
- }
4654
+ "items": {}
4491
4655
  },
4492
4656
  "kind": {
4493
4657
  "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
@@ -4504,9 +4668,7 @@
4504
4668
  "properties": {
4505
4669
  "authors": {
4506
4670
  "type": "array",
4507
- "items": {
4508
- "default": {}
4509
- },
4671
+ "items": {},
4510
4672
  "x-kubernetes-list-type": "atomic"
4511
4673
  },
4512
4674
  "createdAt": {
@@ -4535,9 +4697,7 @@
4535
4697
  },
4536
4698
  "items": {
4537
4699
  "type": "array",
4538
- "items": {
4539
- "default": {}
4540
- },
4700
+ "items": {},
4541
4701
  "x-kubernetes-list-type": "atomic"
4542
4702
  },
4543
4703
  "kind": {
@@ -4589,9 +4749,7 @@
4589
4749
  },
4590
4750
  "items": {
4591
4751
  "type": "array",
4592
- "items": {
4593
- "default": {}
4594
- }
4752
+ "items": {}
4595
4753
  },
4596
4754
  "kind": {
4597
4755
  "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
@@ -4622,8 +4780,7 @@
4622
4780
  "description": "Report errors/warnings for this resource type This may not be an exhaustive list and recommend looking at the logs for more info",
4623
4781
  "type": "array",
4624
4782
  "items": {
4625
- "type": "string",
4626
- "default": ""
4783
+ "type": "string"
4627
4784
  }
4628
4785
  },
4629
4786
  "group": {
@@ -4658,8 +4815,7 @@
4658
4815
  "warnings": {
4659
4816
  "type": "array",
4660
4817
  "items": {
4661
- "type": "string",
4662
- "default": ""
4818
+ "type": "string"
4663
4819
  }
4664
4820
  },
4665
4821
  "write": {
@@ -4730,8 +4886,7 @@
4730
4886
  "errors": {
4731
4887
  "type": "array",
4732
4888
  "items": {
4733
- "type": "string",
4734
- "default": ""
4889
+ "type": "string"
4735
4890
  }
4736
4891
  },
4737
4892
  "finished": {
@@ -4771,8 +4926,7 @@
4771
4926
  "warnings": {
4772
4927
  "type": "array",
4773
4928
  "items": {
4774
- "type": "string",
4775
- "default": ""
4929
+ "type": "string"
4776
4930
  }
4777
4931
  }
4778
4932
  }
@@ -4828,9 +4982,7 @@
4828
4982
  "resources": {
4829
4983
  "description": "Resources to migrate. When empty, every unmanaged resource in the namespace is migrated (legacy behavior). When non-empty, only the listed resources are exported to the repository — the folder hierarchy is still emitted so parent paths resolve, and the subsequent pull phase only takes ownership of those resources. Currently only unmanaged Dashboards are supported.",
4830
4984
  "type": "array",
4831
- "items": {
4832
- "default": {}
4833
- }
4985
+ "items": {}
4834
4986
  },
4835
4987
  "skipResourceDeletion": {
4836
4988
  "description": "SkipResourceDeletion keeps the migrated resources on the instance instead of removing them. By default a migration deletes the resources it moved (the whole namespace for an instance target, or the exported resources for a branch migration); when true, no deletion happens and the resources are left in place.",
@@ -4845,8 +4997,7 @@
4845
4997
  "description": "Paths to be deleted. Examples: - dashboard.json (for a file) - a/b/c/other-dashboard.json (for a file) - nested/deep/ (for a directory) FIXME: we should validate this in admission hooks",
4846
4998
  "type": "array",
4847
4999
  "items": {
4848
- "type": "string",
4849
- "default": ""
5000
+ "type": "string"
4850
5001
  }
4851
5002
  },
4852
5003
  "ref": {
@@ -4856,9 +5007,7 @@
4856
5007
  "resources": {
4857
5008
  "description": "Resources to move This option has been created because currently the frontend does not use standarized app platform APIs. For performance and API consistency reasons, the preferred option is it to use the paths.",
4858
5009
  "type": "array",
4859
- "items": {
4860
- "default": {}
4861
- }
5010
+ "items": {}
4862
5011
  },
4863
5012
  "targetPath": {
4864
5013
  "description": "Destination path for the move (e.g. \"new-location/\")",
@@ -4914,7 +5063,7 @@
4914
5063
  }
4915
5064
  },
4916
5065
  "QuotaStatus": {
4917
- "description": "QuotaStatus represents the quota limits configured for this repository. These values come from static configuration and are read-only.",
5066
+ "description": "QuotaStatus represents the quota limits configured for this repository.",
4918
5067
  "type": "object",
4919
5068
  "properties": {
4920
5069
  "maxRepositories": {
@@ -4926,6 +5075,11 @@
4926
5075
  "description": "MaxResourcesPerRepository is the maximum number of resources allowed per repository. 0 means unlimited.",
4927
5076
  "type": "integer",
4928
5077
  "format": "int64"
5078
+ },
5079
+ "updatedAt": {
5080
+ "description": "UpdatedAt is when the controller last successfully refreshed these quota limits. It is expressed as Unix milliseconds. 0 means the quota limits have not been refreshed yet.",
5081
+ "type": "integer",
5082
+ "format": "int64"
4929
5083
  }
4930
5084
  }
4931
5085
  },
@@ -4962,9 +5116,7 @@
4962
5116
  },
4963
5117
  "items": {
4964
5118
  "type": "array",
4965
- "items": {
4966
- "default": {}
4967
- },
5119
+ "items": {},
4968
5120
  "x-kubernetes-list-type": "atomic"
4969
5121
  },
4970
5122
  "kind": {
@@ -5019,9 +5171,7 @@
5019
5171
  },
5020
5172
  "items": {
5021
5173
  "type": "array",
5022
- "items": {
5023
- "default": {}
5024
- },
5174
+ "items": {},
5025
5175
  "x-kubernetes-list-type": "atomic"
5026
5176
  },
5027
5177
  "kind": {
@@ -5094,7 +5244,6 @@
5094
5244
  "type": "array",
5095
5245
  "items": {
5096
5246
  "type": "string",
5097
- "default": "",
5098
5247
  "enum": ["branch", "write"]
5099
5248
  }
5100
5249
  }
@@ -5108,24 +5257,23 @@
5108
5257
  "conditions": {
5109
5258
  "description": "Conditions represent the latest available observations of the repository's state.",
5110
5259
  "type": "array",
5111
- "items": {
5112
- "default": {}
5113
- },
5260
+ "items": {},
5114
5261
  "x-kubernetes-list-map-keys": ["type"],
5115
5262
  "x-kubernetes-list-type": "map",
5116
5263
  "x-kubernetes-patch-merge-key": "type",
5117
5264
  "x-kubernetes-patch-strategy": "merge"
5118
5265
  },
5119
5266
  "deleteError": {
5120
- "description": "Error information during repository deletion (if any)",
5267
+ "description": "Error information during repository deletion (if any). Deprecated: prefer the structured Deletion field. Retained for backwards compatibility with clients that read the concise string.",
5121
5268
  "type": "string"
5122
5269
  },
5270
+ "deletion": {
5271
+ "description": "Deletion reports the progress of an in-progress deletion and the problem blocking it, so a client can explain the holdup and force-remove the blocking finalizer. Populated only while the repository is Terminating."
5272
+ },
5123
5273
  "fieldErrors": {
5124
5274
  "description": "FieldErrors are errors that occurred during validation of the repository spec. These errors are intended to help users identify and fix issues in the spec.",
5125
5275
  "type": "array",
5126
- "items": {
5127
- "default": {}
5128
- },
5276
+ "items": {},
5129
5277
  "x-kubernetes-list-type": "atomic"
5130
5278
  },
5131
5279
  "health": {
@@ -5145,9 +5293,7 @@
5145
5293
  "stats": {
5146
5294
  "description": "The object count when sync last ran",
5147
5295
  "type": "array",
5148
- "items": {
5149
- "default": {}
5150
- },
5296
+ "items": {},
5151
5297
  "x-kubernetes-list-type": "atomic"
5152
5298
  },
5153
5299
  "sync": {
@@ -5251,7 +5397,6 @@
5251
5397
  "type": "array",
5252
5398
  "items": {
5253
5399
  "type": "string",
5254
- "default": "",
5255
5400
  "enum": ["branch", "write"]
5256
5401
  }
5257
5402
  }
@@ -5272,7 +5417,6 @@
5272
5417
  "type": "array",
5273
5418
  "items": {
5274
5419
  "type": "string",
5275
- "default": "",
5276
5420
  "enum": ["folder", "folderless", "instance"]
5277
5421
  }
5278
5422
  },
@@ -5280,12 +5424,27 @@
5280
5424
  "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
5281
5425
  "type": "string"
5282
5426
  },
5427
+ "availableConnectionTypes": {
5428
+ "description": "AvailableConnectionTypes is the list of connection types supported in this instance",
5429
+ "type": "array",
5430
+ "items": {
5431
+ "type": "string",
5432
+ "enum": [
5433
+ "bitbucketOAuth",
5434
+ "gitOAuth",
5435
+ "github",
5436
+ "githubEnterprise",
5437
+ "githubEnterpriseOAuth",
5438
+ "githubOAuth",
5439
+ "gitlabOAuth"
5440
+ ]
5441
+ }
5442
+ },
5283
5443
  "availableRepositoryTypes": {
5284
5444
  "description": "AvailableRepositoryTypes is the list of repository types supported in this instance (e.g. git, bitbucket, github, etc)",
5285
5445
  "type": "array",
5286
5446
  "items": {
5287
5447
  "type": "string",
5288
- "default": "",
5289
5448
  "enum": ["bitbucket", "git", "github", "githubEnterprise", "gitlab", "local"]
5290
5449
  }
5291
5450
  },
@@ -5353,9 +5512,7 @@
5353
5512
  },
5354
5513
  "items": {
5355
5514
  "type": "array",
5356
- "items": {
5357
- "default": {}
5358
- },
5515
+ "items": {},
5359
5516
  "x-kubernetes-list-type": "atomic"
5360
5517
  },
5361
5518
  "kind": {
@@ -5431,7 +5588,7 @@
5431
5588
  }
5432
5589
  }
5433
5590
  },
5434
- "ResourceRef": {
5591
+ "ProvisioningResourceRef": {
5435
5592
  "type": "object",
5436
5593
  "properties": {
5437
5594
  "group": {
@@ -5570,8 +5727,7 @@
5570
5727
  "description": "If errors exist, show them here",
5571
5728
  "type": "array",
5572
5729
  "items": {
5573
- "type": "string",
5574
- "default": ""
5730
+ "type": "string"
5575
5731
  },
5576
5732
  "x-kubernetes-list-type": "atomic"
5577
5733
  },
@@ -5715,8 +5871,7 @@
5715
5871
  "description": "Summary messages (will be shown to users)",
5716
5872
  "type": "array",
5717
5873
  "items": {
5718
- "type": "string",
5719
- "default": ""
5874
+ "type": "string"
5720
5875
  },
5721
5876
  "x-kubernetes-list-type": "atomic"
5722
5877
  },
@@ -5770,9 +5925,7 @@
5770
5925
  "errors": {
5771
5926
  "description": "Field related errors",
5772
5927
  "type": "array",
5773
- "items": {
5774
- "default": {}
5775
- }
5928
+ "items": {}
5776
5929
  },
5777
5930
  "kind": {
5778
5931
  "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
@@ -5868,8 +6021,7 @@
5868
6021
  "subscribedEvents": {
5869
6022
  "type": "array",
5870
6023
  "items": {
5871
- "type": "string",
5872
- "default": ""
6024
+ "type": "string"
5873
6025
  }
5874
6026
  },
5875
6027
  "url": {
@@ -5922,6 +6074,328 @@
5922
6074
  "additionalProperties": true,
5923
6075
  "x-kubernetes-preserve-unknown-fields": true
5924
6076
  },
6077
+ "ExistsPredicate": {
6078
+ "description": "ExistsPredicate is a future field-existence predicate. Modelled for schema stability; always rejected in v1.",
6079
+ "type": "object",
6080
+ "required": ["field"],
6081
+ "properties": {
6082
+ "field": {
6083
+ "type": "string",
6084
+ "default": ""
6085
+ }
6086
+ }
6087
+ },
6088
+ "FacetTerm": {
6089
+ "description": "FacetTerm is a single facet term and its count.",
6090
+ "type": "object",
6091
+ "required": ["value", "count"],
6092
+ "properties": {
6093
+ "count": {
6094
+ "type": "integer",
6095
+ "format": "int64",
6096
+ "default": 0
6097
+ },
6098
+ "value": {
6099
+ "type": "string",
6100
+ "default": ""
6101
+ }
6102
+ }
6103
+ },
6104
+ "FilterPredicate": {
6105
+ "description": "FilterPredicate is an exact / set-based predicate against a single field. Values are strings whatever the field's declared type, so a boolean field takes \"true\" or \"false\" and a numeric field takes the number written out.\n\nNumbers are held as float64, so only integers up to 2^53 are compared exactly. Past that, values a whole number apart share one representation, and a filter can both match a neighbour and miss the value asked for.",
6106
+ "type": "object",
6107
+ "required": ["field", "operator", "values"],
6108
+ "properties": {
6109
+ "field": {
6110
+ "type": "string",
6111
+ "default": ""
6112
+ },
6113
+ "operator": {
6114
+ "description": "Operator is \"In\", \"NotIn\" or \"All\" in v1. \"In\" matches any of the values, \"NotIn\" excludes all of them, and \"All\" requires the field to hold every value, which only a field holding a list of values can do.",
6115
+ "type": "string",
6116
+ "default": ""
6117
+ },
6118
+ "values": {
6119
+ "type": "array",
6120
+ "items": {
6121
+ "type": "string"
6122
+ }
6123
+ }
6124
+ }
6125
+ },
6126
+ "RangePredicate": {
6127
+ "description": "RangePredicate compares a numeric field against one or two bounds. At least one bound is required, gt cannot be combined with gte, and lt cannot be combined with lte. Boolean and string fields are rejected: only numbers have the order a range asks about. On an integer field a bound must be whole.\n\nBounds are held as float64, so only integers up to 2^53 are compared exactly. Past that, values a whole number apart share one representation, and a bound can both admit a neighbour and exclude the value asked for.",
6128
+ "type": "object",
6129
+ "required": ["field"],
6130
+ "properties": {
6131
+ "field": {
6132
+ "type": "string",
6133
+ "default": ""
6134
+ },
6135
+ "gt": {
6136
+ "type": "number",
6137
+ "format": "double"
6138
+ },
6139
+ "gte": {
6140
+ "type": "number",
6141
+ "format": "double"
6142
+ },
6143
+ "lt": {
6144
+ "type": "number",
6145
+ "format": "double"
6146
+ },
6147
+ "lte": {
6148
+ "type": "number",
6149
+ "format": "double"
6150
+ }
6151
+ }
6152
+ },
6153
+ "RegexPredicate": {
6154
+ "description": "RegexPredicate matches a single field against a regular expression, one pattern per leaf the way a single Prometheus matcher works. Negate turns the leaf from =~ into !~.\n\nMatching is against the whole indexed term and is case-sensitive, so it is restricted to filterable keyword string fields that keep their original case. The pattern is a portable RE2 subset: literals, character classes, grouping, alternation, and greedy repetition. The backend is the source of truth for what the subset admits; it rejects unsupported syntax, fields that do not preserve case, and patterns that expand to too many terms with a 400.",
6155
+ "type": "object",
6156
+ "required": ["field", "pattern"],
6157
+ "properties": {
6158
+ "field": {
6159
+ "type": "string",
6160
+ "default": ""
6161
+ },
6162
+ "negate": {
6163
+ "description": "Negate inverts the match: the field must not match the pattern.",
6164
+ "type": "boolean"
6165
+ },
6166
+ "pattern": {
6167
+ "type": "string",
6168
+ "default": ""
6169
+ }
6170
+ }
6171
+ },
6172
+ "ResourceRef": {
6173
+ "description": "ResourceRef is the full identity of a returned item. Namespace is implicit from the URL and omitted.",
6174
+ "type": "object",
6175
+ "required": ["group", "resource", "kind", "name"],
6176
+ "properties": {
6177
+ "group": {
6178
+ "type": "string",
6179
+ "default": ""
6180
+ },
6181
+ "kind": {
6182
+ "type": "string",
6183
+ "default": ""
6184
+ },
6185
+ "name": {
6186
+ "type": "string",
6187
+ "default": ""
6188
+ },
6189
+ "resource": {
6190
+ "type": "string",
6191
+ "default": ""
6192
+ }
6193
+ }
6194
+ },
6195
+ "ResultItem": {
6196
+ "description": "ResultItem is one search or trash hit. The item shape is identical on both endpoints; only which fields the Fields map can carry differs.",
6197
+ "type": "object",
6198
+ "required": ["resource"],
6199
+ "properties": {
6200
+ "fields": {
6201
+ "description": "Fields holds the JSON values for the requested (or default) fields. Array-typed fields are returned as JSON arrays. Absent fields are omitted.",
6202
+ "$ref": "#/components/schemas/Unstructured"
6203
+ },
6204
+ "resource": {
6205
+ "default": {},
6206
+ "$ref": "#/components/schemas/ResourceRef"
6207
+ },
6208
+ "score": {
6209
+ "description": "Score is present only when a text query was evaluated. A pointer so a real score of 0 is still distinguishable from \"no text query\" (absent).",
6210
+ "type": "number",
6211
+ "format": "double"
6212
+ }
6213
+ }
6214
+ },
6215
+ "ResultsMetadata": {
6216
+ "description": "ResultsMetadata carries the pagination token and the total hit count.",
6217
+ "type": "object",
6218
+ "required": ["totalHits", "totalHitsRelation"],
6219
+ "properties": {
6220
+ "continue": {
6221
+ "type": "string"
6222
+ },
6223
+ "totalHits": {
6224
+ "description": "TotalHits counts the resources matching the query. Always read it together with TotalHitsRelation. When the relation is \"unknown\", this is a zero placeholder that must not be interpreted as a count.",
6225
+ "type": "integer",
6226
+ "format": "int64",
6227
+ "default": 0
6228
+ },
6229
+ "totalHitsRelation": {
6230
+ "description": "TotalHitsRelation is \"eq\" when TotalHits is exact and \"lte\" when it is an upper bound. \"unknown\" means no count is available and TotalHits must be ignored.",
6231
+ "type": "string",
6232
+ "default": ""
6233
+ }
6234
+ }
6235
+ },
6236
+ "SearchQuery": {
6237
+ "description": "SearchQuery is the request body for POST .../{resource}/search, which searches one kind, and for POST .../namespaces/{namespace}/global/search, which searches several resource types at once.",
6238
+ "type": "object",
6239
+ "properties": {
6240
+ "apiVersion": {
6241
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
6242
+ "type": "string"
6243
+ },
6244
+ "continue": {
6245
+ "description": "Continue is an opaque pagination token from a previous page.",
6246
+ "type": "string"
6247
+ },
6248
+ "facetLimit": {
6249
+ "description": "FacetLimit caps the number of terms returned per facet. It applies to every entry in Facets. Zero uses the server default; values above the server cap are clamped.",
6250
+ "type": "integer",
6251
+ "format": "int64"
6252
+ },
6253
+ "facets": {
6254
+ "type": "array",
6255
+ "items": {
6256
+ "type": "string"
6257
+ }
6258
+ },
6259
+ "fields": {
6260
+ "type": "array",
6261
+ "items": {
6262
+ "type": "string"
6263
+ }
6264
+ },
6265
+ "kind": {
6266
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
6267
+ "type": "string"
6268
+ },
6269
+ "labelSelector": {
6270
+ "description": "LabelSelector filters on metadata.labels, ANDed with Where.",
6271
+ "$ref": "#/components/schemas/LabelSelector"
6272
+ },
6273
+ "limit": {
6274
+ "description": "Limit is the page size. Zero uses the default; values above the maximum are clamped.",
6275
+ "type": "integer",
6276
+ "format": "int64"
6277
+ },
6278
+ "sort": {
6279
+ "type": "array",
6280
+ "items": {
6281
+ "$ref": "#/components/schemas/SortField"
6282
+ }
6283
+ },
6284
+ "where": {
6285
+ "description": "Where is the search predicate tree. Omitting it matches everything the endpoint searches: all resources of the kind, or of every type the global search covers (subject to labelSelector and per-item authz).",
6286
+ "$ref": "#/components/schemas/WhereNode"
6287
+ }
6288
+ }
6289
+ },
6290
+ "SearchResults": {
6291
+ "description": "SearchResults is the response body for POST .../{resource}/search.",
6292
+ "type": "object",
6293
+ "required": ["metadata", "items"],
6294
+ "properties": {
6295
+ "apiVersion": {
6296
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
6297
+ "type": "string"
6298
+ },
6299
+ "facets": {
6300
+ "description": "Facets holds term counts per requested facet field. Counts are computed over a bounded sample window, so they are best-effort/approximate.",
6301
+ "type": "object",
6302
+ "additionalProperties": {
6303
+ "type": "array",
6304
+ "items": {
6305
+ "$ref": "#/components/schemas/FacetTerm"
6306
+ }
6307
+ }
6308
+ },
6309
+ "items": {
6310
+ "type": "array",
6311
+ "items": {
6312
+ "$ref": "#/components/schemas/ResultItem"
6313
+ }
6314
+ },
6315
+ "kind": {
6316
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
6317
+ "type": "string"
6318
+ },
6319
+ "metadata": {
6320
+ "default": {},
6321
+ "$ref": "#/components/schemas/ResultsMetadata"
6322
+ }
6323
+ }
6324
+ },
6325
+ "SortField": {
6326
+ "description": "SortField names a field to sort by and a direction (\"asc\" or \"desc\"). V1 allows sorting only on scalar string and numeric fields that declare the sort capability.",
6327
+ "type": "object",
6328
+ "required": ["field"],
6329
+ "properties": {
6330
+ "direction": {
6331
+ "type": "string"
6332
+ },
6333
+ "field": {
6334
+ "type": "string",
6335
+ "default": ""
6336
+ }
6337
+ }
6338
+ },
6339
+ "TextPredicate": {
6340
+ "description": "TextPredicate is a free-text predicate against one or more text-capable fields. When Fields is empty it defaults to the kind's searchTextFields (currently [\"title\"]).",
6341
+ "type": "object",
6342
+ "required": ["value"],
6343
+ "properties": {
6344
+ "boost": {
6345
+ "description": "Boost is a future per-leaf score multiplier. Setting it is rejected in v1.",
6346
+ "type": "number",
6347
+ "format": "double"
6348
+ },
6349
+ "fields": {
6350
+ "type": "array",
6351
+ "items": {
6352
+ "type": "string"
6353
+ }
6354
+ },
6355
+ "value": {
6356
+ "type": "string",
6357
+ "default": ""
6358
+ }
6359
+ }
6360
+ },
6361
+ "WhereNode": {
6362
+ "description": "WhereNode is a single node of the where tree. Exactly one field must be set; the set field names the node's type. Combinators (and/or/not) compose other nodes, leaves (text/filter/range/regex/exists) are terminal predicates.\n\nAll node types are modelled so the schema is future-proof, but v1 only accepts a narrow subset (top-level single leaf or a single and of leaves; text, filter, range and regex leaves; In/NotIn/All filter operators). Everything else is rejected with 422 Unprocessable Entity by the validation layer. exists is sketched for a future version and always rejected today.",
6363
+ "type": "object",
6364
+ "properties": {
6365
+ "and": {
6366
+ "description": "Combinators.",
6367
+ "type": "array",
6368
+ "items": {
6369
+ "$ref": "#/components/schemas/WhereNode"
6370
+ }
6371
+ },
6372
+ "exists": {
6373
+ "$ref": "#/components/schemas/ExistsPredicate"
6374
+ },
6375
+ "filter": {
6376
+ "$ref": "#/components/schemas/FilterPredicate"
6377
+ },
6378
+ "not": {
6379
+ "$ref": "#/components/schemas/WhereNode"
6380
+ },
6381
+ "or": {
6382
+ "type": "array",
6383
+ "items": {
6384
+ "$ref": "#/components/schemas/WhereNode"
6385
+ }
6386
+ },
6387
+ "range": {
6388
+ "$ref": "#/components/schemas/RangePredicate"
6389
+ },
6390
+ "regex": {
6391
+ "$ref": "#/components/schemas/RegexPredicate"
6392
+ },
6393
+ "text": {
6394
+ "description": "Leaves.",
6395
+ "$ref": "#/components/schemas/TextPredicate"
6396
+ }
6397
+ }
6398
+ },
5925
6399
  "APIResource": {
5926
6400
  "description": "APIResource specifies the name of a resource and whether it is namespaced.",
5927
6401
  "type": "object",
@@ -6116,6 +6590,53 @@
6116
6590
  "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff",
6117
6591
  "type": "object"
6118
6592
  },
6593
+ "LabelSelector": {
6594
+ "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
6595
+ "type": "object",
6596
+ "properties": {
6597
+ "matchExpressions": {
6598
+ "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
6599
+ "type": "array",
6600
+ "items": {
6601
+ "$ref": "#/components/schemas/LabelSelectorRequirement"
6602
+ },
6603
+ "x-kubernetes-list-type": "atomic"
6604
+ },
6605
+ "matchLabels": {
6606
+ "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
6607
+ "type": "object",
6608
+ "additionalProperties": {
6609
+ "type": "string"
6610
+ }
6611
+ }
6612
+ },
6613
+ "x-kubernetes-map-type": "atomic"
6614
+ },
6615
+ "LabelSelectorRequirement": {
6616
+ "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
6617
+ "type": "object",
6618
+ "required": ["key", "operator"],
6619
+ "properties": {
6620
+ "key": {
6621
+ "description": "key is the label key that the selector applies to.",
6622
+ "type": "string",
6623
+ "default": ""
6624
+ },
6625
+ "operator": {
6626
+ "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
6627
+ "type": "string",
6628
+ "default": ""
6629
+ },
6630
+ "values": {
6631
+ "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
6632
+ "type": "array",
6633
+ "items": {
6634
+ "type": "string"
6635
+ },
6636
+ "x-kubernetes-list-type": "atomic"
6637
+ }
6638
+ }
6639
+ },
6119
6640
  "ListMeta": {
6120
6641
  "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
6121
6642
  "type": "object",