@grafana/openapi 13.2.0-28908703397 → 13.2.0-28985753600

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.
@@ -612,6 +612,709 @@
612
612
  }
613
613
  }
614
614
  ]
615
+ },
616
+ "/variables": {
617
+ "get": {
618
+ "tags": ["Variable"],
619
+ "description": "list or watch objects of kind Variable",
620
+ "operationId": "listVariable",
621
+ "parameters": [
622
+ {
623
+ "name": "continue",
624
+ "in": "query",
625
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
626
+ "schema": {
627
+ "type": "string",
628
+ "uniqueItems": true
629
+ }
630
+ },
631
+ {
632
+ "name": "fieldSelector",
633
+ "in": "query",
634
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
635
+ "schema": {
636
+ "type": "string",
637
+ "uniqueItems": true
638
+ }
639
+ },
640
+ {
641
+ "name": "labelSelector",
642
+ "in": "query",
643
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
644
+ "schema": {
645
+ "type": "string",
646
+ "uniqueItems": true
647
+ }
648
+ },
649
+ {
650
+ "name": "limit",
651
+ "in": "query",
652
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
653
+ "schema": {
654
+ "type": "integer",
655
+ "uniqueItems": true
656
+ }
657
+ },
658
+ {
659
+ "name": "resourceVersion",
660
+ "in": "query",
661
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
662
+ "schema": {
663
+ "type": "string",
664
+ "uniqueItems": true
665
+ }
666
+ },
667
+ {
668
+ "name": "timeoutSeconds",
669
+ "in": "query",
670
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
671
+ "schema": {
672
+ "type": "integer",
673
+ "uniqueItems": true
674
+ }
675
+ },
676
+ {
677
+ "name": "watch",
678
+ "in": "query",
679
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
680
+ "schema": {
681
+ "type": "boolean",
682
+ "uniqueItems": true
683
+ }
684
+ }
685
+ ],
686
+ "responses": {
687
+ "200": {
688
+ "description": "OK",
689
+ "content": {
690
+ "application/json": {
691
+ "schema": {
692
+ "$ref": "#/components/schemas/VariableList"
693
+ }
694
+ },
695
+ "application/json;stream=watch": {
696
+ "schema": {
697
+ "$ref": "#/components/schemas/VariableList"
698
+ }
699
+ },
700
+ "application/yaml": {
701
+ "schema": {
702
+ "$ref": "#/components/schemas/VariableList"
703
+ }
704
+ }
705
+ }
706
+ }
707
+ },
708
+ "x-kubernetes-action": "list",
709
+ "x-kubernetes-group-version-kind": {
710
+ "group": "dashboard.grafana.app",
711
+ "version": "v2beta1",
712
+ "kind": "Variable"
713
+ }
714
+ },
715
+ "post": {
716
+ "tags": ["Variable"],
717
+ "description": "create a Variable",
718
+ "operationId": "createVariable",
719
+ "parameters": [
720
+ {
721
+ "name": "dryRun",
722
+ "in": "query",
723
+ "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",
724
+ "schema": {
725
+ "type": "string",
726
+ "uniqueItems": true
727
+ }
728
+ },
729
+ {
730
+ "name": "fieldManager",
731
+ "in": "query",
732
+ "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.",
733
+ "schema": {
734
+ "type": "string",
735
+ "uniqueItems": true
736
+ }
737
+ },
738
+ {
739
+ "name": "fieldValidation",
740
+ "in": "query",
741
+ "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.",
742
+ "schema": {
743
+ "type": "string",
744
+ "uniqueItems": true
745
+ }
746
+ }
747
+ ],
748
+ "requestBody": {
749
+ "content": {
750
+ "application/json": {
751
+ "schema": {
752
+ "$ref": "#/components/schemas/Variable"
753
+ }
754
+ },
755
+ "application/yaml": {
756
+ "schema": {
757
+ "$ref": "#/components/schemas/Variable"
758
+ }
759
+ }
760
+ },
761
+ "required": true
762
+ },
763
+ "responses": {
764
+ "200": {
765
+ "description": "OK",
766
+ "content": {
767
+ "application/json": {
768
+ "schema": {
769
+ "$ref": "#/components/schemas/Variable"
770
+ }
771
+ },
772
+ "application/yaml": {
773
+ "schema": {
774
+ "$ref": "#/components/schemas/Variable"
775
+ }
776
+ }
777
+ }
778
+ },
779
+ "201": {
780
+ "description": "Created",
781
+ "content": {
782
+ "application/json": {
783
+ "schema": {
784
+ "$ref": "#/components/schemas/Variable"
785
+ }
786
+ },
787
+ "application/yaml": {
788
+ "schema": {
789
+ "$ref": "#/components/schemas/Variable"
790
+ }
791
+ }
792
+ }
793
+ },
794
+ "202": {
795
+ "description": "Accepted",
796
+ "content": {
797
+ "application/json": {
798
+ "schema": {
799
+ "$ref": "#/components/schemas/Variable"
800
+ }
801
+ },
802
+ "application/yaml": {
803
+ "schema": {
804
+ "$ref": "#/components/schemas/Variable"
805
+ }
806
+ }
807
+ }
808
+ }
809
+ },
810
+ "x-kubernetes-action": "post",
811
+ "x-kubernetes-group-version-kind": {
812
+ "group": "dashboard.grafana.app",
813
+ "version": "v2beta1",
814
+ "kind": "Variable"
815
+ }
816
+ },
817
+ "delete": {
818
+ "tags": ["Variable"],
819
+ "description": "delete collection of Variable",
820
+ "operationId": "deletecollectionVariable",
821
+ "parameters": [
822
+ {
823
+ "name": "continue",
824
+ "in": "query",
825
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
826
+ "schema": {
827
+ "type": "string",
828
+ "uniqueItems": true
829
+ }
830
+ },
831
+ {
832
+ "name": "dryRun",
833
+ "in": "query",
834
+ "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",
835
+ "schema": {
836
+ "type": "string",
837
+ "uniqueItems": true
838
+ }
839
+ },
840
+ {
841
+ "name": "fieldSelector",
842
+ "in": "query",
843
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
844
+ "schema": {
845
+ "type": "string",
846
+ "uniqueItems": true
847
+ }
848
+ },
849
+ {
850
+ "name": "gracePeriodSeconds",
851
+ "in": "query",
852
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
853
+ "schema": {
854
+ "type": "integer",
855
+ "uniqueItems": true
856
+ }
857
+ },
858
+ {
859
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
860
+ "in": "query",
861
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
862
+ "schema": {
863
+ "type": "boolean",
864
+ "uniqueItems": true
865
+ }
866
+ },
867
+ {
868
+ "name": "labelSelector",
869
+ "in": "query",
870
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
871
+ "schema": {
872
+ "type": "string",
873
+ "uniqueItems": true
874
+ }
875
+ },
876
+ {
877
+ "name": "limit",
878
+ "in": "query",
879
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
880
+ "schema": {
881
+ "type": "integer",
882
+ "uniqueItems": true
883
+ }
884
+ },
885
+ {
886
+ "name": "orphanDependents",
887
+ "in": "query",
888
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
889
+ "schema": {
890
+ "type": "boolean",
891
+ "uniqueItems": true
892
+ }
893
+ },
894
+ {
895
+ "name": "propagationPolicy",
896
+ "in": "query",
897
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
898
+ "schema": {
899
+ "type": "string",
900
+ "uniqueItems": true
901
+ }
902
+ },
903
+ {
904
+ "name": "resourceVersion",
905
+ "in": "query",
906
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
907
+ "schema": {
908
+ "type": "string",
909
+ "uniqueItems": true
910
+ }
911
+ },
912
+ {
913
+ "name": "resourceVersionMatch",
914
+ "in": "query",
915
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
916
+ "schema": {
917
+ "type": "string",
918
+ "uniqueItems": true
919
+ }
920
+ },
921
+ {
922
+ "name": "sendInitialEvents",
923
+ "in": "query",
924
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
925
+ "schema": {
926
+ "type": "boolean",
927
+ "uniqueItems": true
928
+ }
929
+ },
930
+ {
931
+ "name": "shardSelector",
932
+ "in": "query",
933
+ "description": "shardSelector restricts the list of returned objects using a CEL-based shard selector expression. The format uses the shardRange() function combined with || (logical OR) to specify one or more hash ranges:\n\n shardRange(object.metadata.uid, '0x0', '0x8000000000000000')\n shardRange(object.metadata.uid, '0x0', '0x8000000000000000') || shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000')\n\nField paths use CEL-style object-rooted syntax (e.g. \"object.metadata.uid\"), NOT the fieldSelector format (\"metadata.uid\"). Currently supported paths:\n - object.metadata.uid\n - object.metadata.namespace\n\nhexStart and hexEnd are single-quoted CEL string literals with a '0x' prefix, defining the inclusive lower and exclusive upper bounds over the 64-bit FNV-1a hash space. The full range is [0x0, 0x10000000000000000), where the exclusive upper bound equals 2^64.\n\nExamples:\n 2-shard split:\n shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x8000000000000000')\n shard 1: shardRange(object.metadata.uid, '0x8000000000000000', '0x10000000000000000')\n 4-shard split:\n shard 0: shardRange(object.metadata.uid, '0x0000000000000000', '0x4000000000000000')\n shard 1: shardRange(object.metadata.uid, '0x4000000000000000', '0x8000000000000000')\n shard 2: shardRange(object.metadata.uid, '0x8000000000000000', '0xc000000000000000')\n shard 3: shardRange(object.metadata.uid, '0xc000000000000000', '0x10000000000000000')\n\nThis is an alpha field and requires enabling the ShardedListAndWatch feature gate.",
934
+ "schema": {
935
+ "type": "string",
936
+ "uniqueItems": true
937
+ }
938
+ },
939
+ {
940
+ "name": "timeoutSeconds",
941
+ "in": "query",
942
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
943
+ "schema": {
944
+ "type": "integer",
945
+ "uniqueItems": true
946
+ }
947
+ }
948
+ ],
949
+ "responses": {
950
+ "200": {
951
+ "description": "OK",
952
+ "content": {
953
+ "application/json": {
954
+ "schema": {
955
+ "$ref": "#/components/schemas/Status"
956
+ }
957
+ },
958
+ "application/yaml": {
959
+ "schema": {
960
+ "$ref": "#/components/schemas/Status"
961
+ }
962
+ }
963
+ }
964
+ }
965
+ },
966
+ "x-kubernetes-action": "deletecollection",
967
+ "x-kubernetes-group-version-kind": {
968
+ "group": "dashboard.grafana.app",
969
+ "version": "v2beta1",
970
+ "kind": "Variable"
971
+ }
972
+ },
973
+ "parameters": [
974
+ {
975
+ "name": "pretty",
976
+ "in": "query",
977
+ "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).",
978
+ "schema": {
979
+ "type": "string",
980
+ "uniqueItems": true
981
+ }
982
+ }
983
+ ]
984
+ },
985
+ "/variables/{name}": {
986
+ "get": {
987
+ "tags": ["Variable"],
988
+ "description": "read the specified Variable",
989
+ "operationId": "getVariable",
990
+ "responses": {
991
+ "200": {
992
+ "description": "OK",
993
+ "content": {
994
+ "application/json": {
995
+ "schema": {
996
+ "$ref": "#/components/schemas/Variable"
997
+ }
998
+ },
999
+ "application/yaml": {
1000
+ "schema": {
1001
+ "$ref": "#/components/schemas/Variable"
1002
+ }
1003
+ }
1004
+ }
1005
+ }
1006
+ },
1007
+ "x-kubernetes-action": "get",
1008
+ "x-kubernetes-group-version-kind": {
1009
+ "group": "dashboard.grafana.app",
1010
+ "version": "v2beta1",
1011
+ "kind": "Variable"
1012
+ }
1013
+ },
1014
+ "put": {
1015
+ "tags": ["Variable"],
1016
+ "description": "replace the specified Variable",
1017
+ "operationId": "replaceVariable",
1018
+ "parameters": [
1019
+ {
1020
+ "name": "dryRun",
1021
+ "in": "query",
1022
+ "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",
1023
+ "schema": {
1024
+ "type": "string",
1025
+ "uniqueItems": true
1026
+ }
1027
+ },
1028
+ {
1029
+ "name": "fieldManager",
1030
+ "in": "query",
1031
+ "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.",
1032
+ "schema": {
1033
+ "type": "string",
1034
+ "uniqueItems": true
1035
+ }
1036
+ },
1037
+ {
1038
+ "name": "fieldValidation",
1039
+ "in": "query",
1040
+ "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.",
1041
+ "schema": {
1042
+ "type": "string",
1043
+ "uniqueItems": true
1044
+ }
1045
+ }
1046
+ ],
1047
+ "requestBody": {
1048
+ "content": {
1049
+ "application/json": {
1050
+ "schema": {
1051
+ "$ref": "#/components/schemas/Variable"
1052
+ }
1053
+ },
1054
+ "application/yaml": {
1055
+ "schema": {
1056
+ "$ref": "#/components/schemas/Variable"
1057
+ }
1058
+ }
1059
+ },
1060
+ "required": true
1061
+ },
1062
+ "responses": {
1063
+ "200": {
1064
+ "description": "OK",
1065
+ "content": {
1066
+ "application/json": {
1067
+ "schema": {
1068
+ "$ref": "#/components/schemas/Variable"
1069
+ }
1070
+ },
1071
+ "application/yaml": {
1072
+ "schema": {
1073
+ "$ref": "#/components/schemas/Variable"
1074
+ }
1075
+ }
1076
+ }
1077
+ },
1078
+ "201": {
1079
+ "description": "Created",
1080
+ "content": {
1081
+ "application/json": {
1082
+ "schema": {
1083
+ "$ref": "#/components/schemas/Variable"
1084
+ }
1085
+ },
1086
+ "application/yaml": {
1087
+ "schema": {
1088
+ "$ref": "#/components/schemas/Variable"
1089
+ }
1090
+ }
1091
+ }
1092
+ }
1093
+ },
1094
+ "x-kubernetes-action": "put",
1095
+ "x-kubernetes-group-version-kind": {
1096
+ "group": "dashboard.grafana.app",
1097
+ "version": "v2beta1",
1098
+ "kind": "Variable"
1099
+ }
1100
+ },
1101
+ "delete": {
1102
+ "tags": ["Variable"],
1103
+ "description": "delete a Variable",
1104
+ "operationId": "deleteVariable",
1105
+ "parameters": [
1106
+ {
1107
+ "name": "dryRun",
1108
+ "in": "query",
1109
+ "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",
1110
+ "schema": {
1111
+ "type": "string",
1112
+ "uniqueItems": true
1113
+ }
1114
+ },
1115
+ {
1116
+ "name": "gracePeriodSeconds",
1117
+ "in": "query",
1118
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
1119
+ "schema": {
1120
+ "type": "integer",
1121
+ "uniqueItems": true
1122
+ }
1123
+ },
1124
+ {
1125
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
1126
+ "in": "query",
1127
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
1128
+ "schema": {
1129
+ "type": "boolean",
1130
+ "uniqueItems": true
1131
+ }
1132
+ },
1133
+ {
1134
+ "name": "orphanDependents",
1135
+ "in": "query",
1136
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
1137
+ "schema": {
1138
+ "type": "boolean",
1139
+ "uniqueItems": true
1140
+ }
1141
+ },
1142
+ {
1143
+ "name": "propagationPolicy",
1144
+ "in": "query",
1145
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
1146
+ "schema": {
1147
+ "type": "string",
1148
+ "uniqueItems": true
1149
+ }
1150
+ }
1151
+ ],
1152
+ "responses": {
1153
+ "200": {
1154
+ "description": "OK",
1155
+ "content": {
1156
+ "application/json": {
1157
+ "schema": {
1158
+ "$ref": "#/components/schemas/Status"
1159
+ }
1160
+ },
1161
+ "application/yaml": {
1162
+ "schema": {
1163
+ "$ref": "#/components/schemas/Status"
1164
+ }
1165
+ }
1166
+ }
1167
+ },
1168
+ "202": {
1169
+ "description": "Accepted",
1170
+ "content": {
1171
+ "application/json": {
1172
+ "schema": {
1173
+ "$ref": "#/components/schemas/Status"
1174
+ }
1175
+ },
1176
+ "application/yaml": {
1177
+ "schema": {
1178
+ "$ref": "#/components/schemas/Status"
1179
+ }
1180
+ }
1181
+ }
1182
+ }
1183
+ },
1184
+ "x-kubernetes-action": "delete",
1185
+ "x-kubernetes-group-version-kind": {
1186
+ "group": "dashboard.grafana.app",
1187
+ "version": "v2beta1",
1188
+ "kind": "Variable"
1189
+ }
1190
+ },
1191
+ "patch": {
1192
+ "tags": ["Variable"],
1193
+ "description": "partially update the specified Variable",
1194
+ "operationId": "updateVariable",
1195
+ "parameters": [
1196
+ {
1197
+ "name": "dryRun",
1198
+ "in": "query",
1199
+ "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",
1200
+ "schema": {
1201
+ "type": "string",
1202
+ "uniqueItems": true
1203
+ }
1204
+ },
1205
+ {
1206
+ "name": "fieldManager",
1207
+ "in": "query",
1208
+ "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).",
1209
+ "schema": {
1210
+ "type": "string",
1211
+ "uniqueItems": true
1212
+ }
1213
+ },
1214
+ {
1215
+ "name": "fieldValidation",
1216
+ "in": "query",
1217
+ "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.",
1218
+ "schema": {
1219
+ "type": "string",
1220
+ "uniqueItems": true
1221
+ }
1222
+ },
1223
+ {
1224
+ "name": "force",
1225
+ "in": "query",
1226
+ "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.",
1227
+ "schema": {
1228
+ "type": "boolean",
1229
+ "uniqueItems": true
1230
+ }
1231
+ }
1232
+ ],
1233
+ "requestBody": {
1234
+ "content": {
1235
+ "application/apply-patch+yaml": {
1236
+ "schema": {
1237
+ "$ref": "#/components/schemas/Patch"
1238
+ }
1239
+ },
1240
+ "application/json-patch+json": {
1241
+ "schema": {
1242
+ "$ref": "#/components/schemas/Patch"
1243
+ }
1244
+ },
1245
+ "application/merge-patch+json": {
1246
+ "schema": {
1247
+ "$ref": "#/components/schemas/Patch"
1248
+ }
1249
+ },
1250
+ "application/strategic-merge-patch+json": {
1251
+ "schema": {
1252
+ "$ref": "#/components/schemas/Patch"
1253
+ }
1254
+ }
1255
+ },
1256
+ "required": true
1257
+ },
1258
+ "responses": {
1259
+ "200": {
1260
+ "description": "OK",
1261
+ "content": {
1262
+ "application/json": {
1263
+ "schema": {
1264
+ "$ref": "#/components/schemas/Variable"
1265
+ }
1266
+ },
1267
+ "application/yaml": {
1268
+ "schema": {
1269
+ "$ref": "#/components/schemas/Variable"
1270
+ }
1271
+ }
1272
+ }
1273
+ },
1274
+ "201": {
1275
+ "description": "Created",
1276
+ "content": {
1277
+ "application/json": {
1278
+ "schema": {
1279
+ "$ref": "#/components/schemas/Variable"
1280
+ }
1281
+ },
1282
+ "application/yaml": {
1283
+ "schema": {
1284
+ "$ref": "#/components/schemas/Variable"
1285
+ }
1286
+ }
1287
+ }
1288
+ }
1289
+ },
1290
+ "x-kubernetes-action": "patch",
1291
+ "x-kubernetes-group-version-kind": {
1292
+ "group": "dashboard.grafana.app",
1293
+ "version": "v2beta1",
1294
+ "kind": "Variable"
1295
+ }
1296
+ },
1297
+ "parameters": [
1298
+ {
1299
+ "name": "name",
1300
+ "in": "path",
1301
+ "description": "name of the Variable",
1302
+ "required": true,
1303
+ "schema": {
1304
+ "type": "string",
1305
+ "uniqueItems": true
1306
+ }
1307
+ },
1308
+ {
1309
+ "name": "pretty",
1310
+ "in": "query",
1311
+ "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).",
1312
+ "schema": {
1313
+ "type": "string",
1314
+ "uniqueItems": true
1315
+ }
1316
+ }
1317
+ ]
615
1318
  }
616
1319
  },
617
1320
  "components": {
@@ -3867,6 +4570,115 @@
3867
4570
  }
3868
4571
  ]
3869
4572
  },
4573
+ "Variable": {
4574
+ "type": "object",
4575
+ "required": ["metadata", "spec"],
4576
+ "properties": {
4577
+ "apiVersion": {
4578
+ "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",
4579
+ "type": "string"
4580
+ },
4581
+ "kind": {
4582
+ "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",
4583
+ "type": "string"
4584
+ },
4585
+ "metadata": {
4586
+ "default": {},
4587
+ "allOf": [
4588
+ {
4589
+ "$ref": "#/components/schemas/ObjectMeta"
4590
+ }
4591
+ ]
4592
+ },
4593
+ "spec": {
4594
+ "description": "Spec is the spec of the Variable",
4595
+ "allOf": [
4596
+ {
4597
+ "$ref": "#/components/schemas/VariableSpec"
4598
+ }
4599
+ ]
4600
+ }
4601
+ },
4602
+ "x-kubernetes-group-version-kind": [
4603
+ {
4604
+ "group": "dashboard.grafana.app",
4605
+ "kind": "Variable",
4606
+ "version": "v2beta1"
4607
+ }
4608
+ ]
4609
+ },
4610
+ "VariableList": {
4611
+ "type": "object",
4612
+ "required": ["metadata", "items"],
4613
+ "properties": {
4614
+ "apiVersion": {
4615
+ "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",
4616
+ "type": "string"
4617
+ },
4618
+ "items": {
4619
+ "type": "array",
4620
+ "items": {
4621
+ "default": {},
4622
+ "allOf": [
4623
+ {
4624
+ "$ref": "#/components/schemas/Variable"
4625
+ }
4626
+ ]
4627
+ }
4628
+ },
4629
+ "kind": {
4630
+ "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",
4631
+ "type": "string"
4632
+ },
4633
+ "metadata": {
4634
+ "default": {},
4635
+ "allOf": [
4636
+ {
4637
+ "$ref": "#/components/schemas/ListMeta"
4638
+ }
4639
+ ]
4640
+ }
4641
+ },
4642
+ "x-kubernetes-group-version-kind": [
4643
+ {
4644
+ "group": "dashboard.grafana.app",
4645
+ "kind": "VariableList",
4646
+ "version": "v2beta1"
4647
+ }
4648
+ ]
4649
+ },
4650
+ "VariableSpec": {
4651
+ "type": "object",
4652
+ "properties": {
4653
+ "AdhocVariableKind": {
4654
+ "$ref": "#/components/schemas/DashboardAdhocVariableKind"
4655
+ },
4656
+ "ConstantVariableKind": {
4657
+ "$ref": "#/components/schemas/DashboardConstantVariableKind"
4658
+ },
4659
+ "CustomVariableKind": {
4660
+ "$ref": "#/components/schemas/DashboardCustomVariableKind"
4661
+ },
4662
+ "DatasourceVariableKind": {
4663
+ "$ref": "#/components/schemas/DashboardDatasourceVariableKind"
4664
+ },
4665
+ "GroupByVariableKind": {
4666
+ "$ref": "#/components/schemas/DashboardGroupByVariableKind"
4667
+ },
4668
+ "IntervalVariableKind": {
4669
+ "$ref": "#/components/schemas/DashboardIntervalVariableKind"
4670
+ },
4671
+ "QueryVariableKind": {
4672
+ "$ref": "#/components/schemas/DashboardQueryVariableKind"
4673
+ },
4674
+ "SwitchVariableKind": {
4675
+ "$ref": "#/components/schemas/DashboardSwitchVariableKind"
4676
+ },
4677
+ "TextVariableKind": {
4678
+ "$ref": "#/components/schemas/DashboardTextVariableKind"
4679
+ }
4680
+ }
4681
+ },
3870
4682
  "APIResource": {
3871
4683
  "description": "APIResource specifies the name of a resource and whether it is namespaced.",
3872
4684
  "type": "object",
@@ -4357,6 +5169,29 @@
4357
5169
  "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
4358
5170
  "type": "string",
4359
5171
  "format": "date-time"
5172
+ },
5173
+ "WatchEvent": {
5174
+ "description": "Event represents a single event to a watched resource.",
5175
+ "type": "object",
5176
+ "required": ["type", "object"],
5177
+ "properties": {
5178
+ "object": {
5179
+ "description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context.",
5180
+ "allOf": [
5181
+ {
5182
+ "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.runtime.RawExtension"
5183
+ }
5184
+ ]
5185
+ },
5186
+ "type": {
5187
+ "type": "string",
5188
+ "default": ""
5189
+ }
5190
+ }
5191
+ },
5192
+ "io.k8s.apimachinery.pkg.runtime.RawExtension": {
5193
+ "description": "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
5194
+ "type": "object"
4360
5195
  }
4361
5196
  }
4362
5197
  }
@@ -3759,6 +3759,10 @@
3759
3759
  "description": "Email used as the commit signer. Must match the signing key's identity and a verified email on the account where the matching public key is registered. When empty, defaults to \"noreply@grafana.com\".",
3760
3760
  "type": "string"
3761
3761
  },
3762
+ "signerIsAuthor": {
3763
+ "description": "When true, commits are authored by the signer identity (signerName/signerEmail).",
3764
+ "type": "boolean"
3765
+ },
3762
3766
  "signerName": {
3763
3767
  "description": "Name used as the commit signer. Required for the signing key's identity to match the commit, which providers need to mark commits as Verified. When empty, defaults to \"Grafana\".",
3764
3768
  "type": "string"
@@ -3759,6 +3759,10 @@
3759
3759
  "description": "Email used as the commit signer. Must match the signing key's identity and a verified email on the account where the matching public key is registered. When empty, defaults to \"noreply@grafana.com\".",
3760
3760
  "type": "string"
3761
3761
  },
3762
+ "signerIsAuthor": {
3763
+ "description": "When true, commits are authored by the signer identity (signerName/signerEmail).",
3764
+ "type": "boolean"
3765
+ },
3762
3766
  "signerName": {
3763
3767
  "description": "Name used as the commit signer. Required for the signing key's identity to match the commit, which providers need to mark commits as Verified. When empty, defaults to \"Grafana\".",
3764
3768
  "type": "string"
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.2.0-28908703397",
5
+ "version": "13.2.0-28985753600",
6
6
  "description": "Grafana OpenApi Library",
7
7
  "keywords": [
8
8
  "grafana",