@grafana/openapi 13.2.3 → 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.
- package/dist/api/openapi3.json +358 -247
- package/dist/apis/collections.grafana.app-v1alpha1.json +3 -14
- package/dist/apis/correlations.grafana.app-v0alpha1.json +411 -0
- package/dist/apis/dashboard.grafana.app-v0alpha1.json +865 -105
- package/dist/apis/dashboard.grafana.app-v1beta1.json +733 -6
- package/dist/apis/dashboard.grafana.app-v2.json +821 -194
- package/dist/apis/dashboard.grafana.app-v2alpha1.json +803 -208
- package/dist/apis/dashboard.grafana.app-v2beta1.json +985 -374
- package/dist/apis/folder.grafana.app-v1.json +644 -20
- package/dist/apis/folder.grafana.app-v1beta1.json +644 -20
- package/dist/apis/grafana-testdata-datasource.datasource.grafana.app-v0alpha1.json +3 -21
- package/dist/apis/historian.alerting.grafana.app-v0alpha1.json +411 -0
- package/dist/apis/iam.grafana.app-v0alpha1.json +2397 -748
- package/dist/apis/logsdrilldown.grafana.app-v1beta1.json +448 -0
- package/dist/apis/notifications.alerting.grafana.app-v0alpha1.json +596 -0
- package/dist/apis/notifications.alerting.grafana.app-v1beta1.json +596 -0
- package/dist/apis/playlist.grafana.app-v0alpha1.json +415 -0
- package/dist/apis/playlist.grafana.app-v1.json +415 -0
- package/dist/apis/preferences.grafana.app-v1.json +3 -9
- package/dist/apis/preferences.grafana.app-v1alpha1.json +3 -9
- package/dist/apis/provisioning.grafana.app-v0alpha1.json +649 -151
- package/dist/apis/provisioning.grafana.app-v1beta1.json +634 -100
- package/dist/apis/query.grafana.app-v0alpha1.json +14 -11
- package/dist/apis/quotas.grafana.app-v0alpha1.json +1 -2
- package/dist/apis/rules.alerting.grafana.app-v0alpha1.json +3027 -767
- package/dist/apis/rules.alerting.grafana.app-v1beta1.json +4541 -0
- package/dist/apis/search.grafana.app-v0alpha1.json +693 -0
- package/dist/apis/shorturl.grafana.app-v1beta1.json +411 -0
- package/package.json +3 -3
|
@@ -397,6 +397,43 @@
|
|
|
397
397
|
}
|
|
398
398
|
]
|
|
399
399
|
},
|
|
400
|
+
"/configs/search": {
|
|
401
|
+
"post": {
|
|
402
|
+
"tags": ["Search"],
|
|
403
|
+
"description": "Search Config resources in a namespace.",
|
|
404
|
+
"operationId": "listConfigSearchV1beta1",
|
|
405
|
+
"parameters": [],
|
|
406
|
+
"requestBody": {
|
|
407
|
+
"description": "A SearchQuery describing what to match, sort and return.",
|
|
408
|
+
"content": {
|
|
409
|
+
"application/json": {
|
|
410
|
+
"schema": {
|
|
411
|
+
"$ref": "#/components/schemas/SearchQuery"
|
|
412
|
+
},
|
|
413
|
+
"example": {
|
|
414
|
+
"kind": "SearchQuery",
|
|
415
|
+
"apiVersion": "search.grafana.app/v0alpha1",
|
|
416
|
+
"facetLimit": 0,
|
|
417
|
+
"limit": 10
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"required": true
|
|
422
|
+
},
|
|
423
|
+
"responses": {
|
|
424
|
+
"200": {
|
|
425
|
+
"description": "A SearchResults envelope.",
|
|
426
|
+
"content": {
|
|
427
|
+
"application/json": {
|
|
428
|
+
"schema": {
|
|
429
|
+
"$ref": "#/components/schemas/SearchResults"
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
},
|
|
400
437
|
"/configs/{name}": {
|
|
401
438
|
"get": {
|
|
402
439
|
"tags": ["Config"],
|
|
@@ -1344,6 +1381,43 @@
|
|
|
1344
1381
|
}
|
|
1345
1382
|
]
|
|
1346
1383
|
},
|
|
1384
|
+
"/inhibitionrules/search": {
|
|
1385
|
+
"post": {
|
|
1386
|
+
"tags": ["Search"],
|
|
1387
|
+
"description": "Search InhibitionRule resources in a namespace.",
|
|
1388
|
+
"operationId": "listInhibitionRuleSearchV1beta1",
|
|
1389
|
+
"parameters": [],
|
|
1390
|
+
"requestBody": {
|
|
1391
|
+
"description": "A SearchQuery describing what to match, sort and return.",
|
|
1392
|
+
"content": {
|
|
1393
|
+
"application/json": {
|
|
1394
|
+
"schema": {
|
|
1395
|
+
"$ref": "#/components/schemas/SearchQuery"
|
|
1396
|
+
},
|
|
1397
|
+
"example": {
|
|
1398
|
+
"kind": "SearchQuery",
|
|
1399
|
+
"apiVersion": "search.grafana.app/v0alpha1",
|
|
1400
|
+
"facetLimit": 0,
|
|
1401
|
+
"limit": 10
|
|
1402
|
+
}
|
|
1403
|
+
}
|
|
1404
|
+
},
|
|
1405
|
+
"required": true
|
|
1406
|
+
},
|
|
1407
|
+
"responses": {
|
|
1408
|
+
"200": {
|
|
1409
|
+
"description": "A SearchResults envelope.",
|
|
1410
|
+
"content": {
|
|
1411
|
+
"application/json": {
|
|
1412
|
+
"schema": {
|
|
1413
|
+
"$ref": "#/components/schemas/SearchResults"
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
},
|
|
1347
1421
|
"/inhibitionrules/{name}": {
|
|
1348
1422
|
"get": {
|
|
1349
1423
|
"tags": ["InhibitionRule"],
|
|
@@ -2075,6 +2149,43 @@
|
|
|
2075
2149
|
}
|
|
2076
2150
|
]
|
|
2077
2151
|
},
|
|
2152
|
+
"/receivers/search": {
|
|
2153
|
+
"post": {
|
|
2154
|
+
"tags": ["Search"],
|
|
2155
|
+
"description": "Search Receiver resources in a namespace.",
|
|
2156
|
+
"operationId": "listReceiverSearchV1beta1",
|
|
2157
|
+
"parameters": [],
|
|
2158
|
+
"requestBody": {
|
|
2159
|
+
"description": "A SearchQuery describing what to match, sort and return.",
|
|
2160
|
+
"content": {
|
|
2161
|
+
"application/json": {
|
|
2162
|
+
"schema": {
|
|
2163
|
+
"$ref": "#/components/schemas/SearchQuery"
|
|
2164
|
+
},
|
|
2165
|
+
"example": {
|
|
2166
|
+
"kind": "SearchQuery",
|
|
2167
|
+
"apiVersion": "search.grafana.app/v0alpha1",
|
|
2168
|
+
"facetLimit": 0,
|
|
2169
|
+
"limit": 10
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
},
|
|
2173
|
+
"required": true
|
|
2174
|
+
},
|
|
2175
|
+
"responses": {
|
|
2176
|
+
"200": {
|
|
2177
|
+
"description": "A SearchResults envelope.",
|
|
2178
|
+
"content": {
|
|
2179
|
+
"application/json": {
|
|
2180
|
+
"schema": {
|
|
2181
|
+
"$ref": "#/components/schemas/SearchResults"
|
|
2182
|
+
}
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
}
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
},
|
|
2078
2189
|
"/receivers/{name}": {
|
|
2079
2190
|
"get": {
|
|
2080
2191
|
"tags": ["Receiver"],
|
|
@@ -2815,6 +2926,43 @@
|
|
|
2815
2926
|
}
|
|
2816
2927
|
]
|
|
2817
2928
|
},
|
|
2929
|
+
"/routingtrees/search": {
|
|
2930
|
+
"post": {
|
|
2931
|
+
"tags": ["Search"],
|
|
2932
|
+
"description": "Search RoutingTree resources in a namespace.",
|
|
2933
|
+
"operationId": "listRoutingTreeSearchV1beta1",
|
|
2934
|
+
"parameters": [],
|
|
2935
|
+
"requestBody": {
|
|
2936
|
+
"description": "A SearchQuery describing what to match, sort and return.",
|
|
2937
|
+
"content": {
|
|
2938
|
+
"application/json": {
|
|
2939
|
+
"schema": {
|
|
2940
|
+
"$ref": "#/components/schemas/SearchQuery"
|
|
2941
|
+
},
|
|
2942
|
+
"example": {
|
|
2943
|
+
"kind": "SearchQuery",
|
|
2944
|
+
"apiVersion": "search.grafana.app/v0alpha1",
|
|
2945
|
+
"facetLimit": 0,
|
|
2946
|
+
"limit": 10
|
|
2947
|
+
}
|
|
2948
|
+
}
|
|
2949
|
+
},
|
|
2950
|
+
"required": true
|
|
2951
|
+
},
|
|
2952
|
+
"responses": {
|
|
2953
|
+
"200": {
|
|
2954
|
+
"description": "A SearchResults envelope.",
|
|
2955
|
+
"content": {
|
|
2956
|
+
"application/json": {
|
|
2957
|
+
"schema": {
|
|
2958
|
+
"$ref": "#/components/schemas/SearchResults"
|
|
2959
|
+
}
|
|
2960
|
+
}
|
|
2961
|
+
}
|
|
2962
|
+
}
|
|
2963
|
+
}
|
|
2964
|
+
}
|
|
2965
|
+
},
|
|
2818
2966
|
"/routingtrees/{name}": {
|
|
2819
2967
|
"get": {
|
|
2820
2968
|
"tags": ["RoutingTree"],
|
|
@@ -3518,6 +3666,43 @@
|
|
|
3518
3666
|
}
|
|
3519
3667
|
]
|
|
3520
3668
|
},
|
|
3669
|
+
"/templategroups/search": {
|
|
3670
|
+
"post": {
|
|
3671
|
+
"tags": ["Search"],
|
|
3672
|
+
"description": "Search TemplateGroup resources in a namespace.",
|
|
3673
|
+
"operationId": "listTemplateGroupSearchV1beta1",
|
|
3674
|
+
"parameters": [],
|
|
3675
|
+
"requestBody": {
|
|
3676
|
+
"description": "A SearchQuery describing what to match, sort and return.",
|
|
3677
|
+
"content": {
|
|
3678
|
+
"application/json": {
|
|
3679
|
+
"schema": {
|
|
3680
|
+
"$ref": "#/components/schemas/SearchQuery"
|
|
3681
|
+
},
|
|
3682
|
+
"example": {
|
|
3683
|
+
"kind": "SearchQuery",
|
|
3684
|
+
"apiVersion": "search.grafana.app/v0alpha1",
|
|
3685
|
+
"facetLimit": 0,
|
|
3686
|
+
"limit": 10
|
|
3687
|
+
}
|
|
3688
|
+
}
|
|
3689
|
+
},
|
|
3690
|
+
"required": true
|
|
3691
|
+
},
|
|
3692
|
+
"responses": {
|
|
3693
|
+
"200": {
|
|
3694
|
+
"description": "A SearchResults envelope.",
|
|
3695
|
+
"content": {
|
|
3696
|
+
"application/json": {
|
|
3697
|
+
"schema": {
|
|
3698
|
+
"$ref": "#/components/schemas/SearchResults"
|
|
3699
|
+
}
|
|
3700
|
+
}
|
|
3701
|
+
}
|
|
3702
|
+
}
|
|
3703
|
+
}
|
|
3704
|
+
}
|
|
3705
|
+
},
|
|
3521
3706
|
"/templategroups/{name}": {
|
|
3522
3707
|
"get": {
|
|
3523
3708
|
"tags": ["TemplateGroup"],
|
|
@@ -4221,6 +4406,43 @@
|
|
|
4221
4406
|
}
|
|
4222
4407
|
]
|
|
4223
4408
|
},
|
|
4409
|
+
"/timeintervals/search": {
|
|
4410
|
+
"post": {
|
|
4411
|
+
"tags": ["Search"],
|
|
4412
|
+
"description": "Search TimeInterval resources in a namespace.",
|
|
4413
|
+
"operationId": "listTimeIntervalSearchV1beta1",
|
|
4414
|
+
"parameters": [],
|
|
4415
|
+
"requestBody": {
|
|
4416
|
+
"description": "A SearchQuery describing what to match, sort and return.",
|
|
4417
|
+
"content": {
|
|
4418
|
+
"application/json": {
|
|
4419
|
+
"schema": {
|
|
4420
|
+
"$ref": "#/components/schemas/SearchQuery"
|
|
4421
|
+
},
|
|
4422
|
+
"example": {
|
|
4423
|
+
"kind": "SearchQuery",
|
|
4424
|
+
"apiVersion": "search.grafana.app/v0alpha1",
|
|
4425
|
+
"facetLimit": 0,
|
|
4426
|
+
"limit": 10
|
|
4427
|
+
}
|
|
4428
|
+
}
|
|
4429
|
+
},
|
|
4430
|
+
"required": true
|
|
4431
|
+
},
|
|
4432
|
+
"responses": {
|
|
4433
|
+
"200": {
|
|
4434
|
+
"description": "A SearchResults envelope.",
|
|
4435
|
+
"content": {
|
|
4436
|
+
"application/json": {
|
|
4437
|
+
"schema": {
|
|
4438
|
+
"$ref": "#/components/schemas/SearchResults"
|
|
4439
|
+
}
|
|
4440
|
+
}
|
|
4441
|
+
}
|
|
4442
|
+
}
|
|
4443
|
+
}
|
|
4444
|
+
}
|
|
4445
|
+
},
|
|
4224
4446
|
"/timeintervals/{name}": {
|
|
4225
4447
|
"get": {
|
|
4226
4448
|
"tags": ["TimeInterval"],
|
|
@@ -5566,6 +5788,333 @@
|
|
|
5566
5788
|
},
|
|
5567
5789
|
"additionalProperties": false
|
|
5568
5790
|
},
|
|
5791
|
+
"Unstructured": {
|
|
5792
|
+
"type": "object",
|
|
5793
|
+
"additionalProperties": true,
|
|
5794
|
+
"x-kubernetes-preserve-unknown-fields": true
|
|
5795
|
+
},
|
|
5796
|
+
"ExistsPredicate": {
|
|
5797
|
+
"description": "ExistsPredicate is a future field-existence predicate. Modelled for schema stability; always rejected in v1.",
|
|
5798
|
+
"type": "object",
|
|
5799
|
+
"required": ["field"],
|
|
5800
|
+
"properties": {
|
|
5801
|
+
"field": {
|
|
5802
|
+
"type": "string",
|
|
5803
|
+
"default": ""
|
|
5804
|
+
}
|
|
5805
|
+
}
|
|
5806
|
+
},
|
|
5807
|
+
"FacetTerm": {
|
|
5808
|
+
"description": "FacetTerm is a single facet term and its count.",
|
|
5809
|
+
"type": "object",
|
|
5810
|
+
"required": ["value", "count"],
|
|
5811
|
+
"properties": {
|
|
5812
|
+
"count": {
|
|
5813
|
+
"type": "integer",
|
|
5814
|
+
"format": "int64",
|
|
5815
|
+
"default": 0
|
|
5816
|
+
},
|
|
5817
|
+
"value": {
|
|
5818
|
+
"type": "string",
|
|
5819
|
+
"default": ""
|
|
5820
|
+
}
|
|
5821
|
+
}
|
|
5822
|
+
},
|
|
5823
|
+
"FilterPredicate": {
|
|
5824
|
+
"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.",
|
|
5825
|
+
"type": "object",
|
|
5826
|
+
"required": ["field", "operator", "values"],
|
|
5827
|
+
"properties": {
|
|
5828
|
+
"field": {
|
|
5829
|
+
"type": "string",
|
|
5830
|
+
"default": ""
|
|
5831
|
+
},
|
|
5832
|
+
"operator": {
|
|
5833
|
+
"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.",
|
|
5834
|
+
"type": "string",
|
|
5835
|
+
"default": ""
|
|
5836
|
+
},
|
|
5837
|
+
"values": {
|
|
5838
|
+
"type": "array",
|
|
5839
|
+
"items": {
|
|
5840
|
+
"type": "string"
|
|
5841
|
+
}
|
|
5842
|
+
}
|
|
5843
|
+
}
|
|
5844
|
+
},
|
|
5845
|
+
"RangePredicate": {
|
|
5846
|
+
"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.",
|
|
5847
|
+
"type": "object",
|
|
5848
|
+
"required": ["field"],
|
|
5849
|
+
"properties": {
|
|
5850
|
+
"field": {
|
|
5851
|
+
"type": "string",
|
|
5852
|
+
"default": ""
|
|
5853
|
+
},
|
|
5854
|
+
"gt": {
|
|
5855
|
+
"type": "number",
|
|
5856
|
+
"format": "double"
|
|
5857
|
+
},
|
|
5858
|
+
"gte": {
|
|
5859
|
+
"type": "number",
|
|
5860
|
+
"format": "double"
|
|
5861
|
+
},
|
|
5862
|
+
"lt": {
|
|
5863
|
+
"type": "number",
|
|
5864
|
+
"format": "double"
|
|
5865
|
+
},
|
|
5866
|
+
"lte": {
|
|
5867
|
+
"type": "number",
|
|
5868
|
+
"format": "double"
|
|
5869
|
+
}
|
|
5870
|
+
}
|
|
5871
|
+
},
|
|
5872
|
+
"RegexPredicate": {
|
|
5873
|
+
"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.",
|
|
5874
|
+
"type": "object",
|
|
5875
|
+
"required": ["field", "pattern"],
|
|
5876
|
+
"properties": {
|
|
5877
|
+
"field": {
|
|
5878
|
+
"type": "string",
|
|
5879
|
+
"default": ""
|
|
5880
|
+
},
|
|
5881
|
+
"negate": {
|
|
5882
|
+
"description": "Negate inverts the match: the field must not match the pattern.",
|
|
5883
|
+
"type": "boolean"
|
|
5884
|
+
},
|
|
5885
|
+
"pattern": {
|
|
5886
|
+
"type": "string",
|
|
5887
|
+
"default": ""
|
|
5888
|
+
}
|
|
5889
|
+
}
|
|
5890
|
+
},
|
|
5891
|
+
"ResourceRef": {
|
|
5892
|
+
"description": "ResourceRef is the full identity of a returned item. Namespace is implicit from the URL and omitted.",
|
|
5893
|
+
"type": "object",
|
|
5894
|
+
"required": ["group", "resource", "kind", "name"],
|
|
5895
|
+
"properties": {
|
|
5896
|
+
"group": {
|
|
5897
|
+
"type": "string",
|
|
5898
|
+
"default": ""
|
|
5899
|
+
},
|
|
5900
|
+
"kind": {
|
|
5901
|
+
"type": "string",
|
|
5902
|
+
"default": ""
|
|
5903
|
+
},
|
|
5904
|
+
"name": {
|
|
5905
|
+
"type": "string",
|
|
5906
|
+
"default": ""
|
|
5907
|
+
},
|
|
5908
|
+
"resource": {
|
|
5909
|
+
"type": "string",
|
|
5910
|
+
"default": ""
|
|
5911
|
+
}
|
|
5912
|
+
}
|
|
5913
|
+
},
|
|
5914
|
+
"ResultItem": {
|
|
5915
|
+
"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.",
|
|
5916
|
+
"type": "object",
|
|
5917
|
+
"required": ["resource"],
|
|
5918
|
+
"properties": {
|
|
5919
|
+
"fields": {
|
|
5920
|
+
"description": "Fields holds the JSON values for the requested (or default) fields. Array-typed fields are returned as JSON arrays. Absent fields are omitted.",
|
|
5921
|
+
"$ref": "#/components/schemas/Unstructured"
|
|
5922
|
+
},
|
|
5923
|
+
"resource": {
|
|
5924
|
+
"default": {},
|
|
5925
|
+
"$ref": "#/components/schemas/ResourceRef"
|
|
5926
|
+
},
|
|
5927
|
+
"score": {
|
|
5928
|
+
"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).",
|
|
5929
|
+
"type": "number",
|
|
5930
|
+
"format": "double"
|
|
5931
|
+
}
|
|
5932
|
+
}
|
|
5933
|
+
},
|
|
5934
|
+
"ResultsMetadata": {
|
|
5935
|
+
"description": "ResultsMetadata carries the pagination token and the total hit count.",
|
|
5936
|
+
"type": "object",
|
|
5937
|
+
"required": ["totalHits", "totalHitsRelation"],
|
|
5938
|
+
"properties": {
|
|
5939
|
+
"continue": {
|
|
5940
|
+
"type": "string"
|
|
5941
|
+
},
|
|
5942
|
+
"totalHits": {
|
|
5943
|
+
"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.",
|
|
5944
|
+
"type": "integer",
|
|
5945
|
+
"format": "int64",
|
|
5946
|
+
"default": 0
|
|
5947
|
+
},
|
|
5948
|
+
"totalHitsRelation": {
|
|
5949
|
+
"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.",
|
|
5950
|
+
"type": "string",
|
|
5951
|
+
"default": ""
|
|
5952
|
+
}
|
|
5953
|
+
}
|
|
5954
|
+
},
|
|
5955
|
+
"SearchQuery": {
|
|
5956
|
+
"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.",
|
|
5957
|
+
"type": "object",
|
|
5958
|
+
"properties": {
|
|
5959
|
+
"apiVersion": {
|
|
5960
|
+
"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",
|
|
5961
|
+
"type": "string"
|
|
5962
|
+
},
|
|
5963
|
+
"continue": {
|
|
5964
|
+
"description": "Continue is an opaque pagination token from a previous page.",
|
|
5965
|
+
"type": "string"
|
|
5966
|
+
},
|
|
5967
|
+
"facetLimit": {
|
|
5968
|
+
"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.",
|
|
5969
|
+
"type": "integer",
|
|
5970
|
+
"format": "int64"
|
|
5971
|
+
},
|
|
5972
|
+
"facets": {
|
|
5973
|
+
"type": "array",
|
|
5974
|
+
"items": {
|
|
5975
|
+
"type": "string"
|
|
5976
|
+
}
|
|
5977
|
+
},
|
|
5978
|
+
"fields": {
|
|
5979
|
+
"type": "array",
|
|
5980
|
+
"items": {
|
|
5981
|
+
"type": "string"
|
|
5982
|
+
}
|
|
5983
|
+
},
|
|
5984
|
+
"kind": {
|
|
5985
|
+
"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",
|
|
5986
|
+
"type": "string"
|
|
5987
|
+
},
|
|
5988
|
+
"labelSelector": {
|
|
5989
|
+
"description": "LabelSelector filters on metadata.labels, ANDed with Where.",
|
|
5990
|
+
"$ref": "#/components/schemas/LabelSelector"
|
|
5991
|
+
},
|
|
5992
|
+
"limit": {
|
|
5993
|
+
"description": "Limit is the page size. Zero uses the default; values above the maximum are clamped.",
|
|
5994
|
+
"type": "integer",
|
|
5995
|
+
"format": "int64"
|
|
5996
|
+
},
|
|
5997
|
+
"sort": {
|
|
5998
|
+
"type": "array",
|
|
5999
|
+
"items": {
|
|
6000
|
+
"$ref": "#/components/schemas/SortField"
|
|
6001
|
+
}
|
|
6002
|
+
},
|
|
6003
|
+
"where": {
|
|
6004
|
+
"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).",
|
|
6005
|
+
"$ref": "#/components/schemas/WhereNode"
|
|
6006
|
+
}
|
|
6007
|
+
}
|
|
6008
|
+
},
|
|
6009
|
+
"SearchResults": {
|
|
6010
|
+
"description": "SearchResults is the response body for POST .../{resource}/search.",
|
|
6011
|
+
"type": "object",
|
|
6012
|
+
"required": ["metadata", "items"],
|
|
6013
|
+
"properties": {
|
|
6014
|
+
"apiVersion": {
|
|
6015
|
+
"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",
|
|
6016
|
+
"type": "string"
|
|
6017
|
+
},
|
|
6018
|
+
"facets": {
|
|
6019
|
+
"description": "Facets holds term counts per requested facet field. Counts are computed over a bounded sample window, so they are best-effort/approximate.",
|
|
6020
|
+
"type": "object",
|
|
6021
|
+
"additionalProperties": {
|
|
6022
|
+
"type": "array",
|
|
6023
|
+
"items": {
|
|
6024
|
+
"$ref": "#/components/schemas/FacetTerm"
|
|
6025
|
+
}
|
|
6026
|
+
}
|
|
6027
|
+
},
|
|
6028
|
+
"items": {
|
|
6029
|
+
"type": "array",
|
|
6030
|
+
"items": {
|
|
6031
|
+
"$ref": "#/components/schemas/ResultItem"
|
|
6032
|
+
}
|
|
6033
|
+
},
|
|
6034
|
+
"kind": {
|
|
6035
|
+
"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",
|
|
6036
|
+
"type": "string"
|
|
6037
|
+
},
|
|
6038
|
+
"metadata": {
|
|
6039
|
+
"default": {},
|
|
6040
|
+
"$ref": "#/components/schemas/ResultsMetadata"
|
|
6041
|
+
}
|
|
6042
|
+
}
|
|
6043
|
+
},
|
|
6044
|
+
"SortField": {
|
|
6045
|
+
"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.",
|
|
6046
|
+
"type": "object",
|
|
6047
|
+
"required": ["field"],
|
|
6048
|
+
"properties": {
|
|
6049
|
+
"direction": {
|
|
6050
|
+
"type": "string"
|
|
6051
|
+
},
|
|
6052
|
+
"field": {
|
|
6053
|
+
"type": "string",
|
|
6054
|
+
"default": ""
|
|
6055
|
+
}
|
|
6056
|
+
}
|
|
6057
|
+
},
|
|
6058
|
+
"TextPredicate": {
|
|
6059
|
+
"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\"]).",
|
|
6060
|
+
"type": "object",
|
|
6061
|
+
"required": ["value"],
|
|
6062
|
+
"properties": {
|
|
6063
|
+
"boost": {
|
|
6064
|
+
"description": "Boost is a future per-leaf score multiplier. Setting it is rejected in v1.",
|
|
6065
|
+
"type": "number",
|
|
6066
|
+
"format": "double"
|
|
6067
|
+
},
|
|
6068
|
+
"fields": {
|
|
6069
|
+
"type": "array",
|
|
6070
|
+
"items": {
|
|
6071
|
+
"type": "string"
|
|
6072
|
+
}
|
|
6073
|
+
},
|
|
6074
|
+
"value": {
|
|
6075
|
+
"type": "string",
|
|
6076
|
+
"default": ""
|
|
6077
|
+
}
|
|
6078
|
+
}
|
|
6079
|
+
},
|
|
6080
|
+
"WhereNode": {
|
|
6081
|
+
"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.",
|
|
6082
|
+
"type": "object",
|
|
6083
|
+
"properties": {
|
|
6084
|
+
"and": {
|
|
6085
|
+
"description": "Combinators.",
|
|
6086
|
+
"type": "array",
|
|
6087
|
+
"items": {
|
|
6088
|
+
"$ref": "#/components/schemas/WhereNode"
|
|
6089
|
+
}
|
|
6090
|
+
},
|
|
6091
|
+
"exists": {
|
|
6092
|
+
"$ref": "#/components/schemas/ExistsPredicate"
|
|
6093
|
+
},
|
|
6094
|
+
"filter": {
|
|
6095
|
+
"$ref": "#/components/schemas/FilterPredicate"
|
|
6096
|
+
},
|
|
6097
|
+
"not": {
|
|
6098
|
+
"$ref": "#/components/schemas/WhereNode"
|
|
6099
|
+
},
|
|
6100
|
+
"or": {
|
|
6101
|
+
"type": "array",
|
|
6102
|
+
"items": {
|
|
6103
|
+
"$ref": "#/components/schemas/WhereNode"
|
|
6104
|
+
}
|
|
6105
|
+
},
|
|
6106
|
+
"range": {
|
|
6107
|
+
"$ref": "#/components/schemas/RangePredicate"
|
|
6108
|
+
},
|
|
6109
|
+
"regex": {
|
|
6110
|
+
"$ref": "#/components/schemas/RegexPredicate"
|
|
6111
|
+
},
|
|
6112
|
+
"text": {
|
|
6113
|
+
"description": "Leaves.",
|
|
6114
|
+
"$ref": "#/components/schemas/TextPredicate"
|
|
6115
|
+
}
|
|
6116
|
+
}
|
|
6117
|
+
},
|
|
5569
6118
|
"APIResource": {
|
|
5570
6119
|
"description": "APIResource specifies the name of a resource and whether it is namespaced.",
|
|
5571
6120
|
"type": "object",
|
|
@@ -5716,6 +6265,53 @@
|
|
|
5716
6265
|
"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",
|
|
5717
6266
|
"type": "object"
|
|
5718
6267
|
},
|
|
6268
|
+
"LabelSelector": {
|
|
6269
|
+
"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.",
|
|
6270
|
+
"type": "object",
|
|
6271
|
+
"properties": {
|
|
6272
|
+
"matchExpressions": {
|
|
6273
|
+
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
|
|
6274
|
+
"type": "array",
|
|
6275
|
+
"items": {
|
|
6276
|
+
"$ref": "#/components/schemas/LabelSelectorRequirement"
|
|
6277
|
+
},
|
|
6278
|
+
"x-kubernetes-list-type": "atomic"
|
|
6279
|
+
},
|
|
6280
|
+
"matchLabels": {
|
|
6281
|
+
"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.",
|
|
6282
|
+
"type": "object",
|
|
6283
|
+
"additionalProperties": {
|
|
6284
|
+
"type": "string"
|
|
6285
|
+
}
|
|
6286
|
+
}
|
|
6287
|
+
},
|
|
6288
|
+
"x-kubernetes-map-type": "atomic"
|
|
6289
|
+
},
|
|
6290
|
+
"LabelSelectorRequirement": {
|
|
6291
|
+
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
|
|
6292
|
+
"type": "object",
|
|
6293
|
+
"required": ["key", "operator"],
|
|
6294
|
+
"properties": {
|
|
6295
|
+
"key": {
|
|
6296
|
+
"description": "key is the label key that the selector applies to.",
|
|
6297
|
+
"type": "string",
|
|
6298
|
+
"default": ""
|
|
6299
|
+
},
|
|
6300
|
+
"operator": {
|
|
6301
|
+
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
|
|
6302
|
+
"type": "string",
|
|
6303
|
+
"default": ""
|
|
6304
|
+
},
|
|
6305
|
+
"values": {
|
|
6306
|
+
"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.",
|
|
6307
|
+
"type": "array",
|
|
6308
|
+
"items": {
|
|
6309
|
+
"type": "string"
|
|
6310
|
+
},
|
|
6311
|
+
"x-kubernetes-list-type": "atomic"
|
|
6312
|
+
}
|
|
6313
|
+
}
|
|
6314
|
+
},
|
|
5719
6315
|
"ListMeta": {
|
|
5720
6316
|
"description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
|
|
5721
6317
|
"type": "object",
|