diff --git a/go.mod b/go.mod index 456f888b..db9ff207 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.17 require ( github.com/aws/aws-sdk-go v1.49.13 github.com/ibm-messaging/mq-golang/v5 v5.5.3 - github.com/influxdata/influxdb-client-go/v2 v2.12.4 + github.com/influxdata/influxdb-client-go/v2 v2.13.0 github.com/prometheus/client_golang v1.18.0 github.com/sirupsen/logrus v1.9.3 golang.org/x/crypto v0.17.0 @@ -16,12 +16,12 @@ require ( github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect - github.com/deepmap/oapi-codegen v1.12.4 // indirect - github.com/google/uuid v1.3.0 // indirect + github.com/google/uuid v1.3.1 // indirect github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/kr/text v0.2.0 // indirect github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect + github.com/oapi-codegen/runtime v1.0.0 // indirect github.com/prometheus/client_model v0.5.0 // indirect github.com/prometheus/common v0.45.0 // indirect github.com/prometheus/procfs v0.12.0 // indirect diff --git a/go.sum b/go.sum index 6893ed8b..73c9ac26 100644 --- a/go.sum +++ b/go.sum @@ -598,10 +598,17 @@ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7 gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8= git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53/go.mod h1:+3IMCy2vIlbG1XG/0ggNQv0SvxCAIpPM5b1nCz56Xno= +github.com/CloudyKit/jet/v6 v6.2.0/go.mod h1:d3ypHeIRNo2+XyqnGA8s+aphtcVpjP5hPwP/Lzo7Ro4= github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk= +github.com/Joker/hpp v1.0.0/go.mod h1:8x5n+M1Hp5hC0g8okX3sR3vFQwynaX/UgSOM9MeBKzY= +github.com/Joker/jade v1.1.3/go.mod h1:T+2WLyt7VH6Lp0TRxQrUYEs64nRc83wkMQrfeIQKduM= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/RaveNoX/go-jsoncommentstrip v1.0.0/go.mod h1:78ihd09MekBnJnxpICcwzCMzGrKSKYe4AqU6PDYYpjk= +github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06/go.mod h1:7erjKLwalezA0k99cWs5L11HWOAPNjdUZ6RxH1BXbbM= +github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY= github.com/ajstarks/deck v0.0.0-20200831202436-30c9fc6549a9/go.mod h1:JynElWSGnm/4RlzPXRlREEwqTHAN3T56Bv2ITsFT3gY= github.com/ajstarks/deck/generate v0.0.0-20210309230005-c3f852c02e19/go.mod h1:T13YZdzov6OU0A1+RfKZiZN9ca6VeKdBdyDV+BY97Tk= github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= @@ -615,21 +622,31 @@ github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRF github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= +github.com/andybalholm/brotli v1.0.5/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/apache/arrow/go/v10 v10.0.1/go.mod h1:YvhnlEePVnBS4+0z3fhPfUy7W1Ikj0Ih0vcRo/gZ1M0= github.com/apache/arrow/go/v11 v11.0.0/go.mod h1:Eg5OsL5H+e299f7u5ssuXsuHQVEGC4xei5aX110hRiI= github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU= github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ= github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk= +github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/aws/aws-sdk-go v1.49.13 h1:f4mGztsgnx2dR9r8FQYa9YW/RsKb+N7bgef4UGrOW1Y= github.com/aws/aws-sdk-go v1.49.13/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= +github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w= github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= +github.com/bsm/ginkgo/v2 v2.9.5/go.mod h1:SwYbGRRDovPVboqFv0tPTcG1sN61LM1Z4ARdbAV9g4c= +github.com/bsm/gomega v1.26.0/go.mod h1:JyEr/xRbxbtgWNi8tIEVPUYZ5Dzef52k01W3YH0H+O0= +github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM= +github.com/bytedance/sonic v1.9.1/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U= +github.com/bytedance/sonic v1.10.0-rc/go.mod h1:ElCzW+ufi8qKqNW0FY314xriJhyJhuoJ3gFZdAHF7NM= +github.com/bytedance/sonic v1.10.0-rc3/go.mod h1:iZcSUejdk5aukTND/Eu/ivjQuEL0Cu9/rf50Hi0u/g4= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= @@ -639,6 +656,11 @@ github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XL github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927/go.mod h1:h/aW8ynjgkuj+NQRlZcDbAbM1ORAbXjXX77sX7T289U= +github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY= +github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk= +github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpVsBuRksnlj1mLy4AWzRNQYxauNi62uWcE3to6eA= +github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= @@ -656,17 +678,23 @@ github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230310173818-32f1caf87195/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= +github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0-20210816181553-5444fa50b93d/go.mod h1:tmAIfUFEirG/Y8jhZ9M+h36obRZAk/1fcSpXwAVlfqE= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs= -github.com/deepmap/oapi-codegen v1.12.4 h1:pPmn6qI9MuOtCz82WY2Xaw46EQjgvxednXXrP7g5Q2s= -github.com/deepmap/oapi-codegen v1.12.4/go.mod h1:3lgHGMu6myQ2vqbbTXH2H1o4eXFTGnFiDaOaKKl5yas= +github.com/dgraph-io/badger/v2 v2.2007.4/go.mod h1:vSw/ax2qojzbN6eXHIx6KPKtCSHJN/Uz0X0VPruTIhk= +github.com/dgraph-io/ristretto v0.0.3-0.20200630154024-f66de99634de/go.mod h1:KPxhHT9ZxKefz+PCeOGsrHpl1qZ7i70dGTu2u+Ahh6E= +github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= +github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= +github.com/djherbis/atime v1.1.0/go.mod h1:28OF6Y8s3NQWwacXc5eZTsEsiMzp7LF8MbXE+XJPdBE= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= @@ -682,13 +710,18 @@ github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7 github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w= github.com/envoyproxy/protoc-gen-validate v0.10.0/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= +github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= +github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= +github.com/flosch/pongo2/v4 v4.0.2/go.mod h1:B5ObFANs/36VwxxlgKpdchIJHMvHB562PW+BWPhwZD8= github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= -github.com/getkin/kin-openapi v0.107.0/go.mod h1:9Dhr+FasATJZjS4iOLvB0hkaxgYdulrNYm2e9epLWOo= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= +github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= +github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= -github.com/gin-gonic/gin v1.8.1/go.mod h1:ji8BvRH1azfM+SYow9zQ6SZMvR8qOMZHmsCuWR9tTTk= -github.com/go-chi/chi/v5 v5.0.7/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU= github.com/go-fonts/dejavu v0.1.0/go.mod h1:4Wt4I4OU2Nq9asgDCteaAaWZOV24E+0/Pwo0gppep4g= github.com/go-fonts/latin-modern v0.2.0/go.mod h1:rQVLdDMK+mK1xscDwsqM5J8U2jrRa3T0ecnM9pNujks= github.com/go-fonts/liberation v0.1.1/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY= @@ -708,19 +741,25 @@ github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9 github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= -github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-openapi/swag v0.21.1/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/go-pdf/fpdf v0.5.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= github.com/go-pdf/fpdf v0.6.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= -github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= -github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs= -github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA= -github.com/go-playground/validator/v10 v10.10.0/go.mod h1:74x4gJWsvQexRdW8Pn3dXSGrTK4nAUsbPlLADvpJkos= -github.com/go-playground/validator/v10 v10.11.1/go.mod h1:i+3WkQ1FvaUjjxh1kSvIA4dMGDBiPU55YFDl0WbKdWU= +github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= +github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= +github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= +github.com/go-playground/validator/v10 v10.14.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU= +github.com/go-playground/validator/v10 v10.14.1/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/goccy/go-json v0.9.7/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= +github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= +github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= +github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= +github.com/gobwas/httphead v0.1.0/go.mod h1:O/RXo79gxV8G+RqlR/otEwx4Q36zl9rqC5u12GKvMCM= +github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= +github.com/gobwas/ws v1.3.0/go.mod h1:hRKAFb8wOxFROYNsT1bqfWnhX+b5MFeJM9r2ZSwg/KY= github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= +github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= @@ -760,7 +799,7 @@ github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiu github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golangci/lint-1 v0.0.0-20181222135242-d2cdd8c08219/go.mod h1:/X8TswGSh1pIozq4ZwCfxS0WA5JGXguxk94ar/4c87Y= +github.com/gomarkdown/markdown v0.0.0-20230716120725-531d2d74bc12/go.mod h1:JDGcbDT52eL4fju3sZ4TeHGsQwhG9nbDV21aMyhwPoA= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/flatbuffers v2.0.8+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= @@ -780,6 +819,7 @@ github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8 github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= @@ -798,6 +838,7 @@ github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= @@ -806,8 +847,9 @@ github.com/google/s2a-go v0.1.0/go.mod h1:OJpEgntRZo8ugHpF9hkoLJbS5dSI20XZeXJ9JV github.com/google/s2a-go v0.1.3/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= +github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= @@ -829,22 +871,30 @@ github.com/googleapis/gax-go/v2 v2.10.0/go.mod h1:4UOEnMCrxsSqQ940WnTiD6qJ63le2e github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= -github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/gorilla/css v1.0.0/go.mod h1:Dn721qIggHpt4+EFCcTLTU/vk5ySda2ReITrtgBl60c= +github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= +github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ibm-messaging/mq-golang/v5 v5.5.3 h1:gKWqqsxoM2i/R9d/DwU3rolXFTEcRanMqrl+lRt/ajU= github.com/ibm-messaging/mq-golang/v5 v5.5.3/go.mod h1:NELV8CYOIIH1QmY6pPvulRKjwuih9YAIL9rg8+UNzNw= -github.com/influxdata/influxdb-client-go/v2 v2.12.4 h1:9qJLqetEmhIlqaF/N9KUtdmRKSbNy6IohggyS3bxWlE= -github.com/influxdata/influxdb-client-go/v2 v2.12.4/go.mod h1:3BQow2tDJRxKi8oUUy/6BtHaSq7wrBIoKieYMXB6knQ= +github.com/imkira/go-interpol v1.1.0/go.mod h1:z0h2/2T3XF8kyEPpRgJ3kmNv+C43p+I/CoI+jC3w2iA= +github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/influxdata/influxdb-client-go/v2 v2.13.0 h1:ioBbLmR5NMbAjP4UVA5r9b5xGjpABD7j65pI8kFphDM= +github.com/influxdata/influxdb-client-go/v2 v2.13.0/go.mod h1:k+spCbt9hcvqvUiz0sr5D8LolXHqAAOfPw9v/RIRHl4= github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839 h1:W9WBk7wlPfJLvMCdtV4zPulc4uCPrlywQOmbFOhgQNU= github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839/go.mod h1:xaLFMmpvUxqXtVkUJfg9QmT88cDaCJ3ZKgdZ78oO8Qo= -github.com/invopop/yaml v0.1.0/go.mod h1:2XuRLgs/ouIrW3XNzuNj7J3Nvu/Dig5MXvbCEdiBN3Q= +github.com/iris-contrib/go.uuid v2.0.0+incompatible/go.mod h1:iz2lgM/1UnEf1kP0L/+fafWORmlnuysV2EMP8MW+qe0= +github.com/iris-contrib/httpexpect/v2 v2.15.1/go.mod h1:cUwf1Mm5CWs5ahZNHtDq82WuGOitAWBg/eMGevX9ilg= +github.com/iris-contrib/schema v0.0.6/go.mod h1:iYszG0IOsuIsfzjymw1kMzTL8YQcCWlm65f3wX8J5iA= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -862,11 +912,26 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/jung-kurt/gofpdf v1.0.0/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= +github.com/kataras/blocks v0.0.7/go.mod h1:UJIU97CluDo0f+zEjbnbkeMRlvYORtmc1304EeyXf4I= +github.com/kataras/golog v0.1.9/go.mod h1:jlpk/bOaYCyqDqH18pgDHdaJab72yBE6i0O3s30hpWY= +github.com/kataras/iris/v12 v12.2.5/go.mod h1:bf3oblPF8tQmRgyPCzPZr0mLazvEDFgImdaGZYuN4hw= +github.com/kataras/jwt v0.1.9/go.mod h1:Kw6GZv2JQN8K4D3NGaSc/qZzTYfaRdyaC2zWi+RBRIQ= +github.com/kataras/neffos v0.0.22/go.mod h1:IIJZcUDvwBxJGlDj942dqQgyznVKYDti91f8Ez+RRxE= +github.com/kataras/pio v0.0.12/go.mod h1:ODK/8XBhhQ5WqrAhKy+9lTPS7sBf6O3KcLhc9klfRcY= +github.com/kataras/sitemap v0.0.6/go.mod h1:dW4dOCNs896OR1HmG+dMLdT7JjDk7mYBzoIRwuj5jA4= +github.com/kataras/tunnel v0.0.4/go.mod h1:9FkU4LaeifdMWqZu7o20ojmW4B7hdhv2CMLwfnHGpYw= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE= +github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU= +github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= +github.com/klauspost/compress v1.16.5/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= +github.com/klauspost/compress v1.16.7/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= +github.com/klauspost/cpuid/v2 v2.2.4/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY= +github.com/klauspost/cpuid/v2 v2.2.5/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= +github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= @@ -880,59 +945,112 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/labstack/echo/v4 v4.9.1/go.mod h1:Pop5HLc+xoc4qhTZ1ip6C0RtP7Z+4VzRLWZZFKqbbjo= +github.com/labstack/echo/v4 v4.11.1/go.mod h1:YuYRTSM3CHs2ybfrL8Px48bO6BAnYIN4l8wSTMP6BDQ= github.com/labstack/gommon v0.4.0/go.mod h1:uW6kP17uPlLJsD3ijUYn3/M5bAxtlZhMI6m3MFxTMTM= -github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY= -github.com/lestrrat-go/backoff/v2 v2.0.8/go.mod h1:rHP/q/r9aT27n24JQLa7JhSQZCKBBOiM/uP402WwN8Y= -github.com/lestrrat-go/blackmagic v1.0.0/go.mod h1:TNgH//0vYSs8VXDCfkZLgIrVTTXQELZffUV0tz3MtdQ= -github.com/lestrrat-go/httpcc v1.0.1/go.mod h1:qiltp3Mt56+55GPVCbTdM9MlqhvzyuL6W/NMDA8vA5E= -github.com/lestrrat-go/iter v1.0.1/go.mod h1:zIdgO1mRKhn8l9vrZJZz9TUMMFbQbLeTsbqPDrJ/OJc= -github.com/lestrrat-go/jwx v1.2.25/go.mod h1:zoNuZymNl5lgdcu6P7K6ie2QRll5HVfF4xwxBBK1NxY= -github.com/lestrrat-go/option v1.0.0/go.mod h1:5ZHFbivi4xwXxhxY9XHDe2FHo6/Z7WWmtT7T5nBBp3I= +github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4= +github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-star/v2 v2.0.1/go.mod h1:RcCdONR2ScXaYnQC5tUzxzlpA3WVYF7/opLeUgcQs/o= -github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/mailgun/raymond/v2 v2.0.48/go.mod h1:lsgvL50kgt1ylcFJYZiULi5fjPBkkhNfj4KA0W54Z18= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/matryer/moq v0.2.7/go.mod h1:kITsx543GOENm48TUAQyJ9+SAvFSr7iGQXPoth/VUBk= +github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2/go.mod h1:0KeJpeMD6o+O4hW7qJOT7vyQPKrWmj26uf5wMc/IiIs= github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 h1:jWpvCLoY8Z/e3VKvlsiIGKtc+UG6U5vzxaoagmhXfyg= github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0/go.mod h1:QUyp042oQthUoa9bqDv0ER0wrtXnBruoNd7aNjkbP+k= +github.com/mediocregopher/radix/v3 v3.8.1/go.mod h1:8FL3F6UQRXHXIBSPUs5h0RybMF8i4n7wVopoX3x7Bv8= +github.com/microcosm-cc/bluemonday v1.0.25/go.mod h1:ZIOjCQp1OrzBBPIJmfX4qDYFuhU02nx4bn030ixfHLE= github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= +github.com/minio/highwayhash v1.0.2/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY= +github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= +github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/nats-io/jwt/v2 v2.3.0/go.mod h1:0tqz9Hlu6bCBFLWAASKhE5vUA4c24L9KPUUgvwumE/k= +github.com/nats-io/jwt/v2 v2.4.1/go.mod h1:24BeQtRwxRV8ruvC4CojXlx/WQ/VjuwlYiH+vu/+ibI= +github.com/nats-io/nats-server/v2 v2.9.11/go.mod h1:b0oVuxSlkvS3ZjMkncFeACGyZohbO4XhSqW1Lt7iRRY= +github.com/nats-io/nats.go v1.19.0/go.mod h1:tLqubohF7t4z3du1QDPYJIQQyhb4wl6DhjxEajSI7UA= +github.com/nats-io/nats.go v1.28.0/go.mod h1:XpbWUlOElGwTYbMR7imivs7jJj9GtK7ypv321Wp6pjc= +github.com/nats-io/nkeys v0.3.0/go.mod h1:gvUNGjVcM2IPr5rCsRsC6Wb3Hr2CQAm08dsxtV6A5y4= +github.com/nats-io/nkeys v0.4.4/go.mod h1:XUkxdLPTufzlihbamfzQ7mw/VGx6ObUs+0bN5sNvt64= +github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= -github.com/pelletier/go-toml/v2 v2.0.5/go.mod h1:OMHamSCAODeSsVrwwvcJOaoN0LIUIaFVNZzmWyNfXas= +github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= +github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= +github.com/oapi-codegen/runtime v1.0.0 h1:P4rqFX5fMFWqRzY9M/3YF9+aPSPPB06IzP2P7oOxrWo= +github.com/oapi-codegen/runtime v1.0.0/go.mod h1:LmCUMQuPB4M/nLXilQXhHw+BLZdDb18B34OO356yJ/A= +github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= +github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= +github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= +github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= +github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU= +github.com/onsi/ginkgo/v2 v2.1.6/go.mod h1:MEH45j8TBi6u9BMogfbp0stKC5cdGjumZj5Y7AG4VIk= +github.com/onsi/ginkgo/v2 v2.3.0/go.mod h1:Eew0uilEqZmIEZr8JrvYlvOM7Rr6xzTmMV8AyFNU9d0= +github.com/onsi/ginkgo/v2 v2.4.0/go.mod h1:iHkDK1fKGcBoEHT5W7YBq4RFWaQulw+caOMkAt4OrFo= +github.com/onsi/ginkgo/v2 v2.5.0/go.mod h1:Luc4sArBICYCS8THh8v3i3i5CuSZO+RaQRaJoeNwomw= +github.com/onsi/ginkgo/v2 v2.7.0/go.mod h1:yjiuMwPokqY1XauOgju45q3sJt6VzQ/Fict1LFVcsAo= +github.com/onsi/ginkgo/v2 v2.8.1/go.mod h1:N1/NbDngAFcSLdyZ+/aYTYGSlq9qMCS/cNKGJjy+csc= +github.com/onsi/ginkgo/v2 v2.9.0/go.mod h1:4xkjoL/tZv4SMWeww56BU5kAt19mVB47gTWxmrTcxyk= +github.com/onsi/ginkgo/v2 v2.9.1/go.mod h1:FEcmzVcCHl+4o9bQZVab+4dC9+j+91t2FHSzmGAPfuo= +github.com/onsi/ginkgo/v2 v2.9.2/go.mod h1:WHcJJG2dIlcCqVfBAwUCrJxSPFb6v4azBwgxeMeDuts= +github.com/onsi/ginkgo/v2 v2.9.5/go.mod h1:tvAoo1QUJwNEU2ITftXTpR7R1RbCzoZUOs3RonqW57k= +github.com/onsi/ginkgo/v2 v2.9.7/go.mod h1:cxrmXWykAwTwhQsJOPfdIDiJ+l2RYq7U8hFU+M/1uw0= +github.com/onsi/ginkgo/v2 v2.11.0/go.mod h1:ZhrRA5XmEE3x3rhlzamx/JJvujdZoJ2uvgI7kR0iZvM= +github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= +github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= +github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= +github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= +github.com/onsi/gomega v1.20.1/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo= +github.com/onsi/gomega v1.21.1/go.mod h1:iYAIXgPSaDHak0LCMA+AWBpIKBr8WZicMxnE8luStNc= +github.com/onsi/gomega v1.22.1/go.mod h1:x6n7VNe4hw0vkyYUM4mjIXx3JbLiPaBPNgB7PRQ1tuM= +github.com/onsi/gomega v1.24.0/go.mod h1:Z/NWtiqwBrwUt4/2loMmHL63EDLnYHmVbuBpDr2vQAg= +github.com/onsi/gomega v1.24.1/go.mod h1:3AOiACssS3/MajrniINInwbfOOtfZvplPzuRSmvt1jM= +github.com/onsi/gomega v1.26.0/go.mod h1:r+zV744Re+DiYCIPRlYOTxn0YkOLcAnW8k1xXdMPGhM= +github.com/onsi/gomega v1.27.1/go.mod h1:aHX5xOykVYzWOV4WqQy0sy8BQptgukenXpCXfadcIAw= +github.com/onsi/gomega v1.27.3/go.mod h1:5vG284IBtfDAmDyrK+eGyZmUgUlmi+Wngqo557cZ6Gw= +github.com/onsi/gomega v1.27.4/go.mod h1:riYq/GJKh8hhoM01HN6Vmuy93AarCXCBGpvFDK3q3fQ= +github.com/onsi/gomega v1.27.6/go.mod h1:PIQNjfQwkP3aQAH7lf7j87O/5FiNr+ZR8+ipb+qQlhg= +github.com/onsi/gomega v1.27.7/go.mod h1:1p8OOlwo2iUUDsHnOrjE5UKYJ+e3W8eQ3qSlRahPmr4= +github.com/onsi/gomega v1.27.8/go.mod h1:2J8vzI/s+2shY9XHRApDkdgPo1TKT7P2u6fXeJKFnNQ= +github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= +github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= +github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4= +github.com/pelletier/go-toml/v2 v2.0.9/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY= github.com/phpdave11/gofpdi v1.0.12/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= github.com/phpdave11/gofpdi v1.0.13/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= github.com/pierrec/lz4/v4 v4.1.15/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= +github.com/pkg/diff v0.0.0-20200914180035-5b29258ca4f7/go.mod h1:zO8QMzTeZd5cpnIkz/Gn6iK0jDfGicM1nynOkkPIl28= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= +github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= +github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= @@ -971,30 +1089,49 @@ github.com/prometheus/procfs v0.9.0/go.mod h1:+pB4zwohETzFnmlpe6yd2lSc+0/46IYZRB github.com/prometheus/procfs v0.11.1/go.mod h1:eesXgaPo1q7lBpVMoMy0ZOFTth9hBn4W/y0/p/ScXhY= github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo= github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo= +github.com/redis/go-redis/v9 v9.1.0/go.mod h1:urWj3He21Dj5k4TK1y59xH8Uj6ATueP8AH1cY3lZl4c= github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfFZQK844Gfx8o5WFuvpxWRwnSoipWe/p622j1v06w= github.com/ruudk/golang-pdf417 v0.0.0-20201230142125-a7e3863a1245/go.mod h1:pQAZKsJ8yyVxGRWYNEm9oFB8ieLgKFnamEyDmSA0BRk= +github.com/sanity-io/litter v1.5.5/go.mod h1:9gzJgR2i4ZpjZHsKvUXIRQVk7P+yM3e+jAF7bU2UI5U= +github.com/schollz/closestmatch v2.1.0+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g= +github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= +github.com/shirou/gopsutil/v3 v3.23.7/go.mod h1:c4gnmoRC0hQuaLqvxnx1//VXQ0Ms/X9UnJF8pddY5z4= +github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ= +github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= +github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= +github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= +github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= +github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= +github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= +github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/spkg/bom v0.0.0-20160624110644-59b7046e48ad/go.mod h1:qLr4V1qq6nMqFKkMo8ZTx3f+BZEkzsRUY10Xsm2mwU0= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v0.0.0-20161117074351-18a02ba4a312/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= @@ -1003,17 +1140,36 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/ugorji/go v1.2.7/go.mod h1:nF9osbDWLy6bDVv/Rtoh6QgnvNDpmCalQV5urGCCS6M= -github.com/ugorji/go/codec v1.2.7/go.mod h1:WGN1fab3R1fzQlVQTkfxVtIBhWDRqOviHU95kRgeqEY= +github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/tailscale/depaware v0.0.0-20210622194025-720c4b409502/go.mod h1:p9lPsd+cx33L3H9nNoecRRxPssFKUwwI50I3pZ0yT+8= +github.com/tdewolff/minify/v2 v2.12.8/go.mod h1:YRgk7CC21LZnbuke2fmYnCTq+zhCgpb0yJACOTUNJ1E= +github.com/tdewolff/parse/v2 v2.6.7/go.mod h1:XHDhaU6IBgsryfdnpzUXBlT6leW/l25yrFBTEb4eIyM= +github.com/tdewolff/test v1.0.9/go.mod h1:6DAvZliBAAnD7rhVgwaM7DE5/d9NMOAJ09SqYqeK4QE= +github.com/tklauser/go-sysconf v0.3.11/go.mod h1:GqXfhXY3kiPa0nAXPDIQIWzJbMCB7AmcWpGR8lSZfqI= +github.com/tklauser/numcpus v0.6.0/go.mod h1:FEZLMke0lhOUG6w2JadTzp0a+Nl8PF/GFkQ5UVIcaL4= +github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= +github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= +github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= +github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= +github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= +github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= +github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= +github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= github.com/xhit/go-str2duration v1.2.0/go.mod h1:3cPSlfZlUHVlneIVfePFWcJZsuwf+P1v2SRTV4cUmp4= github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU= +github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= +github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0/go.mod h1:/LWChgwKmvncFJFHJ7Gvn9wZArjbV5/FppcK2fKk/tI= +github.com/yosssi/ace v0.0.5/go.mod h1:ALfIzm2vT7t5ZE7uoIZqF3TQ7SAOyupFZnkrF5id+K0= +github.com/yudai/gojsondiff v1.0.0/go.mod h1:AY32+k2cwILAkW1fbgxQ5mUmMiZFgLIV+FBNExI05xg= +github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82/go.mod h1:lgjkn3NuSvDfVJdfcVVdX+jpBxNmX4rDAzaS45IcYoM= +github.com/yudai/pp v2.0.1+incompatible/go.mod h1:PuxR/8QJ7cyCkFp/aUDS+JY727OFEZkTdatxwunjIkc= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= @@ -1021,8 +1177,11 @@ github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9dec github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/yusufpapurcu/wmi v1.2.3/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA= +go.etcd.io/bbolt v1.3.7/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw= +go.etcd.io/gofail v0.1.0/go.mod h1:VZBCXYGZhHAinaBiiqYvuDynvahNsAyLFwB3kEHKz1M= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= @@ -1034,24 +1193,30 @@ go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.uber.org/automaxprocs v1.5.1/go.mod h1:BF4eumQw0P9GtnuxxovUd06vwm1o18oMzFtK66vU6XU= +golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= +golang.org/x/arch v0.3.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= +golang.org/x/arch v0.4.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20210314154223-e6e6c4f2bb5b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220427172511-eb4f295cb31f/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= +golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU= +golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= +golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw= golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k= @@ -1111,15 +1276,20 @@ golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= +golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190327091125-710a502c58a2/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= @@ -1138,6 +1308,7 @@ golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= @@ -1151,6 +1322,7 @@ golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= +golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= @@ -1170,6 +1342,7 @@ golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458/go.mod h1:YDH+HFinaLZZlnHAfS golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= +golang.org/x/net v0.3.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= @@ -1177,6 +1350,8 @@ golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= @@ -1231,7 +1406,10 @@ golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190130150945-aca44879d564/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1240,8 +1418,14 @@ golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1265,7 +1449,9 @@ golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1299,19 +1485,23 @@ golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220422013727-9388b58f7150/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220829200755-d48e67d00261/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1321,6 +1511,7 @@ golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1336,6 +1527,8 @@ golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= +golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU= golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= @@ -1356,13 +1549,13 @@ golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20220411224347-583f2d630306/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1414,6 +1607,8 @@ golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20201124115921-2c860bdd6e78/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201211185031-d93e913c1a58/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= @@ -1425,9 +1620,13 @@ golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= +golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= +golang.org/x/tools v0.9.1/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= +golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1721,10 +1920,13 @@ gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLks gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= @@ -1735,9 +1937,7 @@ gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -1782,6 +1982,8 @@ modernc.org/strutil v1.1.3/go.mod h1:MEHNA7PdEnEwLvspRMtWTNnp2nnyvMfkimT1NKNAGbw modernc.org/tcl v1.13.1/go.mod h1:XOLfOwzhkljL4itZkK6T72ckMgvj0BDsnKNdZVUOecw= modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= modernc.org/z v1.5.1/go.mod h1:eWFB510QWW5Th9YGZT81s+LwvaAs3Q2yr4sP0rmLkv8= +moul.io/http2curl/v2 v2.3.0/go.mod h1:RW4hyBjTWSYDOxapodpNEtX0g5Eb16sxklBqmd2RHcE= +nullprogram.com/x/optparse v1.0.0/go.mod h1:KdyPE+Igbe0jQUrVfMqDMeJQIJZEuyV7pjYmp6pbG50= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= diff --git a/vendor/github.com/deepmap/oapi-codegen/pkg/types/email.go b/vendor/github.com/deepmap/oapi-codegen/pkg/types/email.go deleted file mode 100644 index 00a4cf6b..00000000 --- a/vendor/github.com/deepmap/oapi-codegen/pkg/types/email.go +++ /dev/null @@ -1,27 +0,0 @@ -package types - -import ( - "encoding/json" - "errors" -) - -type Email string - -func (e Email) MarshalJSON() ([]byte, error) { - if !emailRegex.MatchString(string(e)) { - return nil, errors.New("email: failed to pass regex validation") - } - return json.Marshal(string(e)) -} - -func (e *Email) UnmarshalJSON(data []byte) error { - var s string - if err := json.Unmarshal(data, &s); err != nil { - return err - } - if !emailRegex.MatchString(s) { - return errors.New("email: failed to pass regex validation") - } - *e = Email(s) - return nil -} diff --git a/vendor/github.com/google/uuid/.travis.yml b/vendor/github.com/google/uuid/.travis.yml deleted file mode 100644 index d8156a60..00000000 --- a/vendor/github.com/google/uuid/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: go - -go: - - 1.4.3 - - 1.5.3 - - tip - -script: - - go test -v ./... diff --git a/vendor/github.com/google/uuid/CHANGELOG.md b/vendor/github.com/google/uuid/CHANGELOG.md new file mode 100644 index 00000000..2bd78667 --- /dev/null +++ b/vendor/github.com/google/uuid/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog + +## [1.3.1](https://github.com/google/uuid/compare/v1.3.0...v1.3.1) (2023-08-18) + + +### Bug Fixes + +* Use .EqualFold() to parse urn prefixed UUIDs ([#118](https://github.com/google/uuid/issues/118)) ([574e687](https://github.com/google/uuid/commit/574e6874943741fb99d41764c705173ada5293f0)) + +## Changelog diff --git a/vendor/github.com/google/uuid/CONTRIBUTING.md b/vendor/github.com/google/uuid/CONTRIBUTING.md index 04fdf09f..55668887 100644 --- a/vendor/github.com/google/uuid/CONTRIBUTING.md +++ b/vendor/github.com/google/uuid/CONTRIBUTING.md @@ -2,6 +2,22 @@ We definitely welcome patches and contribution to this project! +### Tips + +Commits must be formatted according to the [Conventional Commits Specification](https://www.conventionalcommits.org). + +Always try to include a test case! If it is not possible or not necessary, +please explain why in the pull request description. + +### Releasing + +Commits that would precipitate a SemVer change, as desrcibed in the Conventional +Commits Specification, will trigger [`release-please`](https://github.com/google-github-actions/release-please-action) +to create a release candidate pull request. Once submitted, `release-please` +will create a release. + +For tips on how to work with `release-please`, see its documentation. + ### Legal requirements In order to protect both you and ourselves, you will need to sign the diff --git a/vendor/github.com/google/uuid/README.md b/vendor/github.com/google/uuid/README.md index f765a46f..3e9a6188 100644 --- a/vendor/github.com/google/uuid/README.md +++ b/vendor/github.com/google/uuid/README.md @@ -1,6 +1,6 @@ -# uuid ![build status](https://travis-ci.org/google/uuid.svg?branch=master) +# uuid The uuid package generates and inspects UUIDs based on -[RFC 4122](http://tools.ietf.org/html/rfc4122) +[RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122) and DCE 1.1: Authentication and Security Services. This package is based on the github.com/pborman/uuid package (previously named @@ -9,10 +9,12 @@ a UUID is a 16 byte array rather than a byte slice. One loss due to this change is the ability to represent an invalid UUID (vs a NIL UUID). ###### Install -`go get github.com/google/uuid` +```sh +go get github.com/google/uuid +``` ###### Documentation -[![GoDoc](https://godoc.org/github.com/google/uuid?status.svg)](http://godoc.org/github.com/google/uuid) +[![Go Reference](https://pkg.go.dev/badge/github.com/google/uuid.svg)](https://pkg.go.dev/github.com/google/uuid) Full `go doc` style documentation for the package can be viewed online without installing this package by using the GoDoc site here: diff --git a/vendor/github.com/google/uuid/node_js.go b/vendor/github.com/google/uuid/node_js.go index 24b78edc..b2a0bc87 100644 --- a/vendor/github.com/google/uuid/node_js.go +++ b/vendor/github.com/google/uuid/node_js.go @@ -7,6 +7,6 @@ package uuid // getHardwareInterface returns nil values for the JS version of the code. -// This remvoves the "net" dependency, because it is not used in the browser. +// This removes the "net" dependency, because it is not used in the browser. // Using the "net" library inflates the size of the transpiled JS code by 673k bytes. func getHardwareInterface(name string) (string, []byte) { return "", nil } diff --git a/vendor/github.com/google/uuid/uuid.go b/vendor/github.com/google/uuid/uuid.go index a57207ae..a56138cc 100644 --- a/vendor/github.com/google/uuid/uuid.go +++ b/vendor/github.com/google/uuid/uuid.go @@ -69,7 +69,7 @@ func Parse(s string) (UUID, error) { // urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx case 36 + 9: - if strings.ToLower(s[:9]) != "urn:uuid:" { + if !strings.EqualFold(s[:9], "urn:uuid:") { return uuid, fmt.Errorf("invalid urn prefix: %q", s[:9]) } s = s[9:] @@ -101,7 +101,8 @@ func Parse(s string) (UUID, error) { 9, 11, 14, 16, 19, 21, - 24, 26, 28, 30, 32, 34} { + 24, 26, 28, 30, 32, 34, + } { v, ok := xtob(s[x], s[x+1]) if !ok { return uuid, errors.New("invalid UUID format") @@ -117,7 +118,7 @@ func ParseBytes(b []byte) (UUID, error) { switch len(b) { case 36: // xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx case 36 + 9: // urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - if !bytes.Equal(bytes.ToLower(b[:9]), []byte("urn:uuid:")) { + if !bytes.EqualFold(b[:9], []byte("urn:uuid:")) { return uuid, fmt.Errorf("invalid urn prefix: %q", b[:9]) } b = b[9:] @@ -145,7 +146,8 @@ func ParseBytes(b []byte) (UUID, error) { 9, 11, 14, 16, 19, 21, - 24, 26, 28, 30, 32, 34} { + 24, 26, 28, 30, 32, 34, + } { v, ok := xtob(b[x], b[x+1]) if !ok { return uuid, errors.New("invalid UUID format") diff --git a/vendor/github.com/influxdata/influxdb-client-go/v2/CHANGELOG.md b/vendor/github.com/influxdata/influxdb-client-go/v2/CHANGELOG.md index 868c1540..23d692c2 100644 --- a/vendor/github.com/influxdata/influxdb-client-go/v2/CHANGELOG.md +++ b/vendor/github.com/influxdata/influxdb-client-go/v2/CHANGELOG.md @@ -1,3 +1,14 @@ +## 2.13.0 [2023-12-05] + +### Features + +- [#394](https://github.com/influxdata/influxdb-client-go/pull/394) Add `DataToPoint` utility to convert a struct to a `write.Point` + +### Dependencies + +- [#393](https://github.com/influxdata/influxdb-client-go/pull/393) Replace deprecated `io/ioutil` +- [#392](https://github.com/influxdata/influxdb-client-go/pull/392) Upgrade `deepmap/oapi-codegen` to new major version + ## 2.12.4 [2023-11-03] ### Bug fixes @@ -6,45 +17,59 @@ - [#387](https://github.com/influxdata/influxdb-client-go/pull/387) Upgrade `deepmap/oapi-codegen` ## 2.12.3 [2023-03-29] + ### Bug fixes + - Update golang.org/x/net from 0.0.0-20210119194325-5f4716e94777 to 0.7.0 ## 2.12.2 [2023-01-26] + ### Bug fixes + - [#368](https://github.com/influxdata/influxdb-client-go/pull/368) Allowing proxy from environment variable ## 2.12.1 [2022-12-01] + ### Bug fixes + - [#363](https://github.com/influxdata/influxdb-client-go/pull/363) Generated server stubs return also error message from InfluxDB 1.x forward compatible API. - [#364](https://github.com/influxdata/influxdb-client-go/pull/364) Fixed panic when retrying over a long period without a server connection. ### Documentation + - [#366](https://github.com/influxdata/influxdb-client-go/pull/366) Readme improvements: - - Added GOPATH installation description - - Added error handling to Basic Example. + - Added GOPATH installation description + - Added error handling to Basic Example. ## 2.12.0 [2022-10-27] + ### Features + - [#358](https://github.com/influxdata/influxdb-client-go/pull/358): - - Added possibility to set an application name, which will be part of the User-Agent HTTP header: - - Set using `Options.SetApplicationName` - - Warning message is written to log if an application name is not set - - This may change to be logged as an error in a future release - - Added example how to fully override `User-Agent` header using `Doer` interface + - Added possibility to set an application name, which will be part of the User-Agent HTTP header: + - Set using `Options.SetApplicationName` + - Warning message is written to log if an application name is not set + - This may change to be logged as an error in a future release + - Added example how to fully override `User-Agent` header using `Doer` interface ### Bug fixes + - [#359](https://github.com/influxdata/influxdb-client-go/pull/359) `WriteAPIBlocking.Flush()` correctly returns nil error. ## 2.11.0 [2022-09-29] + ### Features + - [#353](https://github.com/influxdata/influxdb-client-go/pull/353) Simplify generated code. - [#353](https://github.com/influxdata/influxdb-client-go/pull/353) Regenerate code from swagger. - [#355](https://github.com/influxdata/influxdb-client-go/pull/355) Upgrade of lib gopkg.in/yaml from v2 to v3 ### Bug fixes + - [#354](https://github.com/influxdata/influxdb-client-go/pull/354) More efficient synchronization in WriteAPIBlocking. ### Breaking change + - [#353](https://github.com/influxdata/influxdb-client-go/pull/353): - Interface `Client` has been extended with `APIClient()` function. - The generated client API changed: @@ -53,231 +78,307 @@ - The functions return deserialized response body or an error (it was a response wrapper with a status code that had to be then validated) ## 2.10.0 [2022-08-25] + ### Features + - [#348](https://github.com/influxdata/influxdb-client-go/pull/348) Added `write.Options.Consitency` parameter to support InfluxDB Enterprise. - [#350](https://github.com/influxdata/influxdb-client-go/pull/350) Added support for implicit batching to `WriteAPIBlocking`. It's off by default, enabled by `EnableBatching()`. ### Bug fixes + - [#349](https://github.com/influxdata/influxdb-client-go/pull/349) Skip retrying on specific write errors (mostly partial write error). ### Breaking change + - [#350](https://github.com/influxdata/influxdb-client-go/pull/350) Interface `WriteAPIBlocking` is extend with `EnableBatching()` and `Flush()`. ## 2.9.2 [2022-07-29] + ### Bug fixes + - [#341](https://github.com/influxdata/influxdb-client-go/pull/341) Changing logging level of messages about discarding batch to Error. - [#344](https://github.com/influxdata/influxdb-client-go/pull/344) `WriteAPI.Flush()` writes also batches from the retry queue. ### Test + - [#345](https://github.com/influxdata/influxdb-client-go/pul/345) Added makefile for simplifying testing from command line. ## 2.9.1 [2022-06-24] + ### Bug fixes + - [#332](https://github.com/influxdata/influxdb-client-go/pull/332) Retry strategy drops expired batches as soon as they expire. - [#335](https://github.com/influxdata/influxdb-client-go/pull/335) Retry strategy keeps max retry delay for new batches. ## 2.9.0 [2022-05-20] + ### Features + - [#323](https://github.com/influxdata/influxdb-client-go/pull/323) Added `TasksAPI.CreateTaskByFlux` to allow full control of task script. - [#328](https://github.com/influxdata/influxdb-client-go/pull/328) Added `Client.SetupWithToken` allowing to specify a custom token. ### Bug fixes + - [#324](https://github.com/influxdata/influxdb-client-go/pull/324) Non-empty error channel will not block writes ## 2.8.2 [2022-04-19] + ### Bug fixes + - [#319](https://github.com/influxdata/influxdb-client-go/pull/319) Synchronize `WriteAPIImpl.Close` to prevent panic when closing client by multiple go-routines. ## 2.8.1 [2022-03-21] + ### Bug fixes + - [#311](https://github.com/influxdata/influxdb-client-go/pull/311) Correctly unwrapping http.Error from Server API calls - [#315](https://github.com/influxdata/influxdb-client-go/pull/315) Masking authorization token in log ## 2.8.0 [2022-02-18] + ### Features + - [#304](https://github.com/influxdata/influxdb-client-go/pull/304) Added public constructor for `QueryTableResult` - [#307](https://github.com/influxdata/influxdb-client-go/pull/307) Synced generated server API with the latest [oss.yml](https://github.com/influxdata/openapi/blob/master/contracts/oss.yml). - [#308](https://github.com/influxdata/influxdb-client-go/pull/308) Added Flux query parameters. Supported by InfluxDB Cloud only now. - [#308](https://github.com/influxdata/influxdb-client-go/pull/308) Go 1.17 is required ## 2.7.0[2022-01-20] + ### Features + - [#297](https://github.com/influxdata/influxdb-client-go/pull/297),[#298](https://github.com/influxdata/influxdb-client-go/pull/298) Optimized `WriteRecord` of [WriteAPIBlocking](https://pkg.go.dev/github.com/influxdata/influxdb-client-go/v2/api#WriteAPIBlocking). Custom batch can be written by single argument. ### Bug fixes -- [#294](https://github.com/influxdata/influxdb-client-go/pull/294) `WritePoint` and `WriteRecord` of [WriteAPIBlocking](https://pkg.go.dev/github.com/influxdata/influxdb-client-go/v2/api#WriteAPIBlocking) returns always full error information. + +- [#294](https://github.com/influxdata/influxdb-client-go/pull/294) `WritePoint` and `WriteRecord` of [WriteAPIBlocking](https://pkg.go.dev/github.com/influxdata/influxdb-client-go/v2/api#WriteAPIBlocking) returns always full error information. - [300](https://github.com/influxdata/influxdb-client-go/pull/300) Closing the response body after write batch. - [302](https://github.com/influxdata/influxdb-client-go/pull/302) FluxRecord.Table() returns value of the table column. ## 2.6.0[2021-11-26] + ### Features -- [#285](https://github.com/influxdata/influxdb-client-go/pull/285) Added *Client.Ping()* function as the only validation method available in both OSS and Cloud. + +- [#285](https://github.com/influxdata/influxdb-client-go/pull/285) Added _Client.Ping()_ function as the only validation method available in both OSS and Cloud. - [#286](https://github.com/influxdata/influxdb-client-go/pull/286) Synced generated server API with the latest [oss.yml](https://github.com/influxdata/openapi/blob/master/contracts/oss.yml). -- [#287](https://github.com/influxdata/influxdb-client-go/pull/287) Added *FluxRecord.Result()* function as a convenient way to retrieve the Flux result name of data. +- [#287](https://github.com/influxdata/influxdb-client-go/pull/287) Added _FluxRecord.Result()_ function as a convenient way to retrieve the Flux result name of data. ### Bug fixes -- [#285](https://github.com/influxdata/influxdb-client-go/pull/285) Functions *Client.Health()* and *Client.Ready()* correctly report an error when called against InfluxDB Cloud. + +- [#285](https://github.com/influxdata/influxdb-client-go/pull/285) Functions _Client.Health()_ and _Client.Ready()_ correctly report an error when called against InfluxDB Cloud. ### Breaking change -- [#285](https://github.com/influxdata/influxdb-client-go/pull/285) Function *Client.Ready()* now returns `*domain.Ready` with full uptime info. + +- [#285](https://github.com/influxdata/influxdb-client-go/pull/285) Function _Client.Ready()_ now returns `*domain.Ready` with full uptime info. ## 2.5.1[2021-09-17] + ### Bug fixes - - [#276](https://github.com/influxdata/influxdb-client-go/pull/276) Synchronized logging methods of _log.Logger_. + +- [#276](https://github.com/influxdata/influxdb-client-go/pull/276) Synchronized logging methods of _log.Logger_. ## 2.5.0 [2021-08-20] + ### Features - - [#264](https://github.com/influxdata/influxdb-client-go/pull/264) Synced generated server API with the latest [oss.yml](https://github.com/influxdata/openapi/blob/master/contracts/oss.yml). - - [#271](https://github.com/influxdata/influxdb-client-go/pull/271) Use exponential _random_ retry strategy - - [#273](https://github.com/influxdata/influxdb-client-go/pull/273) Added `WriteFailedCallback` for `WriteAPI` allowing to be _synchronously_ notified about failed writes and decide on further batch processing. + +- [#264](https://github.com/influxdata/influxdb-client-go/pull/264) Synced generated server API with the latest [oss.yml](https://github.com/influxdata/openapi/blob/master/contracts/oss.yml). +- [#271](https://github.com/influxdata/influxdb-client-go/pull/271) Use exponential _random_ retry strategy +- [#273](https://github.com/influxdata/influxdb-client-go/pull/273) Added `WriteFailedCallback` for `WriteAPI` allowing to be _synchronously_ notified about failed writes and decide on further batch processing. ### Bug fixes - - [#269](https://github.com/influxdata/influxdb-client-go/pull/269) Synchronized setters of _log.Logger_ to allow concurrent usage - - [#270](https://github.com/influxdata/influxdb-client-go/pull/270) Fixed duplicate `Content-Type` header in requests to managemet API + +- [#269](https://github.com/influxdata/influxdb-client-go/pull/269) Synchronized setters of _log.Logger_ to allow concurrent usage +- [#270](https://github.com/influxdata/influxdb-client-go/pull/270) Fixed duplicate `Content-Type` header in requests to managemet API ### Documentation - - [#261](https://github.com/influxdata/influxdb-client-go/pull/261) Update Line Protocol document link to v2.0 - - [#274](https://github.com/influxdata/influxdb-client-go/pull/274) Documenting proxy configuration and HTTP redirects handling + +- [#261](https://github.com/influxdata/influxdb-client-go/pull/261) Update Line Protocol document link to v2.0 +- [#274](https://github.com/influxdata/influxdb-client-go/pull/274) Documenting proxy configuration and HTTP redirects handling ## 2.4.0 [2021-06-04] + ### Features - - [#256](https://github.com/influxdata/influxdb-client-go/pull/256) Allowing 'Doer' interface for HTTP requests + +- [#256](https://github.com/influxdata/influxdb-client-go/pull/256) Allowing 'Doer' interface for HTTP requests ### Bug fixes - - [#259](https://github.com/influxdata/influxdb-client-go/pull/259) Fixed leaking connection in case of not reading whole query result on TLS connection +- [#259](https://github.com/influxdata/influxdb-client-go/pull/259) Fixed leaking connection in case of not reading whole query result on TLS connection ## 2.3.0 [2021-04-30] + ### Breaking change - - [#253](https://github.com/influxdata/influxdb-client-go/pull/253) Interface 'Logger' extended with 'LogLevel() uint' getter. + +- [#253](https://github.com/influxdata/influxdb-client-go/pull/253) Interface 'Logger' extended with 'LogLevel() uint' getter. ### Features - - [#241](https://github.com/influxdata/influxdb-client-go/pull/241),[#248](https://github.com/influxdata/influxdb-client-go/pull/248) Synced with InfluxDB 2.0.5 swagger: - - Setup (onboarding) now sends correctly retentionDuration if specified - - `RetentionRule` used in `Bucket` now contains `ShardGroupDurationSeconds` to specify the shard group duration. + +- [#241](https://github.com/influxdata/influxdb-client-go/pull/241),[#248](https://github.com/influxdata/influxdb-client-go/pull/248) Synced with InfluxDB 2.0.5 swagger: + - Setup (onboarding) now sends correctly retentionDuration if specified + - `RetentionRule` used in `Bucket` now contains `ShardGroupDurationSeconds` to specify the shard group duration. ### Documentation + 1. [#242](https://github.com/influxdata/influxdb-client-go/pull/242) Documentation improvements: - - [Custom server API example](https://pkg.go.dev/github.com/influxdata/influxdb-client-go/v2#example-Client-CustomServerAPICall) now shows how to create DBRP mapping - - Improved documentation about concurrency + +- [Custom server API example](https://pkg.go.dev/github.com/influxdata/influxdb-client-go/v2#example-Client-CustomServerAPICall) now shows how to create DBRP mapping +- Improved documentation about concurrency + 1. [#251](https://github.com/influxdata/influxdb-client-go/pull/251) Fixed Readme.md formatting ### Bug fixes + 1. [#252](https://github.com/influxdata/influxdb-client-go/pull/252) Fixed panic when getting not present standard Flux columns 1. [#253](https://github.com/influxdata/influxdb-client-go/pull/253) Conditional debug logging of buffers 1. [#254](https://github.com/influxdata/influxdb-client-go/pull/254) Fixed golint pull ## 2.2.3 [2021-04-01] + ### Bug fixes + 1. [#236](https://github.com/influxdata/influxdb-client-go/pull/236) Setting MaxRetries to zero value disables retry strategy. 1. [#239](https://github.com/influxdata/influxdb-client-go/pull/239) Blocking write client doesn't use retry handling. ## 2.2.2 [2021-01-29] + ### Bug fixes + 1. [#229](https://github.com/influxdata/influxdb-client-go/pull/229) Connection errors are also subject for retrying. ## 2.2.1 [2020-12-24] + ### Bug fixes + 1. [#220](https://github.com/influxdata/influxdb-client-go/pull/220) Fixed runtime error occurring when calling v2 API on v1 server. ### Documentation + 1. [#218](https://github.com/influxdata/influxdb-client-go/pull/218), [#221](https://github.com/influxdata/influxdb-client-go/pull/221), [#222](https://github.com/influxdata/influxdb-client-go/pull/222), Changed links leading to sources to point to API docs in Readme, fixed broken links to InfluxDB docs. ## 2.2.0 [2020-10-30] + ### Features + 1. [#206](https://github.com/influxdata/influxdb-client-go/pull/206) Adding TasksAPI for managing tasks and associated logs and runs. ### Bug fixes + 1. [#209](https://github.com/influxdata/influxdb-client-go/pull/209) Synchronizing access to the write service in WriteAPIBlocking. ## 2.1.0 [2020-10-02] + ### Features + 1. [#193](https://github.com/influxdata/influxdb-client-go/pull/193) Added authentication using username and password. See `UsersAPI.SignIn()` and `UsersAPI.SignOut()` 1. [#204](https://github.com/influxdata/influxdb-client-go/pull/204) Synced with InfluxDB 2 RC0 swagger. Added pagination to Organizations API and `After` paging param to Buckets API. ### Bug fixes + 1. [#191](https://github.com/influxdata/influxdb-client-go/pull/191) Fixed QueryTableResult.Next() failed to parse boolean datatype. 1. [#192](https://github.com/influxdata/influxdb-client-go/pull/192) Client.Close() closes idle connections of internally created HTTP client ### Documentation + 1. [#189](https://github.com/influxdata/influxdb-client-go/pull/189) Added clarification that server URL has to be the InfluxDB server base URL to API docs and all examples. 1. [#196](https://github.com/influxdata/influxdb-client-go/pull/196) Changed default server port 9999 to 8086 in docs and examples 1. [#200](https://github.com/influxdata/influxdb-client-go/pull/200) Fix example code in the Readme ## 2.0.1 [2020-08-14] + ### Bug fixes + 1. [#187](https://github.com/influxdata/influxdb-client-go/pull/187) Properly updated library for new major version. ## 2.0.0 [2020-08-14] + ### Breaking changes + 1. [#173](https://github.com/influxdata/influxdb-client-go/pull/173) Removed deprecated API. 1. [#174](https://github.com/influxdata/influxdb-client-go/pull/174) Removed orgs labels API cause [it has been removed from the server API](https://github.com/influxdata/influxdb/pull/19104) 1. [#175](https://github.com/influxdata/influxdb-client-go/pull/175) Removed WriteAPI.Close() ### Features + 1. [#165](https://github.com/influxdata/influxdb-client-go/pull/165) Allow overriding the http.Client for the http service. 1. [#179](https://github.com/influxdata/influxdb-client-go/pull/179) Unifying retry strategy among InfluxDB 2 clients: added exponential backoff. 1. [#180](https://github.com/influxdata/influxdb-client-go/pull/180) Provided public logger API to enable overriding logging. It is also possible to disable logging. 1. [#181](https://github.com/influxdata/influxdb-client-go/pull/181) Exposed HTTP service to allow custom server API calls. Added example. ### Bug fixes + 1. [#175](https://github.com/influxdata/influxdb-client-go/pull/175) Fixed WriteAPIs management. Keeping single instance for each org and bucket pair. ### Documentation + 1. [#185](https://github.com/influxdata/influxdb-client-go/pull/185) DeleteAPI and sample WriteAPIBlocking wrapper for implicit batching ## 1.4.0 [2020-07-17] + ### Breaking changes + 1. [#156](https://github.com/influxdata/influxdb-client-go/pull/156) Fixing Go naming and code style violations: -- Introducing new *API interfaces with proper name of types, methods and arguments. + +- Introducing new \*API interfaces with proper name of types, methods and arguments. - This also affects the `Client` interface and the `Options` type. - Affected types and methods have been deprecated and they will be removed in the next release. ### Bug fixes + 1. [#152](https://github.com/influxdata/influxdb-client-go/pull/152) Allow connecting to server on a URL path 1. [#154](https://github.com/influxdata/influxdb-client-go/pull/154) Use idiomatic go style for write channels (internal) 1. [#155](https://github.com/influxdata/influxdb-client-go/pull/155) Fix panic in FindOrganizationByName in case of no permissions - ## 1.3.0 [2020-06-19] + ### Features + 1. [#131](https://github.com/influxdata/influxdb-client-go/pull/131) Labels API 1. [#136](https://github.com/influxdata/influxdb-client-go/pull/136) Possibility to specify default tags 1. [#138](https://github.com/influxdata/influxdb-client-go/pull/138) Fix errors from InfluxDB 1.8 being empty ### Bug fixes + 1. [#132](https://github.com/influxdata/influxdb-client-go/pull/132) Handle unsupported write type as string instead of generating panic 1. [#134](https://github.com/influxdata/influxdb-client-go/pull/134) FluxQueryResult: support reordering of annotations ## 1.2.0 [2020-05-15] + ### Breaking Changes - - [#107](https://github.com/influxdata/influxdb-client-go/pull/107) Renamed `InfluxDBClient` interface to `Client`, so the full name `influxdb2.Client` suits better to Go naming conventions - - [#125](https://github.com/influxdata/influxdb-client-go/pull/125) `WriteApi`,`WriteApiBlocking`,`QueryApi` interfaces and related objects like `Point`, `FluxTableMetadata`, `FluxTableColumn`, `FluxRecord`, moved to the `api` ( and `api/write`, `api/query`) packages - to provide consistent interface + +- [#107](https://github.com/influxdata/influxdb-client-go/pull/107) Renamed `InfluxDBClient` interface to `Client`, so the full name `influxdb2.Client` suits better to Go naming conventions +- [#125](https://github.com/influxdata/influxdb-client-go/pull/125) `WriteApi`,`WriteApiBlocking`,`QueryApi` interfaces and related objects like `Point`, `FluxTableMetadata`, `FluxTableColumn`, `FluxRecord`, moved to the `api` ( and `api/write`, `api/query`) packages + to provide consistent interface ### Features + 1. [#120](https://github.com/influxdata/influxdb-client-go/pull/120) Health check API 1. [#122](https://github.com/influxdata/influxdb-client-go/pull/122) Delete API 1. [#124](https://github.com/influxdata/influxdb-client-go/pull/124) Buckets API ### Bug fixes + 1. [#108](https://github.com/influxdata/influxdb-client-go/pull/108) Fix default retry interval doc 1. [#110](https://github.com/influxdata/influxdb-client-go/pull/110) Allowing empty (nil) values in query result ### Documentation - - [#112](https://github.com/influxdata/influxdb-client-go/pull/112) Clarify how to use client with InfluxDB 1.8+ - - [#115](https://github.com/influxdata/influxdb-client-go/pull/115) Doc and examples for reading write api errors + +- [#112](https://github.com/influxdata/influxdb-client-go/pull/112) Clarify how to use client with InfluxDB 1.8+ +- [#115](https://github.com/influxdata/influxdb-client-go/pull/115) Doc and examples for reading write api errors ## 1.1.0 [2020-04-24] + ### Features -1. [#100](https://github.com/influxdata/influxdb-client-go/pull/100) HTTP request timeout made configurable -1. [#99](https://github.com/influxdata/influxdb-client-go/pull/99) Organizations API and Users API -1. [#96](https://github.com/influxdata/influxdb-client-go/pull/96) Authorization API + +1. [#100](https://github.com/influxdata/influxdb-client-go/pull/100) HTTP request timeout made configurable +1. [#99](https://github.com/influxdata/influxdb-client-go/pull/99) Organizations API and Users API +1. [#96](https://github.com/influxdata/influxdb-client-go/pull/96) Authorization API ### Docs + 1. [#101](https://github.com/influxdata/influxdb-client-go/pull/101) Added examples to API docs ## 1.0.0 [2020-04-01] + ### Core - initial release of new client version diff --git a/vendor/github.com/influxdata/influxdb-client-go/v2/api/data_to_point.go b/vendor/github.com/influxdata/influxdb-client-go/v2/api/data_to_point.go new file mode 100644 index 00000000..49779587 --- /dev/null +++ b/vendor/github.com/influxdata/influxdb-client-go/v2/api/data_to_point.go @@ -0,0 +1,96 @@ +package api + +import ( + "fmt" + "reflect" + "strings" + "time" + + "github.com/influxdata/influxdb-client-go/v2/api/write" +) + +// DataToPoint converts custom point structures into a Point. +// Each visible field of the point on input must be annotated with +// 'lp' prefix and values measurement,tag, field or timestamp. +// Valid point must contain measurement and at least one field. +// +// A field with timestamp must be of a type time.Time +// +// type TemperatureSensor struct { +// Measurement string `lp:"measurement"` +// Sensor string `lp:"tag,sensor"` +// ID string `lp:"tag,device_id"` +// Temp float64 `lp:"field,temperature"` +// Hum int `lp:"field,humidity"` +// Time time.Time `lp:"timestamp,temperature"` +// Description string `lp:"-"` +// } +func DataToPoint(x interface{}) (*write.Point, error) { + t := reflect.TypeOf(x) + v := reflect.ValueOf(x) + if t.Kind() == reflect.Ptr { + t = t.Elem() + v = v.Elem() + } + if t.Kind() != reflect.Struct { + return nil, fmt.Errorf("cannot use %v as point", t) + } + fields := reflect.VisibleFields(t) + + var measurement = "" + var lpTags = make(map[string]string) + var lpFields = make(map[string]interface{}) + var lpTime time.Time + + for _, f := range fields { + name := f.Name + if tag, ok := f.Tag.Lookup("lp"); ok { + if tag == "-" { + continue + } + parts := strings.Split(tag, ",") + if len(parts) > 2 { + return nil, fmt.Errorf("multiple tag attributes are not supported") + } + typ := parts[0] + if len(parts) == 2 { + name = parts[1] + } + t := getFieldType(v.FieldByIndex(f.Index)) + if !validFieldType(t) { + return nil, fmt.Errorf("cannot use field '%s' of type '%v' as to create a point", f.Name, t) + } + switch typ { + case "measurement": + if measurement != "" { + return nil, fmt.Errorf("multiple measurement fields") + } + measurement = v.FieldByIndex(f.Index).String() + case "tag": + if name == "" { + return nil, fmt.Errorf("cannot use field '%s': invalid lp tag name \"\"", f.Name) + } + lpTags[name] = v.FieldByIndex(f.Index).String() + case "field": + if name == "" { + return nil, fmt.Errorf("cannot use field '%s': invalid lp field name \"\"", f.Name) + } + lpFields[name] = v.FieldByIndex(f.Index).Interface() + case "timestamp": + if f.Type != timeType { + return nil, fmt.Errorf("cannot use field '%s' as a timestamp", f.Name) + } + lpTime = v.FieldByIndex(f.Index).Interface().(time.Time) + default: + return nil, fmt.Errorf("invalid tag %s", typ) + } + } + } + if measurement == "" { + return nil, fmt.Errorf("no struct field with tag 'measurement'") + } + if len(lpFields) == 0 { + return nil, fmt.Errorf("no struct field with tag 'field'") + } + return write.NewPoint(measurement, lpTags, lpFields, lpTime), nil +} diff --git a/vendor/github.com/influxdata/influxdb-client-go/v2/api/http/service.go b/vendor/github.com/influxdata/influxdb-client-go/v2/api/http/service.go index 6316805d..7e2bc466 100644 --- a/vendor/github.com/influxdata/influxdb-client-go/v2/api/http/service.go +++ b/vendor/github.com/influxdata/influxdb-client-go/v2/api/http/service.go @@ -9,14 +9,14 @@ // // Service can be obtained from client using HTTPService() method. // It can be also created directly. To instantiate a Service use NewService(). Remember, the authorization param is in form "Token your-auth-token". e.g. "Token DXnd7annkGteV5Wqx9G3YjO9Ezkw87nHk8OabcyHCxF5451kdBV0Ag2cG7OmZZgCUTHroagUPdxbuoyen6TSPw==". -// srv := http.NewService("http://localhost:8086", "Token my-token", http.DefaultOptions()) +// +// srv := http.NewService("http://localhost:8086", "Token my-token", http.DefaultOptions()) package http import ( "context" "encoding/json" "io" - "io/ioutil" "mime" "net/http" "net/url" @@ -145,7 +145,7 @@ func (s *service) parseHTTPError(r *http.Response) *Error { } defer func() { // discard body so connection can be reused - _, _ = io.Copy(ioutil.Discard, r.Body) + _, _ = io.Copy(io.Discard, r.Body) _ = r.Body.Close() }() @@ -164,7 +164,7 @@ func (s *service) parseHTTPError(r *http.Response) *Error { if ctype == "application/json" { perror.Err = json.NewDecoder(r.Body).Decode(perror) } else { - body, err := ioutil.ReadAll(r.Body) + body, err := io.ReadAll(r.Body) if err != nil { perror.Err = err return perror diff --git a/vendor/github.com/influxdata/influxdb-client-go/v2/api/query.go b/vendor/github.com/influxdata/influxdb-client-go/v2/api/query.go index 9582d454..a5471487 100644 --- a/vendor/github.com/influxdata/influxdb-client-go/v2/api/query.go +++ b/vendor/github.com/influxdata/influxdb-client-go/v2/api/query.go @@ -14,7 +14,6 @@ import ( "errors" "fmt" "io" - "io/ioutil" "net/http" "net/url" "path" @@ -50,20 +49,19 @@ const ( // The name of a struct field or a map key (must be a string) will be a param name. // The name of the parameter represented by a struct field can be specified by JSON annotation: // -// type Condition struct { -// Start time.Time `json:"start"` -// Field string `json:"field"` -// Value float64 `json:"value"` -// } +// type Condition struct { +// Start time.Time `json:"start"` +// Field string `json:"field"` +// Value float64 `json:"value"` +// } // -// Parameters are then accessed via the Flux params object: -// -// query:= `from(bucket: "environment") -// |> range(start: time(v: params.start)) -// |> filter(fn: (r) => r._measurement == "air") -// |> filter(fn: (r) => r._field == params.field) -// |> filter(fn: (r) => r._value > params.value)` +// Parameters are then accessed via the Flux params object: // +// query:= `from(bucket: "environment") +// |> range(start: time(v: params.start)) +// |> filter(fn: (r) => r._measurement == "air") +// |> filter(fn: (r) => r._field == params.field) +// |> filter(fn: (r) => r._value > params.value)` type QueryAPI interface { // QueryRaw executes flux query on the InfluxDB server and returns complete query result as a string with table annotations according to dialect QueryRaw(ctx context.Context, query string, dialect *domain.Dialect) (string, error) @@ -113,7 +111,7 @@ type queryAPI struct { lock sync.Mutex } -// queryBody holds the body for an HTTP query request. +// queryBody holds the body for an HTTP query request. type queryBody struct { Dialect *domain.Dialect `json:"dialect,omitempty"` Query string `json:"query"` @@ -158,7 +156,7 @@ func (q *queryAPI) QueryRawWithParams(ctx context.Context, query string, dialect return err } } - respBody, err := ioutil.ReadAll(resp.Body) + respBody, err := io.ReadAll(resp.Body) if err != nil { return err } @@ -291,22 +289,6 @@ func checkParamsType(p interface{}) error { return nil } -// getFieldType extracts type of value -func getFieldType(v reflect.Value) reflect.Type { - t := v.Type() - if t.Kind() == reflect.Ptr { - t = t.Elem() - v = v.Elem() - } - if t.Kind() == reflect.Interface && !v.IsNil() { - t = reflect.ValueOf(v.Interface()).Type() - } - return t -} - -// timeType is the exact type for the Time -var timeType = reflect.TypeOf(time.Time{}) - // validParamType validates that t is primitive type or string or interface func validParamType(t reflect.Type) bool { return (t.Kind() > reflect.Invalid && t.Kind() < reflect.Complex64) || diff --git a/vendor/github.com/influxdata/influxdb-client-go/v2/api/reflection.go b/vendor/github.com/influxdata/influxdb-client-go/v2/api/reflection.go new file mode 100644 index 00000000..8becc407 --- /dev/null +++ b/vendor/github.com/influxdata/influxdb-client-go/v2/api/reflection.go @@ -0,0 +1,29 @@ +package api + +import ( + "reflect" + "time" +) + +// getFieldType extracts type of value +func getFieldType(v reflect.Value) reflect.Type { + t := v.Type() + if t.Kind() == reflect.Ptr { + t = t.Elem() + v = v.Elem() + } + if t.Kind() == reflect.Interface && !v.IsNil() { + t = reflect.ValueOf(v.Interface()).Type() + } + return t +} + +// timeType is the exact type for the Time +var timeType = reflect.TypeOf(time.Time{}) + +// validFieldType validates that t is primitive type or string or interface +func validFieldType(t reflect.Type) bool { + return (t.Kind() > reflect.Invalid && t.Kind() < reflect.Complex64) || + t.Kind() == reflect.String || + t == timeType +} diff --git a/vendor/github.com/influxdata/influxdb-client-go/v2/domain/client.gen.go b/vendor/github.com/influxdata/influxdb-client-go/v2/domain/client.gen.go index b22e0002..12e0d799 100644 --- a/vendor/github.com/influxdata/influxdb-client-go/v2/domain/client.gen.go +++ b/vendor/github.com/influxdata/influxdb-client-go/v2/domain/client.gen.go @@ -10,13 +10,12 @@ import ( "errors" "fmt" "io" - "io/ioutil" "mime" "net/http" "net/url" "strings" - "github.com/deepmap/oapi-codegen/pkg/runtime" + "github.com/oapi-codegen/runtime" ) // Doer performs HTTP requests. @@ -213,7 +212,7 @@ func (c *Client) GetAuthorizations(ctx context.Context, params *GetAuthorization if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -280,7 +279,7 @@ func (c *Client) PostAuthorizations(ctx context.Context, params *PostAuthorizati if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -350,7 +349,7 @@ func (c *Client) DeleteAuthorizationsID(ctx context.Context, params *DeleteAutho defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -405,7 +404,7 @@ func (c *Client) GetAuthorizationsID(ctx context.Context, params *GetAuthorizati if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -479,7 +478,7 @@ func (c *Client) PatchAuthorizationsID(ctx context.Context, params *PatchAuthori if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -654,7 +653,7 @@ func (c *Client) GetBuckets(ctx context.Context, params *GetBucketsParams) (*Buc if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -721,7 +720,7 @@ func (c *Client) PostBuckets(ctx context.Context, params *PostBucketsAllParams) if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -791,7 +790,7 @@ func (c *Client) DeleteBucketsID(ctx context.Context, params *DeleteBucketsIDAll defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -846,7 +845,7 @@ func (c *Client) GetBucketsID(ctx context.Context, params *GetBucketsIDAllParams if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -920,7 +919,7 @@ func (c *Client) PatchBucketsID(ctx context.Context, params *PatchBucketsIDAllPa if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -986,7 +985,7 @@ func (c *Client) GetBucketsIDLabels(ctx context.Context, params *GetBucketsIDLab if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -1060,7 +1059,7 @@ func (c *Client) PostBucketsIDLabels(ctx context.Context, params *PostBucketsIDL if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -1137,7 +1136,7 @@ func (c *Client) DeleteBucketsIDLabelsID(ctx context.Context, params *DeleteBuck defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -1192,7 +1191,7 @@ func (c *Client) GetBucketsIDMembers(ctx context.Context, params *GetBucketsIDMe if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -1266,7 +1265,7 @@ func (c *Client) PostBucketsIDMembers(ctx context.Context, params *PostBucketsID if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -1343,7 +1342,7 @@ func (c *Client) DeleteBucketsIDMembersID(ctx context.Context, params *DeleteBuc defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -1398,7 +1397,7 @@ func (c *Client) GetBucketsIDOwners(ctx context.Context, params *GetBucketsIDOwn if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -1472,7 +1471,7 @@ func (c *Client) PostBucketsIDOwners(ctx context.Context, params *PostBucketsIDO if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -1549,7 +1548,7 @@ func (c *Client) DeleteBucketsIDOwnersID(ctx context.Context, params *DeleteBuck defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -1645,7 +1644,7 @@ func (c *Client) GetChecks(ctx context.Context, params *GetChecksParams) (*Check if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -1701,7 +1700,7 @@ func (c *Client) CreateCheck(ctx context.Context, params *CreateCheckAllParams) if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -1771,7 +1770,7 @@ func (c *Client) DeleteChecksID(ctx context.Context, params *DeleteChecksIDAllPa defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -1826,7 +1825,7 @@ func (c *Client) GetChecksID(ctx context.Context, params *GetChecksIDAllParams) if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -1900,7 +1899,7 @@ func (c *Client) PatchChecksID(ctx context.Context, params *PatchChecksIDAllPara if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -1974,7 +1973,7 @@ func (c *Client) PutChecksID(ctx context.Context, params *PutChecksIDAllParams) if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -2040,7 +2039,7 @@ func (c *Client) GetChecksIDLabels(ctx context.Context, params *GetChecksIDLabel if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -2114,7 +2113,7 @@ func (c *Client) PostChecksIDLabels(ctx context.Context, params *PostChecksIDLab if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -2191,7 +2190,7 @@ func (c *Client) DeleteChecksIDLabelsID(ctx context.Context, params *DeleteCheck defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -2246,7 +2245,7 @@ func (c *Client) GetChecksIDQuery(ctx context.Context, params *GetChecksIDQueryA if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -2305,7 +2304,7 @@ func (c *Client) GetConfig(ctx context.Context, params *GetConfigParams) (*Confi if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -2496,7 +2495,7 @@ func (c *Client) GetDashboards(ctx context.Context, params *GetDashboardsParams) if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -2566,7 +2565,7 @@ func (c *Client) DeleteDashboardsID(ctx context.Context, params *DeleteDashboard defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -2629,7 +2628,7 @@ func (c *Client) PatchDashboardsID(ctx context.Context, params *PatchDashboardsI if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -2703,7 +2702,7 @@ func (c *Client) PostDashboardsIDCells(ctx context.Context, params *PostDashboar if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -2777,7 +2776,7 @@ func (c *Client) PutDashboardsIDCells(ctx context.Context, params *PutDashboards if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -2854,7 +2853,7 @@ func (c *Client) DeleteDashboardsIDCellsID(ctx context.Context, params *DeleteDa defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -2924,7 +2923,7 @@ func (c *Client) PatchDashboardsIDCellsID(ctx context.Context, params *PatchDash if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -2997,7 +2996,7 @@ func (c *Client) GetDashboardsIDCellsIDView(ctx context.Context, params *GetDash if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -3078,7 +3077,7 @@ func (c *Client) PatchDashboardsIDCellsIDView(ctx context.Context, params *Patch if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -3144,7 +3143,7 @@ func (c *Client) GetDashboardsIDLabels(ctx context.Context, params *GetDashboard if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -3218,7 +3217,7 @@ func (c *Client) PostDashboardsIDLabels(ctx context.Context, params *PostDashboa if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -3295,7 +3294,7 @@ func (c *Client) DeleteDashboardsIDLabelsID(ctx context.Context, params *DeleteD defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -3350,7 +3349,7 @@ func (c *Client) GetDashboardsIDMembers(ctx context.Context, params *GetDashboar if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -3424,7 +3423,7 @@ func (c *Client) PostDashboardsIDMembers(ctx context.Context, params *PostDashbo if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -3501,7 +3500,7 @@ func (c *Client) DeleteDashboardsIDMembersID(ctx context.Context, params *Delete defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -3556,7 +3555,7 @@ func (c *Client) GetDashboardsIDOwners(ctx context.Context, params *GetDashboard if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -3630,7 +3629,7 @@ func (c *Client) PostDashboardsIDOwners(ctx context.Context, params *PostDashboa if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -3707,7 +3706,7 @@ func (c *Client) DeleteDashboardsIDOwnersID(ctx context.Context, params *DeleteD defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -3871,7 +3870,7 @@ func (c *Client) GetDBRPs(ctx context.Context, params *GetDBRPsParams) (*DBRPs, if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -3938,7 +3937,7 @@ func (c *Client) PostDBRP(ctx context.Context, params *PostDBRPAllParams) (*DBRP if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -4044,7 +4043,7 @@ func (c *Client) DeleteDBRPID(ctx context.Context, params *DeleteDBRPIDAllParams defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -4135,7 +4134,7 @@ func (c *Client) GetDBRPsID(ctx context.Context, params *GetDBRPsIDAllParams) (* if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -4245,7 +4244,7 @@ func (c *Client) PatchDBRPID(ctx context.Context, params *PatchDBRPIDAllParams) if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -4384,7 +4383,7 @@ func (c *Client) PostDelete(ctx context.Context, params *PostDeleteAllParams) er defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -4432,7 +4431,7 @@ func (c *Client) GetFlags(ctx context.Context, params *GetFlagsParams) (*Flags, if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -4491,7 +4490,7 @@ func (c *Client) GetHealth(ctx context.Context, params *GetHealthParams) (*Healt if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -4570,7 +4569,7 @@ func (c *Client) GetLabels(ctx context.Context, params *GetLabelsParams) (*Label if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -4626,7 +4625,7 @@ func (c *Client) PostLabels(ctx context.Context, params *PostLabelsAllParams) (* if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -4696,7 +4695,7 @@ func (c *Client) DeleteLabelsID(ctx context.Context, params *DeleteLabelsIDAllPa defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -4751,7 +4750,7 @@ func (c *Client) GetLabelsID(ctx context.Context, params *GetLabelsIDAllParams) if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -4825,7 +4824,7 @@ func (c *Client) PatchLabelsID(ctx context.Context, params *PatchLabelsIDAllPara if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -4884,7 +4883,7 @@ func (c *Client) GetMe(ctx context.Context, params *GetMeParams) (*UserResponse, if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -4955,7 +4954,7 @@ func (c *Client) PutMePassword(ctx context.Context, params *PutMePasswordAllPara defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -5051,7 +5050,7 @@ func (c *Client) GetNotificationEndpoints(ctx context.Context, params *GetNotifi if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -5107,7 +5106,7 @@ func (c *Client) CreateNotificationEndpoint(ctx context.Context, params *CreateN if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -5177,7 +5176,7 @@ func (c *Client) DeleteNotificationEndpointsID(ctx context.Context, params *Dele defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -5232,7 +5231,7 @@ func (c *Client) GetNotificationEndpointsID(ctx context.Context, params *GetNoti if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -5306,7 +5305,7 @@ func (c *Client) PatchNotificationEndpointsID(ctx context.Context, params *Patch if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -5380,7 +5379,7 @@ func (c *Client) PutNotificationEndpointsID(ctx context.Context, params *PutNoti if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -5446,7 +5445,7 @@ func (c *Client) GetNotificationEndpointsIDLabels(ctx context.Context, params *G if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -5520,7 +5519,7 @@ func (c *Client) PostNotificationEndpointIDLabels(ctx context.Context, params *P if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -5597,7 +5596,7 @@ func (c *Client) DeleteNotificationEndpointsIDLabelsID(ctx context.Context, para defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -5725,7 +5724,7 @@ func (c *Client) GetNotificationRules(ctx context.Context, params *GetNotificati if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -5781,7 +5780,7 @@ func (c *Client) CreateNotificationRule(ctx context.Context, params *CreateNotif if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -5851,7 +5850,7 @@ func (c *Client) DeleteNotificationRulesID(ctx context.Context, params *DeleteNo defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -5906,7 +5905,7 @@ func (c *Client) GetNotificationRulesID(ctx context.Context, params *GetNotifica if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -5980,7 +5979,7 @@ func (c *Client) PatchNotificationRulesID(ctx context.Context, params *PatchNoti if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -6054,7 +6053,7 @@ func (c *Client) PutNotificationRulesID(ctx context.Context, params *PutNotifica if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -6120,7 +6119,7 @@ func (c *Client) GetNotificationRulesIDLabels(ctx context.Context, params *GetNo if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -6194,7 +6193,7 @@ func (c *Client) PostNotificationRuleIDLabels(ctx context.Context, params *PostN if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -6271,7 +6270,7 @@ func (c *Client) DeleteNotificationRulesIDLabelsID(ctx context.Context, params * defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -6326,7 +6325,7 @@ func (c *Client) GetNotificationRulesIDQuery(ctx context.Context, params *GetNot if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -6485,7 +6484,7 @@ func (c *Client) GetOrgs(ctx context.Context, params *GetOrgsParams) (*Organizat if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -6552,7 +6551,7 @@ func (c *Client) PostOrgs(ctx context.Context, params *PostOrgsAllParams) (*Orga if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -6622,7 +6621,7 @@ func (c *Client) DeleteOrgsID(ctx context.Context, params *DeleteOrgsIDAllParams defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -6677,7 +6676,7 @@ func (c *Client) GetOrgsID(ctx context.Context, params *GetOrgsIDAllParams) (*Or if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -6751,7 +6750,7 @@ func (c *Client) PatchOrgsID(ctx context.Context, params *PatchOrgsIDAllParams) if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -6817,7 +6816,7 @@ func (c *Client) GetOrgsIDMembers(ctx context.Context, params *GetOrgsIDMembersA if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -6891,7 +6890,7 @@ func (c *Client) PostOrgsIDMembers(ctx context.Context, params *PostOrgsIDMember if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -6968,7 +6967,7 @@ func (c *Client) DeleteOrgsIDMembersID(ctx context.Context, params *DeleteOrgsID defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -7023,7 +7022,7 @@ func (c *Client) GetOrgsIDOwners(ctx context.Context, params *GetOrgsIDOwnersAll if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -7097,7 +7096,7 @@ func (c *Client) PostOrgsIDOwners(ctx context.Context, params *PostOrgsIDOwnersA if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -7174,7 +7173,7 @@ func (c *Client) DeleteOrgsIDOwnersID(ctx context.Context, params *DeleteOrgsIDO defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -7229,7 +7228,7 @@ func (c *Client) GetOrgsIDSecrets(ctx context.Context, params *GetOrgsIDSecretsA if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -7307,7 +7306,7 @@ func (c *Client) PatchOrgsIDSecrets(ctx context.Context, params *PatchOrgsIDSecr defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -7374,7 +7373,7 @@ func (c *Client) PostOrgsIDSecrets(ctx context.Context, params *PostOrgsIDSecret defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -7440,7 +7439,7 @@ func (c *Client) DeleteOrgsIDSecretsID(ctx context.Context, params *DeleteOrgsID defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -7481,7 +7480,7 @@ func (c *Client) GetPing(ctx context.Context) error { defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -7522,7 +7521,7 @@ func (c *Client) HeadPing(ctx context.Context) error { defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -7589,7 +7588,7 @@ func (c *Client) PostQueryAnalyze(ctx context.Context, params *PostQueryAnalyzeA if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -7667,7 +7666,7 @@ func (c *Client) PostQueryAst(ctx context.Context, params *PostQueryAstAllParams if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -7726,7 +7725,7 @@ func (c *Client) GetQuerySuggestions(ctx context.Context, params *GetQuerySugges if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -7792,7 +7791,7 @@ func (c *Client) GetQuerySuggestionsName(ctx context.Context, params *GetQuerySu if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -7851,7 +7850,7 @@ func (c *Client) GetReady(ctx context.Context, params *GetReadyParams) (*Ready, if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -7958,7 +7957,7 @@ func (c *Client) GetRemoteConnections(ctx context.Context, params *GetRemoteConn if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -8014,7 +8013,7 @@ func (c *Client) PostRemoteConnection(ctx context.Context, params *PostRemoteCon if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -8084,7 +8083,7 @@ func (c *Client) DeleteRemoteConnectionByID(ctx context.Context, params *DeleteR defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -8139,7 +8138,7 @@ func (c *Client) GetRemoteConnectionByID(ctx context.Context, params *GetRemoteC if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -8213,7 +8212,7 @@ func (c *Client) PatchRemoteConnectionByID(ctx context.Context, params *PatchRem if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -8336,7 +8335,7 @@ func (c *Client) GetReplications(ctx context.Context, params *GetReplicationsPar if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -8423,7 +8422,7 @@ func (c *Client) PostReplication(ctx context.Context, params *PostReplicationAll if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -8493,7 +8492,7 @@ func (c *Client) DeleteReplicationByID(ctx context.Context, params *DeleteReplic defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -8548,7 +8547,7 @@ func (c *Client) GetReplicationByID(ctx context.Context, params *GetReplicationB if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -8642,7 +8641,7 @@ func (c *Client) PatchReplicationByID(ctx context.Context, params *PatchReplicat if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -8712,7 +8711,7 @@ func (c *Client) PostValidateReplicationByID(ctx context.Context, params *PostVa defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -8760,7 +8759,7 @@ func (c *Client) GetResources(ctx context.Context, params *GetResourcesParams) ( if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -8827,7 +8826,7 @@ func (c *Client) PostRestoreBucketMetadata(ctx context.Context, params *PostRest if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -8954,7 +8953,7 @@ func (c *Client) GetScrapers(ctx context.Context, params *GetScrapersParams) (*S if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -9021,7 +9020,7 @@ func (c *Client) PostScrapers(ctx context.Context, params *PostScrapersAllParams if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -9091,7 +9090,7 @@ func (c *Client) DeleteScrapersID(ctx context.Context, params *DeleteScrapersIDA defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -9146,7 +9145,7 @@ func (c *Client) GetScrapersID(ctx context.Context, params *GetScrapersIDAllPara if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -9220,7 +9219,7 @@ func (c *Client) PatchScrapersID(ctx context.Context, params *PatchScrapersIDAll if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -9286,7 +9285,7 @@ func (c *Client) GetScrapersIDLabels(ctx context.Context, params *GetScrapersIDL if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -9360,7 +9359,7 @@ func (c *Client) PostScrapersIDLabels(ctx context.Context, params *PostScrapersI if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -9437,7 +9436,7 @@ func (c *Client) DeleteScrapersIDLabelsID(ctx context.Context, params *DeleteScr defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -9492,7 +9491,7 @@ func (c *Client) GetScrapersIDMembers(ctx context.Context, params *GetScrapersID if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -9566,7 +9565,7 @@ func (c *Client) PostScrapersIDMembers(ctx context.Context, params *PostScrapers if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -9643,7 +9642,7 @@ func (c *Client) DeleteScrapersIDMembersID(ctx context.Context, params *DeleteSc defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -9698,7 +9697,7 @@ func (c *Client) GetScrapersIDOwners(ctx context.Context, params *GetScrapersIDO if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -9772,7 +9771,7 @@ func (c *Client) PostScrapersIDOwners(ctx context.Context, params *PostScrapersI if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -9849,7 +9848,7 @@ func (c *Client) DeleteScrapersIDOwnersID(ctx context.Context, params *DeleteScr defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -9897,7 +9896,7 @@ func (c *Client) GetSetup(ctx context.Context, params *GetSetupParams) (*IsOnboa if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -9964,7 +9963,7 @@ func (c *Client) PostSetup(ctx context.Context, params *PostSetupAllParams) (*On if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -10027,7 +10026,7 @@ func (c *Client) PostSignin(ctx context.Context, params *PostSigninParams) error defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -10079,7 +10078,7 @@ func (c *Client) PostSignout(ctx context.Context, params *PostSignoutParams) err defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -10147,7 +10146,7 @@ func (c *Client) GetSources(ctx context.Context, params *GetSourcesParams) (*Sou if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -10214,7 +10213,7 @@ func (c *Client) PostSources(ctx context.Context, params *PostSourcesAllParams) if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -10284,7 +10283,7 @@ func (c *Client) DeleteSourcesID(ctx context.Context, params *DeleteSourcesIDAll defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -10339,7 +10338,7 @@ func (c *Client) GetSourcesID(ctx context.Context, params *GetSourcesIDAllParams if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -10413,7 +10412,7 @@ func (c *Client) PatchSourcesID(ctx context.Context, params *PatchSourcesIDAllPa if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -10499,7 +10498,7 @@ func (c *Client) GetSourcesIDBuckets(ctx context.Context, params *GetSourcesIDBu if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -10565,7 +10564,7 @@ func (c *Client) GetSourcesIDHealth(ctx context.Context, params *GetSourcesIDHea if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -10663,7 +10662,7 @@ func (c *Client) ListStacks(ctx context.Context, params *ListStacksParams) (*str if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -10721,7 +10720,7 @@ func (c *Client) CreateStack(ctx context.Context, params *CreateStackAllParams) if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -10796,7 +10795,7 @@ func (c *Client) DeleteStack(ctx context.Context, params *DeleteStackAllParams) defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -10840,7 +10839,7 @@ func (c *Client) ReadStack(ctx context.Context, params *ReadStackAllParams) (*St if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -10903,7 +10902,7 @@ func (c *Client) UpdateStack(ctx context.Context, params *UpdateStackAllParams) if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -10958,7 +10957,7 @@ func (c *Client) UninstallStack(ctx context.Context, params *UninstallStackAllPa if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -11149,7 +11148,7 @@ func (c *Client) GetTasks(ctx context.Context, params *GetTasksParams) (*Tasks, if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -11216,7 +11215,7 @@ func (c *Client) PostTasks(ctx context.Context, params *PostTasksAllParams) (*Ta if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -11286,7 +11285,7 @@ func (c *Client) DeleteTasksID(ctx context.Context, params *DeleteTasksIDAllPara defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -11341,7 +11340,7 @@ func (c *Client) GetTasksID(ctx context.Context, params *GetTasksIDAllParams) (* if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -11415,7 +11414,7 @@ func (c *Client) PatchTasksID(ctx context.Context, params *PatchTasksIDAllParams if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -11481,7 +11480,7 @@ func (c *Client) GetTasksIDLabels(ctx context.Context, params *GetTasksIDLabelsA if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -11555,7 +11554,7 @@ func (c *Client) PostTasksIDLabels(ctx context.Context, params *PostTasksIDLabel if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -11632,7 +11631,7 @@ func (c *Client) DeleteTasksIDLabelsID(ctx context.Context, params *DeleteTasksI defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -11687,7 +11686,7 @@ func (c *Client) GetTasksIDLogs(ctx context.Context, params *GetTasksIDLogsAllPa if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -11753,7 +11752,7 @@ func (c *Client) GetTasksIDMembers(ctx context.Context, params *GetTasksIDMember if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -11827,7 +11826,7 @@ func (c *Client) PostTasksIDMembers(ctx context.Context, params *PostTasksIDMemb if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -11904,7 +11903,7 @@ func (c *Client) DeleteTasksIDMembersID(ctx context.Context, params *DeleteTasks defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -11959,7 +11958,7 @@ func (c *Client) GetTasksIDOwners(ctx context.Context, params *GetTasksIDOwnersA if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -12033,7 +12032,7 @@ func (c *Client) PostTasksIDOwners(ctx context.Context, params *PostTasksIDOwner if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -12110,7 +12109,7 @@ func (c *Client) DeleteTasksIDOwnersID(ctx context.Context, params *DeleteTasksI defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -12233,7 +12232,7 @@ func (c *Client) GetTasksIDRuns(ctx context.Context, params *GetTasksIDRunsAllPa if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -12307,7 +12306,7 @@ func (c *Client) PostTasksIDRuns(ctx context.Context, params *PostTasksIDRunsAll if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -12384,7 +12383,7 @@ func (c *Client) DeleteTasksIDRunsID(ctx context.Context, params *DeleteTasksIDR defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -12446,7 +12445,7 @@ func (c *Client) GetTasksIDRunsID(ctx context.Context, params *GetTasksIDRunsIDA if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -12519,7 +12518,7 @@ func (c *Client) GetTasksIDRunsIDLogs(ctx context.Context, params *GetTasksIDRun if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -12600,7 +12599,7 @@ func (c *Client) PostTasksIDRunsIDRetry(ctx context.Context, params *PostTasksID if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -12679,7 +12678,7 @@ func (c *Client) GetTelegrafPlugins(ctx context.Context, params *GetTelegrafPlug if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -12758,7 +12757,7 @@ func (c *Client) GetTelegrafs(ctx context.Context, params *GetTelegrafsParams) ( if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -12825,7 +12824,7 @@ func (c *Client) PostTelegrafs(ctx context.Context, params *PostTelegrafsAllPara if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -12895,7 +12894,7 @@ func (c *Client) DeleteTelegrafsID(ctx context.Context, params *DeleteTelegrafsI defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -12961,7 +12960,7 @@ func (c *Client) GetTelegrafsID(ctx context.Context, params *GetTelegrafsIDAllPa if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -13035,7 +13034,7 @@ func (c *Client) PutTelegrafsID(ctx context.Context, params *PutTelegrafsIDAllPa if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -13101,7 +13100,7 @@ func (c *Client) GetTelegrafsIDLabels(ctx context.Context, params *GetTelegrafsI if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -13175,7 +13174,7 @@ func (c *Client) PostTelegrafsIDLabels(ctx context.Context, params *PostTelegraf if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -13252,7 +13251,7 @@ func (c *Client) DeleteTelegrafsIDLabelsID(ctx context.Context, params *DeleteTe defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -13307,7 +13306,7 @@ func (c *Client) GetTelegrafsIDMembers(ctx context.Context, params *GetTelegrafs if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -13381,7 +13380,7 @@ func (c *Client) PostTelegrafsIDMembers(ctx context.Context, params *PostTelegra if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -13458,7 +13457,7 @@ func (c *Client) DeleteTelegrafsIDMembersID(ctx context.Context, params *DeleteT defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -13513,7 +13512,7 @@ func (c *Client) GetTelegrafsIDOwners(ctx context.Context, params *GetTelegrafsI if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -13587,7 +13586,7 @@ func (c *Client) PostTelegrafsIDOwners(ctx context.Context, params *PostTelegraf if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -13664,7 +13663,7 @@ func (c *Client) DeleteTelegrafsIDOwnersID(ctx context.Context, params *DeleteTe defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -13709,7 +13708,7 @@ func (c *Client) ExportTemplate(ctx context.Context, params *ExportTemplateAllPa if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -13852,7 +13851,7 @@ func (c *Client) GetUsers(ctx context.Context, params *GetUsersParams) (*Users, if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -13919,7 +13918,7 @@ func (c *Client) PostUsers(ctx context.Context, params *PostUsersAllParams) (*Us if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -13989,7 +13988,7 @@ func (c *Client) DeleteUsersID(ctx context.Context, params *DeleteUsersIDAllPara defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -14044,7 +14043,7 @@ func (c *Client) GetUsersID(ctx context.Context, params *GetUsersIDAllParams) (* if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -14118,7 +14117,7 @@ func (c *Client) PatchUsersID(ctx context.Context, params *PatchUsersIDAllParams if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -14196,7 +14195,7 @@ func (c *Client) PostUsersIDPassword(ctx context.Context, params *PostUsersIDPas defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -14280,7 +14279,7 @@ func (c *Client) GetVariables(ctx context.Context, params *GetVariablesParams) ( if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -14347,7 +14346,7 @@ func (c *Client) PostVariables(ctx context.Context, params *PostVariablesAllPara if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -14417,7 +14416,7 @@ func (c *Client) DeleteVariablesID(ctx context.Context, params *DeleteVariablesI defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } @@ -14472,7 +14471,7 @@ func (c *Client) GetVariablesID(ctx context.Context, params *GetVariablesIDAllPa if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -14546,7 +14545,7 @@ func (c *Client) PatchVariablesID(ctx context.Context, params *PatchVariablesIDA if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -14620,7 +14619,7 @@ func (c *Client) PutVariablesID(ctx context.Context, params *PutVariablesIDAllPa if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -14686,7 +14685,7 @@ func (c *Client) GetVariablesIDLabels(ctx context.Context, params *GetVariablesI if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -14760,7 +14759,7 @@ func (c *Client) PostVariablesIDLabels(ctx context.Context, params *PostVariable if err != nil { return nil, err } - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { @@ -14837,7 +14836,7 @@ func (c *Client) DeleteVariablesIDLabelsID(ctx context.Context, params *DeleteVa defer func() { _ = rsp.Body.Close() }() if rsp.StatusCode > 299 { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) if err != nil { return err } diff --git a/vendor/github.com/influxdata/influxdb-client-go/v2/domain/oss.yml b/vendor/github.com/influxdata/influxdb-client-go/v2/domain/oss.yml index bb966ba6..c191da0c 100644 --- a/vendor/github.com/influxdata/influxdb-client-go/v2/domain/oss.yml +++ b/vendor/github.com/influxdata/influxdb-client-go/v2/domain/oss.yml @@ -187,34 +187,34 @@ paths: post: operationId: PostSignin summary: Create a user session. - description: 'Authenticates ***Basic Auth*** credentials for a user. If successful, creates a new UI session for the user.' + description: "Authenticates ***Basic Auth*** credentials for a user. If successful, creates a new UI session for the user." tags: - Signin security: - BasicAuthentication: [] parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" responses: - '204': + "204": description: Success. User authenticated. - '401': + "401": description: Unauthorized access. content: application/json: schema: - $ref: '#/components/schemas/Error' - '403': + $ref: "#/components/schemas/Error" + "403": description: User account is disabled. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unsuccessful authentication. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /signout: post: operationId: PostSignout @@ -223,34 +223,34 @@ paths: - Signout description: Expires the current UI session for the user. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" responses: - '204': + "204": description: Session successfully expired - '401': + "401": description: Unauthorized access content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unsuccessful session expiry content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /ping: get: operationId: GetPing summary: Get the status and version of the instance description: Returns the status and InfluxDB version of the instance. servers: - - url: '' + - url: "" tags: - Ping - System information endpoints responses: - '204': + "204": description: | OK. Headers contain InfluxDB version information. @@ -268,11 +268,11 @@ paths: summary: Get the status and version of the instance description: Returns the status and InfluxDB version of the instance. servers: - - url: '' + - url: "" tags: - Ping responses: - '204': + "204": description: | OK. Headers contain InfluxDB version information. @@ -293,14 +293,14 @@ paths: - Routes - System information endpoints parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" responses: default: description: All routes content: application/json: schema: - $ref: '#/components/schemas/Routes' + $ref: "#/components/schemas/Routes" /dbrps: get: operationId: GetDBRPs @@ -308,7 +308,7 @@ paths: - DBRPs summary: List database retention policy mappings parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: orgID description: Specifies the organization ID to filter on @@ -345,65 +345,65 @@ paths: schema: type: string responses: - '200': + "200": description: Success. Returns a list of database retention policy mappings. content: application/json: schema: - $ref: '#/components/schemas/DBRPs' - '400': + $ref: "#/components/schemas/DBRPs" + "400": description: Bad request. The request has one or more invalid parameters. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostDBRP tags: - DBRPs summary: Add a database retention policy mapping parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" requestBody: description: The database retention policy mapping to add required: true content: application/json: schema: - $ref: '#/components/schemas/DBRPCreate' + $ref: "#/components/schemas/DBRPCreate" responses: - '201': + "201": description: Created. Returns the created database retention policy mapping. content: application/json: schema: - $ref: '#/components/schemas/DBRP' - '400': + $ref: "#/components/schemas/DBRP" + "400": description: Bad request. The mapping in the request has one or more invalid IDs. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/dbrps/{dbrpID}': + $ref: "#/components/schemas/Error" + "/dbrps/{dbrpID}": get: operationId: GetDBRPsID tags: - DBRPs summary: Retrieve a database retention policy mapping parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: orgID description: Specifies the organization ID of the mapping @@ -421,24 +421,24 @@ paths: required: true description: The database retention policy mapping ID responses: - '200': + "200": description: The database retention policy requested content: application/json: schema: - $ref: '#/components/schemas/DBRPGet' - '400': + $ref: "#/components/schemas/DBRPGet" + "400": description: if any of the IDs passed is invalid content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" patch: operationId: PatchDBRPID tags: @@ -450,9 +450,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DBRPUpdate' + $ref: "#/components/schemas/DBRPUpdate" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: orgID description: Specifies the organization ID of the mapping @@ -470,37 +470,37 @@ paths: required: true description: The database retention policy mapping. responses: - '200': + "200": description: An updated mapping content: application/json: schema: - $ref: '#/components/schemas/DBRPGet' - '400': + $ref: "#/components/schemas/DBRPGet" + "400": description: if any of the IDs passed is invalid content: application/json: schema: - $ref: '#/components/schemas/Error' - '404': + $ref: "#/components/schemas/Error" + "404": description: The mapping was not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" delete: operationId: DeleteDBRPID tags: - DBRPs summary: Delete a database retention policy parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: orgID description: Specifies the organization ID of the mapping @@ -518,20 +518,20 @@ paths: required: true description: The database retention policy mapping responses: - '204': + "204": description: Delete has been accepted - '400': + "400": description: if any of the IDs passed is invalid content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /telegraf/plugins: get: operationId: GetTelegrafPlugins @@ -539,25 +539,25 @@ paths: - Telegraf Plugins summary: List all Telegraf plugins parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: type description: The type of plugin desired. schema: type: string responses: - '200': + "200": description: A list of Telegraf plugins. content: application/json: schema: - $ref: '#/components/schemas/TelegrafPlugins' + $ref: "#/components/schemas/TelegrafPlugins" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /telegrafs: get: operationId: GetTelegrafs @@ -565,60 +565,60 @@ paths: - Telegrafs summary: List all Telegraf configurations parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: orgID description: The organization ID the Telegraf config belongs to. schema: type: string responses: - '200': + "200": description: A list of Telegraf configurations content: application/json: schema: - $ref: '#/components/schemas/Telegrafs' + $ref: "#/components/schemas/Telegrafs" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostTelegrafs tags: - Telegrafs summary: Create a Telegraf configuration parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" requestBody: description: Telegraf configuration to create required: true content: application/json: schema: - $ref: '#/components/schemas/TelegrafPluginRequest' + $ref: "#/components/schemas/TelegrafPluginRequest" responses: - '201': + "201": description: Telegraf configuration created content: application/json: schema: - $ref: '#/components/schemas/Telegraf' + $ref: "#/components/schemas/Telegraf" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/telegrafs/{telegrafID}': + $ref: "#/components/schemas/Error" + "/telegrafs/{telegrafID}": get: operationId: GetTelegrafsID tags: - Telegrafs summary: Retrieve a Telegraf configuration parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: telegrafID schema: @@ -636,7 +636,7 @@ paths: - application/json - application/octet-stream responses: - '200': + "200": description: Telegraf configuration details content: application/toml: @@ -647,7 +647,7 @@ paths: type: string application/json: schema: - $ref: '#/components/schemas/Telegraf' + $ref: "#/components/schemas/Telegraf" application/octet-stream: example: |- [agent] @@ -659,14 +659,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" put: operationId: PutTelegrafsID tags: - Telegrafs summary: Update a Telegraf configuration parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: telegrafID schema: @@ -679,27 +679,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TelegrafPluginRequest' + $ref: "#/components/schemas/TelegrafPluginRequest" responses: - '200': + "200": description: An updated Telegraf configurations content: application/json: schema: - $ref: '#/components/schemas/Telegraf' + $ref: "#/components/schemas/Telegraf" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" delete: operationId: DeleteTelegrafsID tags: - Telegrafs summary: Delete a Telegraf configuration parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: telegrafID schema: @@ -707,22 +707,22 @@ paths: required: true description: The Telegraf configuration ID. responses: - '204': + "204": description: Delete has been accepted default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/telegrafs/{telegrafID}/labels': + $ref: "#/components/schemas/Error" + "/telegrafs/{telegrafID}/labels": get: operationId: GetTelegrafsIDLabels tags: - Telegrafs summary: List all labels for a Telegraf config parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: telegrafID schema: @@ -730,25 +730,25 @@ paths: required: true description: The Telegraf config ID. responses: - '200': + "200": description: A list of all labels for a Telegraf config content: application/json: schema: - $ref: '#/components/schemas/LabelsResponse' + $ref: "#/components/schemas/LabelsResponse" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostTelegrafsIDLabels tags: - Telegrafs summary: Add a label to a Telegraf config parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: telegrafID schema: @@ -761,28 +761,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/LabelMapping' + $ref: "#/components/schemas/LabelMapping" responses: - '201': + "201": description: The label added to the Telegraf config content: application/json: schema: - $ref: '#/components/schemas/LabelResponse' + $ref: "#/components/schemas/LabelResponse" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/telegrafs/{telegrafID}/labels/{labelID}': + $ref: "#/components/schemas/Error" + "/telegrafs/{telegrafID}/labels/{labelID}": delete: operationId: DeleteTelegrafsIDLabelsID tags: - Telegrafs summary: Delete a label from a Telegraf config parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: telegrafID schema: @@ -796,28 +796,28 @@ paths: required: true description: The label ID. responses: - '204': + "204": description: Delete has been accepted - '404': + "404": description: Telegraf config not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/telegrafs/{telegrafID}/members': + $ref: "#/components/schemas/Error" + "/telegrafs/{telegrafID}/members": get: operationId: GetTelegrafsIDMembers tags: - Telegrafs summary: List all users with member privileges for a Telegraf config parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: telegrafID schema: @@ -825,25 +825,25 @@ paths: required: true description: The Telegraf config ID. responses: - '200': + "200": description: A list of Telegraf config members content: application/json: schema: - $ref: '#/components/schemas/ResourceMembers' + $ref: "#/components/schemas/ResourceMembers" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostTelegrafsIDMembers tags: - Telegrafs summary: Add a member to a Telegraf config parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: telegrafID schema: @@ -856,28 +856,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddResourceMemberRequestBody' + $ref: "#/components/schemas/AddResourceMemberRequestBody" responses: - '201': + "201": description: Member added to Telegraf config content: application/json: schema: - $ref: '#/components/schemas/ResourceMember' + $ref: "#/components/schemas/ResourceMember" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/telegrafs/{telegrafID}/members/{userID}': + $ref: "#/components/schemas/Error" + "/telegrafs/{telegrafID}/members/{userID}": delete: operationId: DeleteTelegrafsIDMembersID tags: - Telegrafs summary: Remove a member from a Telegraf config parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -891,22 +891,22 @@ paths: required: true description: The Telegraf config ID. responses: - '204': + "204": description: Member removed default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/telegrafs/{telegrafID}/owners': + $ref: "#/components/schemas/Error" + "/telegrafs/{telegrafID}/owners": get: operationId: GetTelegrafsIDOwners tags: - Telegrafs summary: List all owners of a Telegraf configuration parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: telegrafID schema: @@ -914,25 +914,25 @@ paths: required: true description: The Telegraf configuration ID. responses: - '200': + "200": description: Returns Telegraf configuration owners as a ResourceOwners list content: application/json: schema: - $ref: '#/components/schemas/ResourceOwners' + $ref: "#/components/schemas/ResourceOwners" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostTelegrafsIDOwners tags: - Telegrafs summary: Add an owner to a Telegraf configuration parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: telegrafID schema: @@ -945,28 +945,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddResourceMemberRequestBody' + $ref: "#/components/schemas/AddResourceMemberRequestBody" responses: - '201': + "201": description: Telegraf configuration owner was added. Returns a ResourceOwner that references the User. content: application/json: schema: - $ref: '#/components/schemas/ResourceOwner' + $ref: "#/components/schemas/ResourceOwner" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/telegrafs/{telegrafID}/owners/{userID}': + $ref: "#/components/schemas/Error" + "/telegrafs/{telegrafID}/owners/{userID}": delete: operationId: DeleteTelegrafsIDOwnersID tags: - Telegrafs summary: Remove an owner from a Telegraf config parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -980,22 +980,22 @@ paths: required: true description: The Telegraf config ID. responses: - '204': + "204": description: Owner removed default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/variables/{variableID}/labels': + $ref: "#/components/schemas/Error" + "/variables/{variableID}/labels": get: operationId: GetVariablesIDLabels tags: - Variables summary: List all labels for a variable parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: variableID schema: @@ -1003,25 +1003,25 @@ paths: required: true description: The variable ID. responses: - '200': + "200": description: A list of all labels for a variable content: application/json: schema: - $ref: '#/components/schemas/LabelsResponse' + $ref: "#/components/schemas/LabelsResponse" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostVariablesIDLabels tags: - Variables summary: Add a label to a variable parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: variableID schema: @@ -1034,28 +1034,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/LabelMapping' + $ref: "#/components/schemas/LabelMapping" responses: - '201': + "201": description: The newly added label content: application/json: schema: - $ref: '#/components/schemas/LabelResponse' + $ref: "#/components/schemas/LabelResponse" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/variables/{variableID}/labels/{labelID}': + $ref: "#/components/schemas/Error" + "/variables/{variableID}/labels/{labelID}": delete: operationId: DeleteVariablesIDLabelsID tags: - Variables summary: Delete a label from a variable parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: variableID schema: @@ -1069,20 +1069,20 @@ paths: required: true description: The label ID to delete. responses: - '204': + "204": description: Delete has been accepted - '404': + "404": description: Variable not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /write: post: operationId: PostWrite @@ -1158,7 +1158,7 @@ paths: airSensors,sensor_id=TLM0201 temperature=73.97038159354763,humidity=35.23103248356096,co=0.48445310567793615 1630424257000000000 airSensors,sensor_id=TLM0202 temperature=75.30007505999716,humidity=35.651929918691714,co=0.5141876544505826 1630424257000000000 parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: header name: Content-Encoding description: | @@ -1270,9 +1270,9 @@ paths: name: precision description: The precision for unix timestamps in the line protocol batch. schema: - $ref: '#/components/schemas/WritePrecision' + $ref: "#/components/schemas/WritePrecision" responses: - '204': + "204": description: | Success. @@ -1288,7 +1288,7 @@ paths: #### Related guides - [How to check for write errors](https://docs.influxdata.com/influxdb/v2.3/write-data/troubleshoot/). - '400': + "400": description: | Bad request. The response body contains detail about the error. @@ -1307,7 +1307,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/LineProtocolError' + $ref: "#/components/schemas/LineProtocolError" examples: measurementSchemaFieldTypeConflict: summary: (Cloud) field type conflict thrown by an explicit bucket schema @@ -1318,12 +1318,12 @@ paths: summary: (OSS) organization not found value: code: invalid - message: 'failed to decode request body: organization not found' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '413': + message: "failed to decode request body: organization not found" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "413": description: | The request payload is too large. InfluxDB rejected the batch and did not write any data. @@ -1335,12 +1335,12 @@ paths: #### InfluxDB OSS: - - Returns this error only if the [Go (golang) `ioutil.ReadAll()`](https://pkg.go.dev/io/ioutil#ReadAll) function raises an error. + - Returns this error only if the [Go (golang) `io.ReadAll()`](https://pkg.go.dev/io/ioutil#ReadAll) function raises an error. - Returns `Content-Type: application/json` for this error. content: application/json: schema: - $ref: '#/components/schemas/LineProtocolLengthError' + $ref: "#/components/schemas/LineProtocolLengthError" examples: dataExceedsSizeLimitOSS: summary: InfluxDB OSS response @@ -1361,7 +1361,7 @@ paths:
nginx
- '429': + "429": description: | Too many requests. @@ -1384,9 +1384,9 @@ paths: schema: type: integer format: int32 - '500': - $ref: '#/components/responses/InternalServerError' - '503': + "500": + $ref: "#/components/responses/InternalServerError" + "503": description: | Service unavailable. @@ -1400,7 +1400,7 @@ paths: type: integer format: int32 default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /delete: post: operationId: PostDelete @@ -1472,9 +1472,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeletePredicateRequest' + $ref: "#/components/schemas/DeletePredicateRequest" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: org description: | @@ -1526,7 +1526,7 @@ paths: type: string description: The bucket ID. responses: - '204': + "204": description: | Success. @@ -1545,7 +1545,7 @@ paths: #### InfluxDB OSS - Deleted the data. - '400': + "400": description: | Bad request. The response body contains detail about the error. @@ -1556,21 +1556,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: orgNotFound: summary: Organization not found value: code: invalid - message: 'failed to decode request body: organization not found' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + message: "failed to decode request body: organization not found" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /labels: post: operationId: PostLabels @@ -1583,49 +1583,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/LabelCreateRequest' + $ref: "#/components/schemas/LabelCreateRequest" responses: - '201': + "201": description: Success. The label was created. content: application/json: schema: - $ref: '#/components/schemas/LabelResponse' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/LabelResponse" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" get: operationId: GetLabels tags: - Labels summary: List all labels parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: orgID description: The organization ID. schema: type: string responses: - '200': + "200": description: Success. The response body contains a list of labels. content: application/json: schema: - $ref: '#/components/schemas/LabelsResponse' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/LabelsResponse" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' - '/labels/{labelID}': + $ref: "#/components/responses/GeneralServerError" + "/labels/{labelID}": get: operationId: GetLabelsID tags: - Labels summary: Retrieve a label parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: labelID schema: @@ -1633,16 +1633,16 @@ paths: required: true description: The ID of the label to update. responses: - '200': + "200": description: Success. The response body contains the label. content: application/json: schema: - $ref: '#/components/schemas/LabelResponse' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/LabelResponse" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" patch: operationId: PatchLabelsID tags: @@ -1654,9 +1654,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/LabelUpdate' + $ref: "#/components/schemas/LabelUpdate" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: labelID schema: @@ -1664,27 +1664,27 @@ paths: required: true description: The ID of the label to update. responses: - '200': + "200": description: Success. The response body contains the updated label. content: application/json: schema: - $ref: '#/components/schemas/LabelResponse' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/LabelResponse" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" delete: operationId: DeleteLabelsID tags: - Labels summary: Delete a label parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: labelID schema: @@ -1692,24 +1692,24 @@ paths: required: true description: The ID of the label to delete. responses: - '204': + "204": description: Success. The delete was accepted. - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' - '/dashboards/{dashboardID}': + $ref: "#/components/responses/GeneralServerError" + "/dashboards/{dashboardID}": get: operationId: GetDashboardsID tags: - Dashboards summary: Retrieve a dashboard parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -1723,28 +1723,28 @@ paths: type: string enum: - properties - description: 'If `properties`, includes the cell view properties in the response.' + description: "If `properties`, includes the cell view properties in the response." responses: - '200': + "200": description: Retrieve a single dashboard content: application/json: schema: oneOf: - - $ref: '#/components/schemas/Dashboard' - - $ref: '#/components/schemas/DashboardWithViewProperties' - '404': + - $ref: "#/components/schemas/Dashboard" + - $ref: "#/components/schemas/DashboardWithViewProperties" + "404": description: Dashboard not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" patch: operationId: PatchDashboardsID tags: @@ -1760,16 +1760,16 @@ paths: title: PatchDashboardRequest properties: name: - description: 'optional, when provided will replace the name' + description: "optional, when provided will replace the name" type: string description: - description: 'optional, when provided will replace the description' + description: "optional, when provided will replace the description" type: string cells: - description: 'optional, when provided will replace all existing cells with the cells provided' - $ref: '#/components/schemas/CellWithViewProperties' + description: "optional, when provided will replace all existing cells with the cells provided" + $ref: "#/components/schemas/CellWithViewProperties" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -1777,31 +1777,31 @@ paths: required: true description: The ID of the dashboard to update. responses: - '200': + "200": description: Updated dashboard content: application/json: schema: - $ref: '#/components/schemas/Dashboard' - '404': + $ref: "#/components/schemas/Dashboard" + "404": description: Dashboard not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" delete: operationId: DeleteDashboardsID tags: - Dashboards summary: Delete a dashboard parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -1809,21 +1809,21 @@ paths: required: true description: The ID of the dashboard to update. responses: - '204': + "204": description: Delete has been accepted - '404': + "404": description: Dashboard not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/dashboards/{dashboardID}/cells': + $ref: "#/components/schemas/Error" + "/dashboards/{dashboardID}/cells": put: operationId: PutDashboardsIDCells tags: @@ -1836,9 +1836,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Cells' + $ref: "#/components/schemas/Cells" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -1846,24 +1846,24 @@ paths: required: true description: The ID of the dashboard to update. responses: - '201': + "201": description: Replaced dashboard cells content: application/json: schema: - $ref: '#/components/schemas/Dashboard' - '404': + $ref: "#/components/schemas/Dashboard" + "404": description: Dashboard not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostDashboardsIDCells tags: @@ -1876,9 +1876,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CreateCell' + $ref: "#/components/schemas/CreateCell" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -1886,25 +1886,25 @@ paths: required: true description: The ID of the dashboard to update. responses: - '201': + "201": description: Cell successfully added content: application/json: schema: - $ref: '#/components/schemas/Cell' - '404': + $ref: "#/components/schemas/Cell" + "404": description: Dashboard not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/dashboards/{dashboardID}/cells/{cellID}': + $ref: "#/components/schemas/Error" + "/dashboards/{dashboardID}/cells/{cellID}": patch: operationId: PatchDashboardsIDCellsID tags: @@ -1917,9 +1917,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CellUpdate' + $ref: "#/components/schemas/CellUpdate" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -1933,24 +1933,24 @@ paths: required: true description: The ID of the cell to update. responses: - '200': + "200": description: Updated dashboard cell content: application/json: schema: - $ref: '#/components/schemas/Cell' - '404': + $ref: "#/components/schemas/Cell" + "404": description: Cell or dashboard not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" delete: operationId: DeleteDashboardsIDCellsID tags: @@ -1958,7 +1958,7 @@ paths: - Dashboards summary: Delete a dashboard cell parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -1972,21 +1972,21 @@ paths: required: true description: The ID of the cell to delete. responses: - '204': + "204": description: Cell successfully deleted - '404': + "404": description: Cell or dashboard not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/dashboards/{dashboardID}/cells/{cellID}/view': + $ref: "#/components/schemas/Error" + "/dashboards/{dashboardID}/cells/{cellID}/view": get: operationId: GetDashboardsIDCellsIDView tags: @@ -1995,7 +1995,7 @@ paths: - Views summary: Retrieve the view for a cell parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -2009,24 +2009,24 @@ paths: required: true description: The cell ID. responses: - '200': + "200": description: A dashboard cells view content: application/json: schema: - $ref: '#/components/schemas/View' - '404': + $ref: "#/components/schemas/View" + "404": description: Cell or dashboard not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" patch: operationId: PatchDashboardsIDCellsIDView tags: @@ -2039,9 +2039,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/View' + $ref: "#/components/schemas/View" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -2055,32 +2055,32 @@ paths: required: true description: The ID of the cell to update. responses: - '200': + "200": description: Updated cell view content: application/json: schema: - $ref: '#/components/schemas/View' - '404': + $ref: "#/components/schemas/View" + "404": description: Cell or dashboard not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/dashboards/{dashboardID}/labels': + $ref: "#/components/schemas/Error" + "/dashboards/{dashboardID}/labels": get: operationId: GetDashboardsIDLabels tags: - Dashboards summary: List all labels for a dashboard parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -2088,25 +2088,25 @@ paths: required: true description: The dashboard ID. responses: - '200': + "200": description: A list of all labels for a dashboard content: application/json: schema: - $ref: '#/components/schemas/LabelsResponse' + $ref: "#/components/schemas/LabelsResponse" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostDashboardsIDLabels tags: - Dashboards summary: Add a label to a dashboard parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -2119,28 +2119,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/LabelMapping' + $ref: "#/components/schemas/LabelMapping" responses: - '201': + "201": description: The label added to the dashboard content: application/json: schema: - $ref: '#/components/schemas/LabelResponse' + $ref: "#/components/schemas/LabelResponse" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/dashboards/{dashboardID}/labels/{labelID}': + $ref: "#/components/schemas/Error" + "/dashboards/{dashboardID}/labels/{labelID}": delete: operationId: DeleteDashboardsIDLabelsID tags: - Dashboards summary: Delete a label from a dashboard parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -2154,28 +2154,28 @@ paths: required: true description: The ID of the label to delete. responses: - '204': + "204": description: Delete has been accepted - '404': + "404": description: Dashboard not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/dashboards/{dashboardID}/members': + $ref: "#/components/schemas/Error" + "/dashboards/{dashboardID}/members": get: operationId: GetDashboardsIDMembers tags: - Dashboards summary: List all dashboard members parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -2183,25 +2183,25 @@ paths: required: true description: The dashboard ID. responses: - '200': + "200": description: A list of users who have member privileges for a dashboard content: application/json: schema: - $ref: '#/components/schemas/ResourceMembers' + $ref: "#/components/schemas/ResourceMembers" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostDashboardsIDMembers tags: - Dashboards summary: Add a member to a dashboard parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -2214,28 +2214,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddResourceMemberRequestBody' + $ref: "#/components/schemas/AddResourceMemberRequestBody" responses: - '201': + "201": description: Added to dashboard members content: application/json: schema: - $ref: '#/components/schemas/ResourceMember' + $ref: "#/components/schemas/ResourceMember" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/dashboards/{dashboardID}/members/{userID}': + $ref: "#/components/schemas/Error" + "/dashboards/{dashboardID}/members/{userID}": delete: operationId: DeleteDashboardsIDMembersID tags: - Dashboards summary: Remove a member from a dashboard parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -2249,22 +2249,22 @@ paths: required: true description: The dashboard ID. responses: - '204': + "204": description: Member removed default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/dashboards/{dashboardID}/owners': + $ref: "#/components/schemas/Error" + "/dashboards/{dashboardID}/owners": get: operationId: GetDashboardsIDOwners tags: - Dashboards summary: List all dashboard owners parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -2272,25 +2272,25 @@ paths: required: true description: The dashboard ID. responses: - '200': + "200": description: A list of users who have owner privileges for a dashboard content: application/json: schema: - $ref: '#/components/schemas/ResourceOwners' + $ref: "#/components/schemas/ResourceOwners" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostDashboardsIDOwners tags: - Dashboards summary: Add an owner to a dashboard parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: dashboardID schema: @@ -2303,28 +2303,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddResourceMemberRequestBody' + $ref: "#/components/schemas/AddResourceMemberRequestBody" responses: - '201': + "201": description: Added to dashboard owners content: application/json: schema: - $ref: '#/components/schemas/ResourceOwner' + $ref: "#/components/schemas/ResourceOwner" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/dashboards/{dashboardID}/owners/{userID}': + $ref: "#/components/schemas/Error" + "/dashboards/{dashboardID}/owners/{userID}": delete: operationId: DeleteDashboardsIDOwnersID tags: - Dashboards summary: Remove an owner from a dashboard parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -2338,14 +2338,14 @@ paths: required: true description: The dashboard ID. responses: - '204': + "204": description: Owner removed default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /query/ast: post: operationId: PostQueryAst @@ -2395,7 +2395,7 @@ paths: Passing this to `/api/v2/query/ast` will return a successful response with a generated AST. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: header name: Content-Type schema: @@ -2407,10 +2407,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/LanguageRequest' + $ref: "#/components/schemas/LanguageRequest" x-codeSamples: - lang: Shell - label: 'cURL: Analyze and generate AST for the query' + label: "cURL: Analyze and generate AST for the query" source: | curl --request POST "http://localhost:8086/api/v2/query/ast" \ --header 'Content-Type: application/json' \ @@ -2424,14 +2424,14 @@ paths: } EOL responses: - '200': + "200": description: | Success. The response body contains an Abstract Syntax Tree (AST) of the Flux query. content: application/json: schema: - $ref: '#/components/schemas/ASTResponse' + $ref: "#/components/schemas/ASTResponse" examples: successResponse: value: @@ -2553,7 +2553,7 @@ paths: end: line: 1 column: 47 - source: 'range(start: -5m)' + source: "range(start: -5m)" callee: type: Identifier location: @@ -2574,7 +2574,7 @@ paths: end: line: 1 column: 46 - source: 'start: -5m' + source: "start: -5m" properties: - type: Property location: @@ -2584,7 +2584,7 @@ paths: end: line: 1 column: 46 - source: 'start: -5m' + source: "start: -5m" key: type: Identifier location: @@ -2605,8 +2605,8 @@ paths: end: line: 1 column: 46 - source: '-5m' - operator: '-' + source: "-5m" + operator: "-" argument: type: DurationLiteral location: @@ -2714,7 +2714,7 @@ paths: line: 1 column: 108 source: r._measurement == "example-measurement" - operator: '==' + operator: "==" left: type: MemberExpression location: @@ -2758,7 +2758,7 @@ paths: column: 108 source: '"example-measurement"' value: example-measurement - '400': + "400": description: | Bad request. InfluxDB is unable to parse the request. @@ -2773,7 +2773,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: invalidASTValue: summary: Invalid AST @@ -2782,13 +2782,13 @@ paths: returns `invalid` and problem detail. value: code: invalid - message: 'invalid AST: loc 1:6-1:19: missing property key' + message: "invalid AST: loc 1:6-1:19: missing property key" default: description: Internal server error. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /query/suggestions: get: operationId: GetQuerySuggestions @@ -2821,9 +2821,9 @@ paths: - [List of all Flux functions](https://docs.influxdata.com/influxdb/v2.3/flux/v0.x/stdlib/all-functions/). parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" responses: - '200': + "200": description: | Success. The response body contains a list of Flux query suggestions--function @@ -2831,7 +2831,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/FluxSuggestions' + $ref: "#/components/schemas/FluxSuggestions" examples: successResponse: value: @@ -2845,7 +2845,7 @@ paths: _sortLimit: function column: invalid groupColumns: array - 'n': invalid + "n": invalid reducer: function tables: stream - name: _hourSelection @@ -2859,7 +2859,7 @@ paths: params: columns: array desc: bool - 'n': int + "n": int tables: stream - name: _window params: @@ -2890,7 +2890,7 @@ paths: - name: bottom params: columns: array - 'n': int + "n": int tables: stream - name: buckets params: @@ -2915,7 +2915,7 @@ paths: - name: chandeMomentumOscillator params: columns: array - 'n': int + "n": int tables: stream - name: columns params: @@ -2931,10 +2931,10 @@ paths: tables: stream - name: cov params: - 'on': array + "on": array pearsonr: bool x: invalid - 'y': invalid + "y": invalid - name: covariance params: columns: array @@ -2972,7 +2972,7 @@ paths: tables: stream - name: doubleEMA params: - 'n': int + "n": int tables: stream - name: drop params: @@ -2995,7 +2995,7 @@ paths: unit: duration - name: exponentialMovingAverage params: - 'n': int + "n": int tables: stream - name: fill params: @@ -3048,19 +3048,19 @@ paths: params: column: string groupColumns: array - 'n': int + "n": int tables: stream - name: highestCurrent params: column: string groupColumns: array - 'n': int + "n": int tables: stream - name: highestMax params: column: string groupColumns: array - 'n': int + "n": int tables: stream - name: histogram params: @@ -3082,7 +3082,7 @@ paths: params: column: string interval: duration - 'n': int + "n": int seasonality: int tables: stream timeColumn: string @@ -3111,16 +3111,16 @@ paths: - name: join params: method: string - 'on': array + "on": array tables: invalid - name: kaufmansAMA params: column: string - 'n': int + "n": int tables: stream - name: kaufmansER params: - 'n': int + "n": int tables: stream - name: keep params: @@ -3144,7 +3144,7 @@ paths: arr: array - name: limit params: - 'n': int + "n": int offset: int tables: stream - name: linearBins @@ -3163,19 +3163,19 @@ paths: params: column: string groupColumns: array - 'n': int + "n": int tables: stream - name: lowestCurrent params: column: string groupColumns: array - 'n': int + "n": int tables: stream - name: lowestMin params: column: string groupColumns: array - 'n': int + "n": int tables: stream - name: map params: @@ -3206,15 +3206,15 @@ paths: tables: stream - name: movingAverage params: - 'n': int + "n": int tables: stream - name: now params: {} - name: pearsonr params: - 'on': array + "on": array x: invalid - 'y': invalid + "y": invalid - name: pivot params: columnKey: array @@ -3241,7 +3241,7 @@ paths: - name: relativeStrengthIndex params: columns: array - 'n': int + "n": int tables: stream - name: rename params: @@ -3251,7 +3251,7 @@ paths: - name: sample params: column: string - 'n': int + "n": int pos: int tables: stream - name: set @@ -3310,7 +3310,7 @@ paths: tables: stream - name: tail params: - 'n': int + "n": int offset: int tables: stream - name: time @@ -3367,15 +3367,15 @@ paths: - name: top params: columns: array - 'n': int + "n": int tables: stream - name: tripleEMA params: - 'n': int + "n": int tables: stream - name: tripleExponentialDerivative params: - 'n': int + "n": int tables: stream - name: truncateTimeColumn params: @@ -3416,7 +3416,7 @@ paths: params: name: string tables: stream - '301': + "301": description: | Moved Permanently. InfluxData has moved the URL of the endpoint. @@ -3441,7 +3441,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" x-codeSamples: - lang: Shell label: cURL @@ -3449,7 +3449,7 @@ paths: curl --request GET "https://cloud2.influxdata.com/api/v2/query/suggestions" \ --header "Accept: application/json" \ --header "Authorization: Token INFLUX_API_TOKEN" - '/query/suggestions/{name}': + "/query/suggestions/{name}": get: operationId: GetQuerySuggestionsName tags: @@ -3474,7 +3474,7 @@ paths: - [List of all Flux functions](https://docs.influxdata.com/influxdb/v2.3/flux/v0.x/stdlib/all-functions/). parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: name schema: @@ -3484,14 +3484,14 @@ paths: A Flux Function name. Only returns functions with this name. responses: - '200': + "200": description: | Success. The response body contains the function name and parameters. content: application/json: schema: - $ref: '#/components/schemas/FluxSuggestion' + $ref: "#/components/schemas/FluxSuggestion" examples: successResponse: value: @@ -3499,14 +3499,14 @@ paths: params: column: string tables: stream - '500': + "500": description: | Internal server error. The value passed for _`name`_ may have been misspelled. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: internalError: summary: Invalid function @@ -3562,7 +3562,7 @@ paths: If you pass this in a request to the `/api/v2/analyze` endpoint, InfluxDB returns an empty `errors` list. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: header name: Content-Type schema: @@ -3574,9 +3574,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Query' + $ref: "#/components/schemas/Query" responses: - '200': + "200": description: | Success. The response body contains the list of `errors`. @@ -3584,7 +3584,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AnalyzeQueryResponse' + $ref: "#/components/schemas/AnalyzeQueryResponse" examples: missingQueryPropertyKey: summary: Missing property key error @@ -3607,7 +3607,7 @@ paths: column: 6 character: 0 message: missing property key - '400': + "400": description: | Bad request. InfluxDB is unable to parse the request. @@ -3622,11 +3622,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: invalidJSONStringValue: summary: Invalid JSON - description: 'If the request body contains invalid JSON, returns `invalid` and problem detail.' + description: "If the request body contains invalid JSON, returns `invalid` and problem detail." value: code: invalid message: 'invalid json: invalid character ''\'''' looking for beginning of value' @@ -3649,7 +3649,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: emptyJSONObject: summary: Empty JSON object in request body @@ -3660,7 +3660,7 @@ paths: message: An internal error has occurred - check server logs x-codeSamples: - lang: Shell - label: 'cURL: Analyze a Flux query' + label: "cURL: Analyze a Flux query" source: | curl -v --request POST \ "http://localhost:8086/api/v2/query/analyze" \ @@ -3696,13 +3696,13 @@ paths: - [Query with the InfluxDB API](https://docs.influxdata.com/influxdb/v2.3/query-data/execute-queries/influx-api/). - [Get started with Flux](https://docs.influxdata.com/flux/v0.x/get-started/) parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: header name: Accept-Encoding description: The content encoding (usually a compression algorithm) that the client can understand. schema: type: string - description: 'The content coding. Use `gzip` for compressed data or `identity` for unmodified, uncompressed data.' + description: "The content coding. Use `gzip` for compressed data or `identity` for unmodified, uncompressed data." default: identity enum: - gzip @@ -3760,7 +3760,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Query' + $ref: "#/components/schemas/Query" application/vnd.flux: schema: type: string @@ -3769,7 +3769,7 @@ paths: |> range(start: -5m) |> filter(fn: (r) => r._measurement == "example-measurement") responses: - '200': + "200": description: Success. The response body contains query results. headers: Content-Encoding: @@ -3783,7 +3783,7 @@ paths: - gzip - identity Trace-Id: - description: 'The trace ID, if generated, of the request.' + description: "The trace ID, if generated, of the request." schema: type: string description: Trace ID of a request. @@ -3796,7 +3796,7 @@ paths: mean,0,2018-05-08T20:50:00Z,2018-05-08T20:51:00Z,2018-05-08T20:50:00Z,east,A,15.43 mean,0,2018-05-08T20:50:00Z,2018-05-08T20:51:00Z,2018-05-08T20:50:20Z,east,B,59.25 mean,0,2018-05-08T20:50:00Z,2018-05-08T20:51:00Z,2018-05-08T20:50:40Z,east,C,52.62 - '400': + "400": description: | Bad request. The response body contains detail about the error. @@ -3807,18 +3807,18 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: orgNotFound: summary: Organization not found value: code: invalid - message: 'failed to decode request body: organization not found' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '429': + message: "failed to decode request body: organization not found" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "429": description: | #### InfluxDB Cloud: - returns this error if a **read** or **write** request exceeds your @@ -3835,10 +3835,10 @@ paths: schema: type: integer format: int32 - '500': - $ref: '#/components/responses/InternalServerError' + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /buckets: get: operationId: GetBuckets @@ -3876,10 +3876,10 @@ paths: - [Manage buckets](https://docs.influxdata.com/influxdb/v2.3/organizations/buckets/) parameters: - - $ref: '#/components/parameters/TraceSpan' - - $ref: '#/components/parameters/Offset' - - $ref: '#/components/parameters/Limit' - - $ref: '#/components/parameters/After' + - $ref: "#/components/parameters/TraceSpan" + - $ref: "#/components/parameters/Offset" + - $ref: "#/components/parameters/Limit" + - $ref: "#/components/parameters/After" - in: query name: org description: | @@ -3929,14 +3929,14 @@ paths: schema: type: string responses: - '200': + "200": description: | Success. The response body contains a list of buckets. content: application/json: schema: - $ref: '#/components/schemas/Buckets' + $ref: "#/components/schemas/Buckets" examples: successResponse: value: @@ -3952,8 +3952,8 @@ paths: retentionRules: - type: expire everySeconds: 604800 - createdAt: '2022-03-15T17:22:33.72617939Z' - updatedAt: '2022-03-15T17:22:33.726179487Z' + createdAt: "2022-03-15T17:22:33.72617939Z" + updatedAt: "2022-03-15T17:22:33.726179487Z" links: labels: /api/v2/buckets/77ca9dace40a9bfc/labels members: /api/v2/buckets/77ca9dace40a9bfc/members @@ -3962,16 +3962,16 @@ paths: self: /api/v2/buckets/77ca9dace40a9bfc write: /api/v2/write?org=ORG_ID&bucket=77ca9dace40a9bfc labels: [] - '401': - $ref: '#/components/responses/AuthorizationError' - '500': - $ref: '#/components/responses/InternalServerError' + "401": + $ref: "#/components/responses/AuthorizationError" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" x-codeSamples: - lang: Shell label: cURL @@ -4010,23 +4010,23 @@ paths: - [Create bucket](https://docs.influxdata.com/influxdb/v2.3/organizations/buckets/create-bucket/) - [Create bucket CLI reference](https://docs.influxdata.com/influxdb/v2.3/reference/cli/influx/bucket/create) parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" requestBody: description: Bucket to create required: true content: application/json: schema: - $ref: '#/components/schemas/PostBucketRequest' + $ref: "#/components/schemas/PostBucketRequest" responses: - '201': + "201": description: | Success. The bucket was created. content: application/json: schema: - $ref: '#/components/schemas/Bucket' + $ref: "#/components/schemas/Bucket" examples: successResponse: value: @@ -4039,8 +4039,8 @@ paths: retentionRules: - type: expire everySeconds: 2592000 - createdAt: '2022-08-03T23:04:41.073704121Z' - updatedAt: '2022-08-03T23:04:41.073704228Z' + createdAt: "2022-08-03T23:04:41.073704121Z" + updatedAt: "2022-08-03T23:04:41.073704228Z" links: labels: /api/v2/buckets/37407e232b3911d8/labels members: /api/v2/buckets/37407e232b3911d8/members @@ -4049,16 +4049,16 @@ paths: self: /api/v2/buckets/37407e232b3911d8 write: /api/v2/write?org=INFLUX_ORG_ID&bucket=37407e232b3911d8 labels: [] - '400': + "400": description: | Bad request. content: application/json: schema: - $ref: '#/components/schemas/Error' - '401': - $ref: '#/components/responses/AuthorizationError' - '403': + $ref: "#/components/schemas/Error" + "401": + $ref: "#/components/responses/AuthorizationError" + "403": description: | Forbidden. The bucket quota is exceeded. @@ -4072,29 +4072,29 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: quotaExceeded: summary: Bucket quota exceeded value: code: forbidden message: creating bucket would exceed quota - '422': + "422": description: | Unprocessable Entity. The request body failed validation. content: application/json: schema: - $ref: '#/components/schemas/Error' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/Error" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" x-codeSamples: - lang: Shell label: cURL @@ -4114,7 +4114,7 @@ paths: } ] }' - '/buckets/{bucketID}': + "/buckets/{bucketID}": get: operationId: GetBucketsID tags: @@ -4125,7 +4125,7 @@ paths: Use this endpoint to retrieve information for a specific bucket. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: bucketID schema: @@ -4134,14 +4134,14 @@ paths: description: | The ID of the bucket to retrieve. responses: - '200': + "200": description: | Success. The response body contains the bucket information. content: application/json: schema: - $ref: '#/components/schemas/Bucket' + $ref: "#/components/schemas/Bucket" examples: successResponse: value: @@ -4154,8 +4154,8 @@ paths: retentionRules: - type: expire everySeconds: 2592000 - createdAt: '2022-08-03T23:04:41.073704121Z' - updatedAt: '2022-08-03T23:04:41.073704228Z' + createdAt: "2022-08-03T23:04:41.073704121Z" + updatedAt: "2022-08-03T23:04:41.073704228Z" links: labels: /api/v2/buckets/37407e232b3911d8/labels members: /api/v2/buckets/37407e232b3911d8/members @@ -4164,16 +4164,16 @@ paths: self: /api/v2/buckets/37407e232b3911d8 write: /api/v2/write?org=INFLUX_ORG_ID&bucket=37407e232b3911d8 labels: [] - '401': - $ref: '#/components/responses/AuthorizationError' - '404': + "401": + $ref: "#/components/responses/AuthorizationError" + "404": description: | Not found. Bucket not found. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: notFound: summary: | @@ -4181,14 +4181,14 @@ paths: value: code: not found message: bucket not found - '500': - $ref: '#/components/responses/InternalServerError' + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" patch: operationId: PatchBucketsID tags: @@ -4218,9 +4218,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchBucketRequest' + $ref: "#/components/schemas/PatchBucketRequest" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: bucketID schema: @@ -4228,12 +4228,12 @@ paths: required: true description: The bucket ID. responses: - '200': + "200": description: An updated bucket content: application/json: schema: - $ref: '#/components/schemas/Bucket' + $ref: "#/components/schemas/Bucket" examples: successResponse: value: @@ -4246,8 +4246,8 @@ paths: retentionRules: - type: expire everySeconds: 2592000 - createdAt: '2022-08-03T23:04:41.073704121Z' - updatedAt: '2022-08-07T22:49:49.422962913Z' + createdAt: "2022-08-03T23:04:41.073704121Z" + updatedAt: "2022-08-07T22:49:49.422962913Z" links: labels: /api/v2/buckets/37407e232b3911d8/labels members: /api/v2/buckets/37407e232b3911d8/members @@ -4256,13 +4256,13 @@ paths: self: /api/v2/buckets/37407e232b3911d8 write: /api/v2/write?org=INFLUX_ORG_ID&bucket=37407e232b3911d8 labels: [] - '400': + "400": description: | Bad Request. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: invalidJSONStringValue: summary: Invalid JSON @@ -4272,15 +4272,15 @@ paths: value: code: invalid message: 'invalid json: invalid character ''\'''' looking for beginning of value' - '401': - $ref: '#/components/responses/AuthorizationError' - '403': + "401": + $ref: "#/components/responses/AuthorizationError" + "403": description: | Forbidden. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: invalidRetention: summary: | @@ -4289,14 +4289,14 @@ paths: value: code: forbidden message: provided retention exceeds orgs maximum retention duration - '404': + "404": description: | Not found. Bucket not found. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: notFound: summary: | @@ -4304,14 +4304,14 @@ paths: value: code: not found message: bucket not found - '500': - $ref: '#/components/responses/InternalServerError' + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" x-codeSamples: - lang: Shell label: cURL @@ -4359,7 +4359,7 @@ paths: - [Delete a bucket](https://docs.influxdata.com/influxdb/v2.3/organizations/buckets/delete-bucket/#delete-a-bucket-in-the-influxdb-ui) parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: bucketID schema: @@ -4369,7 +4369,7 @@ paths: Bucket ID. The ID of the bucket to delete. responses: - '204': + "204": description: | Success. @@ -4378,13 +4378,13 @@ paths: #### InfluxDB OSS - The bucket is deleted. - '400': + "400": description: | Bad Request. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: invalidID: summary: | @@ -4392,16 +4392,16 @@ paths: value: code: invalid message: id must have a length of 16 bytes - '401': - $ref: '#/components/responses/AuthorizationError' - '404': + "401": + $ref: "#/components/responses/AuthorizationError" + "404": description: | Not found. Bucket not found. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: notFound: summary: | @@ -4409,14 +4409,14 @@ paths: value: code: not found message: bucket not found - '500': - $ref: '#/components/responses/InternalServerError' + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" x-codeSamples: - lang: Shell label: cURL @@ -4424,7 +4424,7 @@ paths: curl --request DELETE "http://localhost:8086/api/v2/buckets/BUCKET_ID" \ --header "Authorization: Token INFLUX_TOKEN" \ --header 'Accept: application/json' - '/buckets/{bucketID}/labels': + "/buckets/{bucketID}/labels": get: operationId: GetBucketsIDLabels tags: @@ -4445,7 +4445,7 @@ paths: - Use the [`/api/v2/labels` InfluxDB API endpoint](#tag/Labels) to retrieve and manage labels. - [Manage labels in the InfluxDB UI](https://docs.influxdata.com/influxdb/v2.3/visualize-data/labels/) parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: bucketID schema: @@ -4454,14 +4454,14 @@ paths: description: | The ID of the bucket to retrieve labels for. responses: - '200': + "200": description: | Success. The response body contains a list of all labels for the bucket. content: application/json: schema: - $ref: '#/components/schemas/LabelsResponse' + $ref: "#/components/schemas/LabelsResponse" examples: successResponse: value: @@ -4471,20 +4471,20 @@ paths: - id: 09cbd068e7ebb000 orgID: INFLUX_ORG_ID name: production_buckets - '400': - $ref: '#/components/responses/BadRequestError' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostBucketsIDLabels tags: @@ -4509,7 +4509,7 @@ paths: - Use the [`/api/v2/labels` InfluxDB API endpoint](#tag/Labels) to retrieve and manage labels. - [Manage labels in the InfluxDB UI](https://docs.influxdata.com/influxdb/v2.3/visualize-data/labels/) parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: bucketID schema: @@ -4524,16 +4524,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/LabelMapping' + $ref: "#/components/schemas/LabelMapping" responses: - '201': + "201": description: | Success. The response body contains the label information. content: application/json: schema: - $ref: '#/components/schemas/LabelResponse' + $ref: "#/components/schemas/LabelResponse" examples: successResponse: value: @@ -4543,41 +4543,41 @@ paths: id: 09cbd068e7ebb000 orgID: INFLUX_ORG_ID name: production_buckets - '400': - $ref: '#/components/responses/BadRequestError' + "400": + $ref: "#/components/responses/BadRequestError" examples: invalidRequest: summary: The `labelID` is missing from the request body. value: code: invalid message: label id is required - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '422': + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "422": description: | Unprocessable entity. Label already exists on the resource. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: conflictingResource: summary: | Label already exists on the resource. value: code: conflict - message: 'Cannot add label, label already exists on resource' - '500': - $ref: '#/components/responses/InternalServerError' + message: "Cannot add label, label already exists on resource" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" x-codeSamples: - lang: Shell label: cURL @@ -4589,14 +4589,14 @@ paths: --data '{ "labelID": "09cbd068e7ebb000" }' - '/buckets/{bucketID}/labels/{labelID}': + "/buckets/{bucketID}/labels/{labelID}": delete: operationId: DeleteBucketsIDLabelsID tags: - Buckets summary: Delete a label from a bucket parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: bucketID schema: @@ -4610,21 +4610,21 @@ paths: required: true description: The ID of the label to delete. responses: - '204': + "204": description: Delete has been accepted - '404': + "404": description: Bucket not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/buckets/{bucketID}/members': + $ref: "#/components/schemas/Error" + "/buckets/{bucketID}/members": get: operationId: GetBucketsIDMembers tags: @@ -4646,7 +4646,7 @@ paths: - [Manage users](https://docs.influxdata.com/influxdb/v2.3/users/) - [Manage members](https://docs.influxdata.com/influxdb/v2.3/organizations/members/) parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: bucketID schema: @@ -4655,14 +4655,14 @@ paths: description: | The ID of the bucket to retrieve users for. responses: - '200': + "200": description: | Success. The response body contains a list of all users for the bucket. content: application/json: schema: - $ref: '#/components/schemas/ResourceMembers' + $ref: "#/components/schemas/ResourceMembers" examples: successResponse: value: @@ -4681,20 +4681,20 @@ paths: id: 09cfb87051cbe000 name: example_user_2 status: active - '400': - $ref: '#/components/responses/BadRequestError' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostBucketsIDMembers tags: @@ -4716,7 +4716,7 @@ paths: - [Manage users](https://docs.influxdata.com/influxdb/v2.3/users/) - [Manage members](https://docs.influxdata.com/influxdb/v2.3/organizations/members/) parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: bucketID schema: @@ -4730,16 +4730,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddResourceMemberRequestBody' + $ref: "#/components/schemas/AddResourceMemberRequestBody" responses: - '201': + "201": description: | Success. The response body contains the user information. content: application/json: schema: - $ref: '#/components/schemas/ResourceMember' + $ref: "#/components/schemas/ResourceMember" examples: successResponse: value: @@ -4749,26 +4749,26 @@ paths: id: 09cfb87051cbe000 name: example_user_1 status: active - '400': - $ref: '#/components/responses/BadRequestError' + "400": + $ref: "#/components/responses/BadRequestError" examples: invalidRequest: summary: The `userID` is missing from the request body. value: code: invalid message: user id missing or invalid - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" x-codeSamples: - lang: Shell label: cURL @@ -4780,7 +4780,7 @@ paths: --data '{ "id": "09cfb87051cbe000" } - '/buckets/{bucketID}/members/{userID}': + "/buckets/{bucketID}/members/{userID}": delete: operationId: DeleteBucketsIDMembersID tags: @@ -4797,7 +4797,7 @@ paths: - [Manage users](https://docs.influxdata.com/influxdb/v2.3/users/) - [Manage members](https://docs.influxdata.com/influxdb/v2.3/organizations/members/) parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -4813,30 +4813,30 @@ paths: description: | The ID of the bucket to remove a user from. responses: - '204': + "204": description: | Success. The user is no longer a member of the bucket. - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/buckets/{bucketID}/owners': + $ref: "#/components/schemas/Error" + "/buckets/{bucketID}/owners": get: operationId: GetBucketsIDOwners tags: - Buckets summary: List all owners of a bucket parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: bucketID schema: @@ -4844,25 +4844,25 @@ paths: required: true description: The bucket ID. responses: - '200': + "200": description: A list of bucket owners content: application/json: schema: - $ref: '#/components/schemas/ResourceOwners' + $ref: "#/components/schemas/ResourceOwners" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostBucketsIDOwners tags: - Buckets summary: Add an owner to a bucket parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: bucketID schema: @@ -4875,28 +4875,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddResourceMemberRequestBody' + $ref: "#/components/schemas/AddResourceMemberRequestBody" responses: - '201': + "201": description: Success. The user is an owner of the bucket content: application/json: schema: - $ref: '#/components/schemas/ResourceOwner' + $ref: "#/components/schemas/ResourceOwner" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/buckets/{bucketID}/owners/{userID}': + $ref: "#/components/schemas/Error" + "/buckets/{bucketID}/owners/{userID}": delete: operationId: DeleteBucketsIDOwnersID tags: - Buckets summary: Remove an owner from a bucket parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -4910,14 +4910,14 @@ paths: required: true description: The bucket ID. responses: - '204': + "204": description: Owner removed default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /orgs: get: operationId: GetOrgs @@ -4939,10 +4939,10 @@ paths: - [View organizations](https://docs.influxdata.com/influxdb/v2.3/organizations/view-orgs/). parameters: - - $ref: '#/components/parameters/TraceSpan' - - $ref: '#/components/parameters/Offset' - - $ref: '#/components/parameters/Limit' - - $ref: '#/components/parameters/Descending' + - $ref: "#/components/parameters/TraceSpan" + - $ref: "#/components/parameters/Offset" + - $ref: "#/components/parameters/Limit" + - $ref: "#/components/parameters/Descending" - in: query name: org schema: @@ -4965,22 +4965,22 @@ paths: A user ID. Only returns organizations where this user is a member or owner. responses: - '200': + "200": description: Success. The response body contains a list of organizations. content: application/json: schema: - $ref: '#/components/schemas/Organizations' - '400': - $ref: '#/components/responses/BadRequestError' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/Organizations" + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" post: operationId: PostOrgs tags: @@ -4993,34 +4993,34 @@ paths: - Doesn't allow you to use this endpoint to create organizations. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" requestBody: description: The organization to create. required: true content: application/json: schema: - $ref: '#/components/schemas/PostOrganizationRequest' + $ref: "#/components/schemas/PostOrganizationRequest" responses: - '201': + "201": description: | Success. The organization is created. The response body contains the new organization. content: application/json: schema: - $ref: '#/components/schemas/Organization' - '400': - $ref: '#/components/responses/BadRequestError' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/Organization" + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' - '/orgs/{orgID}': + $ref: "#/components/responses/GeneralServerError" + "/orgs/{orgID}": get: operationId: GetOrgsID tags: @@ -5028,7 +5028,7 @@ paths: - Security and access endpoints summary: Retrieve an organization parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: orgID schema: @@ -5036,18 +5036,18 @@ paths: required: true description: The ID of the organization to get. responses: - '200': + "200": description: Organization details content: application/json: schema: - $ref: '#/components/schemas/Organization' + $ref: "#/components/schemas/Organization" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" patch: operationId: PatchOrgsID tags: @@ -5059,9 +5059,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchOrganizationRequest' + $ref: "#/components/schemas/PatchOrganizationRequest" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: orgID schema: @@ -5069,25 +5069,25 @@ paths: required: true description: The ID of the organization to get. responses: - '200': + "200": description: Organization updated content: application/json: schema: - $ref: '#/components/schemas/Organization' + $ref: "#/components/schemas/Organization" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" delete: operationId: DeleteOrgsID tags: - Organizations summary: Delete an organization parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: orgID schema: @@ -5095,21 +5095,21 @@ paths: required: true description: The ID of the organization to delete. responses: - '204': + "204": description: Delete has been accepted - '404': + "404": description: Organization not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/orgs/{orgID}/secrets': + $ref: "#/components/schemas/Error" + "/orgs/{orgID}/secrets": get: operationId: GetOrgsIDSecrets tags: @@ -5117,7 +5117,7 @@ paths: - Security and access endpoints summary: List all secret keys for an organization parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: orgID schema: @@ -5125,25 +5125,25 @@ paths: required: true description: The organization ID. responses: - '200': + "200": description: A list of all secret keys content: application/json: schema: - $ref: '#/components/schemas/SecretKeysResponse' + $ref: "#/components/schemas/SecretKeysResponse" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" patch: operationId: PatchOrgsIDSecrets tags: - Secrets summary: Update secrets in an organization parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: orgID schema: @@ -5156,17 +5156,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Secrets' + $ref: "#/components/schemas/Secrets" responses: - '204': + "204": description: Keys successfully patched default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/orgs/{orgID}/members': + $ref: "#/components/schemas/Error" + "/orgs/{orgID}/members": get: operationId: GetOrgsIDMembers tags: @@ -5174,7 +5174,7 @@ paths: - Security and access endpoints summary: List all members of an organization parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: orgID schema: @@ -5182,31 +5182,31 @@ paths: required: true description: The organization ID. responses: - '200': + "200": description: A list of organization members content: application/json: schema: - $ref: '#/components/schemas/ResourceMembers' - '404': + $ref: "#/components/schemas/ResourceMembers" + "404": description: Organization not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostOrgsIDMembers tags: - Organizations summary: Add a member to an organization parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: orgID schema: @@ -5219,21 +5219,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddResourceMemberRequestBody' + $ref: "#/components/schemas/AddResourceMemberRequestBody" responses: - '201': + "201": description: Added to organization created content: application/json: schema: - $ref: '#/components/schemas/ResourceMember' + $ref: "#/components/schemas/ResourceMember" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/orgs/{orgID}/members/{userID}': + $ref: "#/components/schemas/Error" + "/orgs/{orgID}/members/{userID}": delete: operationId: DeleteOrgsIDMembersID tags: @@ -5241,7 +5241,7 @@ paths: - Security and access endpoints summary: Remove a member from an organization parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -5255,15 +5255,15 @@ paths: required: true description: The organization ID. responses: - '204': + "204": description: Member removed default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/orgs/{orgID}/owners': + $ref: "#/components/schemas/Error" + "/orgs/{orgID}/owners": get: operationId: GetOrgsIDOwners tags: @@ -5273,7 +5273,7 @@ paths: description: | Retrieves a list of all owners of an organization. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: orgID schema: @@ -5282,24 +5282,24 @@ paths: description: | The ID of the organization to list owners for. responses: - '200': + "200": description: A list of organization owners content: application/json: schema: - $ref: '#/components/schemas/ResourceOwners' - '404': + $ref: "#/components/schemas/ResourceOwners" + "404": description: Organization not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostOrgsIDOwners tags: @@ -5325,7 +5325,7 @@ paths: - [Authorizations](#tag/Authorizations) parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: orgID schema: @@ -5338,23 +5338,23 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddResourceMemberRequestBody' + $ref: "#/components/schemas/AddResourceMemberRequestBody" responses: - '201': + "201": description: | Success. The user is an owner of the organization. The response body contains the owner with role and user detail. content: application/json: schema: - $ref: '#/components/schemas/ResourceOwner' + $ref: "#/components/schemas/ResourceOwner" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/orgs/{orgID}/owners/{userID}': + $ref: "#/components/schemas/Error" + "/orgs/{orgID}/owners/{userID}": delete: operationId: DeleteOrgsIDOwnersID tags: @@ -5362,7 +5362,7 @@ paths: - Security and access endpoints summary: Remove an owner from an organization parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -5376,15 +5376,15 @@ paths: required: true description: The organization ID. responses: - '204': + "204": description: Owner removed default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/orgs/{orgID}/secrets/delete': + $ref: "#/components/schemas/Error" + "/orgs/{orgID}/secrets/delete": post: deprecated: true operationId: PostOrgsIDSecrets @@ -5393,7 +5393,7 @@ paths: - Security and access endpoints summary: Delete secrets from an organization parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: orgID schema: @@ -5406,17 +5406,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SecretKeys' + $ref: "#/components/schemas/SecretKeys" responses: - '204': + "204": description: Keys successfully patched default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/orgs/{orgID}/secrets/{secretID}': + $ref: "#/components/schemas/Error" + "/orgs/{orgID}/secrets/{secretID}": delete: operationId: DeleteOrgsIDSecretsID tags: @@ -5424,7 +5424,7 @@ paths: - Security and access endpoints summary: Delete a secret from an organization parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: orgID schema: @@ -5438,11 +5438,11 @@ paths: required: true description: The secret ID. responses: - '204': + "204": description: Keys successfully deleted default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /resources: get: operationId: GetResources @@ -5451,9 +5451,9 @@ paths: - System information endpoints summary: List all known resources parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" responses: - '200': + "200": description: All resources targets content: application/json: @@ -5466,7 +5466,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /stacks: get: operationId: ListStacks @@ -5528,7 +5528,7 @@ paths: summary: Find a stack with the ID value: 09bd87cd33be3000 responses: - '200': + "200": description: Success. The response body contains the list of stacks. content: application/json: @@ -5538,8 +5538,8 @@ paths: stacks: type: array items: - $ref: '#/components/schemas/Stack' - '400': + $ref: "#/components/schemas/Stack" + "400": description: | Bad request. The response body contains detail about the error. @@ -5550,7 +5550,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: orgIdMissing: summary: The orgID query parameter is missing @@ -5561,17 +5561,17 @@ paths: summary: The org or orgID passed doesn't own the token passed in the header value: code: invalid - message: 'failed to decode request body: organization not found' - '401': - $ref: '#/components/responses/AuthorizationError' - '500': - $ref: '#/components/responses/InternalServerError' + message: "failed to decode request body: organization not found" + "401": + $ref: "#/components/responses/AuthorizationError" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: CreateStack tags: @@ -5618,15 +5618,15 @@ paths: items: type: string responses: - '201': + "201": description: Success. Returns the newly created stack. content: application/json: schema: - $ref: '#/components/schemas/Stack' - '401': - $ref: '#/components/responses/AuthorizationError' - '422': + $ref: "#/components/schemas/Stack" + "401": + $ref: "#/components/responses/AuthorizationError" + "422": description: | Unprocessable entity. @@ -5637,16 +5637,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/Error" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/stacks/{stack_id}': + $ref: "#/components/schemas/Error" + "/stacks/{stack_id}": get: operationId: ReadStack tags: @@ -5660,18 +5660,18 @@ paths: type: string description: The identifier of the stack. responses: - '200': + "200": description: Returns the stack. content: application/json: schema: - $ref: '#/components/schemas/Stack' + $ref: "#/components/schemas/Stack" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" patch: operationId: UpdateStack tags: @@ -5719,18 +5719,18 @@ paths: - kind - resourceID responses: - '200': + "200": description: Returns the updated stack. content: application/json: schema: - $ref: '#/components/schemas/Stack' + $ref: "#/components/schemas/Stack" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" delete: operationId: DeleteStack tags: @@ -5750,15 +5750,15 @@ paths: type: string description: The identifier of the organization. responses: - '204': + "204": description: The stack and its associated resources were deleted. default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/stacks/{stack_id}/uninstall': + $ref: "#/components/schemas/Error" + "/stacks/{stack_id}/uninstall": post: operationId: UninstallStack tags: @@ -5772,18 +5772,18 @@ paths: type: string description: The identifier of the stack. responses: - '200': + "200": description: Returns the uninstalled stack. content: application/json: schema: - $ref: '#/components/schemas/Stack' + $ref: "#/components/schemas/Stack" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /templates/apply: post: operationId: ApplyTemplate @@ -5842,7 +5842,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TemplateApply' + $ref: "#/components/schemas/TemplateApply" examples: skipKindAction: summary: Skip all bucket and task resources in the provided templates @@ -5857,7 +5857,7 @@ paths: kind: Task templates: - contents: - - '[object Object]': null + - "[object Object]": null skipResourceAction: summary: Skip specific resources in the provided templates value: @@ -5898,7 +5898,7 @@ paths: envRef: key: linux-cpu-label spec: - color: '#326BBA' + color: "#326BBA" name: inputs.cpu - contents: - apiVersion: influxdata.com/v2alpha1 @@ -5909,13 +5909,13 @@ paths: key: docker-bucket application/x-jsonnet: schema: - $ref: '#/components/schemas/TemplateApply' + $ref: "#/components/schemas/TemplateApply" text/yml: schema: - $ref: '#/components/schemas/TemplateApply' + $ref: "#/components/schemas/TemplateApply" x-codeSamples: - lang: Shell - label: 'cURL: Dry run with a remote template' + label: "cURL: Dry run with a remote template" source: | curl --request POST "http://localhost:8086/api/v2/templates/apply" \ --header "Authorization: Token INFLUX_API_TOKEN" \ @@ -5931,7 +5931,7 @@ paths: } EOF - lang: Shell - label: 'cURL: Apply with secret values' + label: "cURL: Apply with secret values" source: | curl "http://localhost:8086/api/v2/templates/apply" \ --header "Authorization: Token INFLUX_API_TOKEN" \ @@ -5949,7 +5949,7 @@ paths: } EOF - lang: Shell - label: 'cURL: Apply template objects with environment references' + label: "cURL: Apply template objects with environment references" source: | curl --request POST "http://localhost:8086/api/v2/templates/apply" \ --header "Authorization: Token INFLUX_API_TOKEN" \ @@ -6010,7 +6010,7 @@ paths: } EOF responses: - '200': + "200": description: | Success. The template dry run succeeded. @@ -6022,8 +6022,8 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TemplateSummary' - '201': + $ref: "#/components/schemas/TemplateSummary" + "201": description: | Success. The template applied successfully. @@ -6033,8 +6033,8 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TemplateSummary' - '422': + $ref: "#/components/schemas/TemplateSummary" + "422": description: | Unprocessable entity. @@ -6047,7 +6047,7 @@ paths: application/json: schema: allOf: - - $ref: '#/components/schemas/TemplateSummary' + - $ref: "#/components/schemas/TemplateSummary" - type: object required: - message @@ -6057,7 +6057,7 @@ paths: type: string code: type: string - '500': + "500": description: | Internal server error. @@ -6069,10 +6069,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: createExceedsQuota: - summary: 'InfluxDB Cloud: Creating resource would exceed quota.' + summary: "InfluxDB Cloud: Creating resource would exceed quota." value: code: internal error message: "resource_type=\"tasks\" err=\"failed to apply resource\"\n\tmetadata_name=\"alerting-gates-b84003\" err_msg=\"failed to create tasks[\\\"alerting-gates-b84003\\\"]: creating task would exceed quota\"" @@ -6081,7 +6081,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /templates/export: post: operationId: ExportTemplate @@ -6095,25 +6095,25 @@ paths: application/json: schema: oneOf: - - $ref: '#/components/schemas/TemplateExportByID' - - $ref: '#/components/schemas/TemplateExportByName' + - $ref: "#/components/schemas/TemplateExportByID" + - $ref: "#/components/schemas/TemplateExportByName" responses: - '200': + "200": description: The template was created successfully. Returns the newly created template. content: application/json: schema: - $ref: '#/components/schemas/Template' + $ref: "#/components/schemas/Template" application/x-yaml: schema: - $ref: '#/components/schemas/Template' + $ref: "#/components/schemas/Template" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/tasks/{taskID}/runs': + $ref: "#/components/schemas/Error" + "/tasks/{taskID}/runs": get: operationId: GetTasksIDRuns tags: @@ -6125,7 +6125,7 @@ paths: To limit which task runs are returned, pass query parameters in your request. If no query parameters are passed, InfluxDB returns all task runs up to the default `limit`. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -6165,24 +6165,24 @@ paths: A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339-timestamp)). Only returns runs scheduled before this time. responses: - '200': + "200": description: Success. The response body contains the list of task runs. content: application/json: schema: - $ref: '#/components/schemas/Runs' - '401': - $ref: '#/components/responses/AuthorizationError' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/Runs" + "401": + $ref: "#/components/responses/AuthorizationError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" post: operationId: PostTasksIDRuns tags: - Data I/O endpoints - Tasks - summary: 'Start a task run, overriding the schedule' + summary: "Start a task run, overriding the schedule" description: | Schedules a task run to start immediately, ignoring scheduled runs. @@ -6193,7 +6193,7 @@ paths: To _retry_ a previous run (and avoid creating a new run), use the [`POST /api/v2/tasks/{taskID}/runs/{runID}/retry`](#operation/PostTasksIDRunsIDRetry) endpoint. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -6203,21 +6203,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RunManually' + $ref: "#/components/schemas/RunManually" responses: - '201': + "201": description: Success. The run is scheduled to start. content: application/json: schema: - $ref: '#/components/schemas/Run' - '401': - $ref: '#/components/responses/AuthorizationError' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/Run" + "401": + $ref: "#/components/responses/AuthorizationError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' - '/tasks/{taskID}/runs/{runID}': + $ref: "#/components/responses/GeneralServerError" + "/tasks/{taskID}/runs/{runID}": get: operationId: GetTasksIDRunsID tags: @@ -6228,7 +6228,7 @@ paths: Use this endpoint to retrieve detail and logs for a specific task run. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -6242,12 +6242,12 @@ paths: required: true description: The ID of the run to retrieve. responses: - '200': + "200": description: Success. The response body contains the task run. content: application/json: schema: - $ref: '#/components/schemas/Run' + $ref: "#/components/schemas/Run" examples: runSuccess: summary: A successful task run. @@ -6260,27 +6260,27 @@ paths: id: 09b070dadaa7d000 taskID: 0996e56b2f378000 status: success - scheduledFor: '2022-07-18T14:46:06Z' - startedAt: '2022-07-18T14:46:07.16222Z' - finishedAt: '2022-07-18T14:46:07.308254Z' - requestedAt: '2022-07-18T14:46:06Z' + scheduledFor: "2022-07-18T14:46:06Z" + startedAt: "2022-07-18T14:46:07.16222Z" + finishedAt: "2022-07-18T14:46:07.308254Z" + requestedAt: "2022-07-18T14:46:06Z" log: - runID: 09b070dadaa7d000 - time: '2022-07-18T14:46:07.101231Z' + time: "2022-07-18T14:46:07.101231Z" message: 'Started task from script: "option task = {name: \"task1\", every: 30m} from(bucket: \"iot_center\") |> range(start: -90d) |> filter(fn: (r) => r._measurement == \"environment\") |> aggregateWindow(every: 1h, fn: mean)"' - runID: 09b070dadaa7d000 - time: '2022-07-18T14:46:07.242859Z' + time: "2022-07-18T14:46:07.242859Z" message: Completed(success) - '400': - $ref: '#/components/responses/BadRequestError' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" delete: operationId: DeleteTasksIDRunsID tags: @@ -6295,7 +6295,7 @@ paths: - Doesn't support this operation. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -6309,7 +6309,7 @@ paths: required: true description: The ID of the task run to cancel. responses: - '204': + "204": description: | Success. The `DELETE` is accepted and the run will be cancelled. @@ -6317,13 +6317,13 @@ paths: - Doesn't support this operation. - Doesn't return this status. - '400': - $ref: '#/components/responses/BadRequestError' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '405': + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "405": description: | Method not allowed. @@ -6337,12 +6337,12 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/Error" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' - '/tasks/{taskID}/runs/{runID}/retry': + $ref: "#/components/responses/GeneralServerError" + "/tasks/{taskID}/runs/{runID}/retry": post: operationId: PostTasksIDRunsIDRetry tags: @@ -6362,7 +6362,7 @@ paths: schema: type: object parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -6376,12 +6376,12 @@ paths: required: true description: The ID of the task run to retry. responses: - '200': + "200": description: Success. The response body contains the queued run. content: application/json: schema: - $ref: '#/components/schemas/Run' + $ref: "#/components/schemas/Run" examples: retryTaskRun: summary: A task run scheduled to retry @@ -6394,9 +6394,9 @@ paths: id: 09d60ffe08738000 taskID: 09a776832f381000 status: scheduled - scheduledFor: '2022-08-15T00:00:00Z' - requestedAt: '2022-08-16T20:05:11.84145Z' - '400': + scheduledFor: "2022-08-15T00:00:00Z" + requestedAt: "2022-08-16T20:05:11.84145Z" + "400": description: | Bad request. The response body contains detail about the error. @@ -6407,22 +6407,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: inactiveTask: summary: Can't retry an inactive task value: code: invalid - message: 'failed to retry run: inactive task' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + message: "failed to retry run: inactive task" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' - '/tasks/{taskID}/logs': + $ref: "#/components/responses/GeneralServerError" + "/tasks/{taskID}/logs": get: operationId: GetTasksIDLogs tags: @@ -6437,7 +6437,7 @@ paths: Use this endpoint to retrieve only the log events for a task, without additional task metadata. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -6445,7 +6445,7 @@ paths: required: true description: The task ID. responses: - '200': + "200": description: | Success. The response body contains an `events` list with logs for the task. Each log event `message` contains detail about the event. @@ -6453,42 +6453,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Logs' + $ref: "#/components/schemas/Logs" examples: taskSuccess: summary: Events for a successful task run. value: events: - runID: 09b070dadaa7d000 - time: '2022-07-18T14:46:07.101231Z' + time: "2022-07-18T14:46:07.101231Z" message: 'Started task from script: "option task = {name: \"task1\", every: 30m} from(bucket: \"iot_center\") |> range(start: -90d) |> filter(fn: (r) => r._measurement == \"environment\") |> aggregateWindow(every: 1h, fn: mean)"' - runID: 09b070dadaa7d000 - time: '2022-07-18T14:46:07.242859Z' + time: "2022-07-18T14:46:07.242859Z" message: Completed(success) taskFailure: summary: Events for a failed task run. value: events: - runID: 09a946fc3167d000 - time: '2022-07-13T07:06:54.198167Z' + time: "2022-07-13T07:06:54.198167Z" message: 'Started task from script: "option task = {name: \"test task\", every: 3d, offset: 0s}"' - runID: 09a946fc3167d000 - time: '2022-07-13T07:07:13.104037Z' + time: "2022-07-13T07:07:13.104037Z" message: Completed(failed) - runID: 09a946fc3167d000 - time: '2022-07-13T08:24:37.115323Z' + time: "2022-07-13T08:24:37.115323Z" message: 'error exhausting result iterator: error in query specification while starting program: this Flux script returns no streaming data. Consider adding a "yield" or invoking streaming functions directly, without performing an assignment' - '400': - $ref: '#/components/responses/BadRequestError' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' - '/tasks/{taskID}/runs/{runID}/logs': + $ref: "#/components/responses/GeneralServerError" + "/tasks/{taskID}/runs/{runID}/logs": get: operationId: GetTasksIDRunsIDLogs tags: @@ -6500,7 +6500,7 @@ paths: Use this endpoint to help analyze task performance and troubleshoot failed task runs. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -6514,7 +6514,7 @@ paths: required: true description: The ID of the run to get logs for. responses: - '200': + "200": description: | Success. The response body contains an `events` list with logs for the task run. Each log event `message` contains detail about the event. @@ -6522,42 +6522,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Logs' + $ref: "#/components/schemas/Logs" examples: taskSuccess: summary: Events for a successful task run. value: events: - runID: 09b070dadaa7d000 - time: '2022-07-18T14:46:07.101231Z' + time: "2022-07-18T14:46:07.101231Z" message: 'Started task from script: "option task = {name: \"task1\", every: 30m} from(bucket: \"iot_center\") |> range(start: -90d) |> filter(fn: (r) => r._measurement == \"environment\") |> aggregateWindow(every: 1h, fn: mean)"' - runID: 09b070dadaa7d000 - time: '2022-07-18T14:46:07.242859Z' + time: "2022-07-18T14:46:07.242859Z" message: Completed(success) taskFailure: summary: Events for a failed task. value: events: - runID: 09a946fc3167d000 - time: '2022-07-13T07:06:54.198167Z' + time: "2022-07-13T07:06:54.198167Z" message: 'Started task from script: "option task = {name: \"test task\", every: 3d, offset: 0s}"' - runID: 09a946fc3167d000 - time: '2022-07-13T07:07:13.104037Z' + time: "2022-07-13T07:07:13.104037Z" message: Completed(failed) - runID: 09a946fc3167d000 - time: '2022-07-13T08:24:37.115323Z' + time: "2022-07-13T08:24:37.115323Z" message: 'error exhausting result iterator: error in query specification while starting program: this Flux script returns no streaming data. Consider adding a "yield" or invoking streaming functions directly, without performing an assignment' - '400': - $ref: '#/components/responses/BadRequestError' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' - '/tasks/{taskID}/labels': + $ref: "#/components/responses/GeneralServerError" + "/tasks/{taskID}/labels": get: operationId: GetTasksIDLabels tags: @@ -6568,7 +6568,7 @@ paths: Labels may be used for grouping and filtering tasks. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -6576,22 +6576,22 @@ paths: required: true description: The ID of the task to retrieve labels for. responses: - '200': + "200": description: Success. The response body contains a list of all labels for the task. content: application/json: schema: - $ref: '#/components/schemas/LabelsResponse' - '400': - $ref: '#/components/responses/BadRequestError' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/LabelsResponse" + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" post: operationId: PostTasksIDLabels tags: @@ -6602,7 +6602,7 @@ paths: Use this endpoint to add a label that you can use to filter tasks in the InfluxDB UI. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -6615,25 +6615,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/LabelMapping' + $ref: "#/components/schemas/LabelMapping" responses: - '201': + "201": description: Success. The response body contains a list of all labels for the task. content: application/json: schema: - $ref: '#/components/schemas/LabelResponse' - '400': - $ref: '#/components/responses/BadRequestError' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/LabelResponse" + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' - '/tasks/{taskID}/labels/{labelID}': + $ref: "#/components/responses/GeneralServerError" + "/tasks/{taskID}/labels/{labelID}": delete: operationId: DeleteTasksIDLabelsID tags: @@ -6642,7 +6642,7 @@ paths: description: | Deletes a label from a task. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -6656,18 +6656,18 @@ paths: required: true description: The ID of the label to delete. responses: - '204': + "204": description: Success. The label is deleted. - '400': - $ref: '#/components/responses/BadRequestError' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /flags: get: operationId: GetFlags @@ -6675,20 +6675,20 @@ paths: - Users summary: Return the feature flags for the currently authenticated user parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" responses: - '200': + "200": description: Feature flags for the currently authenticated user content: application/json: schema: - $ref: '#/components/schemas/Flags' + $ref: "#/components/schemas/Flags" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /me: get: operationId: GetMe @@ -6696,20 +6696,20 @@ paths: - Users summary: Retrieve the currently authenticated user parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" responses: - '200': + "200": description: Success. The response body contains the currently authenticated user. content: application/json: schema: - $ref: '#/components/schemas/UserResponse' - '401': - $ref: '#/components/responses/AuthorizationError' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/UserResponse" + "401": + $ref: "#/components/responses/AuthorizationError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /me/password: put: operationId: PutMePassword @@ -6724,18 +6724,18 @@ paths: security: - BasicAuthentication: [] parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" requestBody: description: The new password. required: true content: application/json: schema: - $ref: '#/components/schemas/PasswordResetBody' + $ref: "#/components/schemas/PasswordResetBody" responses: - '204': + "204": description: Success. The password was updated. - '400': + "400": description: | Bad request. InfluxDB Cloud doesn't support changing passwords through the API and always responds with this status. @@ -6744,8 +6744,8 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' - '/tasks/{taskID}/members': + $ref: "#/components/schemas/Error" + "/tasks/{taskID}/members": get: operationId: GetTasksIDMembers deprecated: true @@ -6756,7 +6756,7 @@ paths: **Deprecated**: Tasks don't use `owner` and `member` roles. Use [`/api/v2/authorizations`](#tag/Authorizations) to assign user permissions. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -6764,20 +6764,20 @@ paths: required: true description: The task ID. responses: - '200': + "200": description: | Success. The response body contains a list of `users` that have the `member` role for a task. content: application/json: schema: - $ref: '#/components/schemas/ResourceMembers' + $ref: "#/components/schemas/ResourceMembers" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostTasksIDMembers deprecated: true @@ -6791,7 +6791,7 @@ paths: Adds a user to members of a task and returns the newly created member with role and user detail. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -6804,21 +6804,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddResourceMemberRequestBody' + $ref: "#/components/schemas/AddResourceMemberRequestBody" responses: - '201': + "201": description: Created. The user is added to task members. content: application/json: schema: - $ref: '#/components/schemas/ResourceMember' + $ref: "#/components/schemas/ResourceMember" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/tasks/{taskID}/members/{userID}': + $ref: "#/components/schemas/Error" + "/tasks/{taskID}/members/{userID}": delete: operationId: DeleteTasksIDMembersID deprecated: true @@ -6829,7 +6829,7 @@ paths: **Deprecated**: Tasks don't use `owner` and `member` roles. Use [`/api/v2/authorizations`](#tag/Authorizations) to assign user permissions. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -6843,15 +6843,15 @@ paths: required: true description: The task ID. responses: - '204': + "204": description: Member removed default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/tasks/{taskID}/owners': + $ref: "#/components/schemas/Error" + "/tasks/{taskID}/owners": get: operationId: GetTasksIDOwners deprecated: true @@ -6864,7 +6864,7 @@ paths: Retrieves all users that have owner permission for a task. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -6872,7 +6872,7 @@ paths: required: true description: The ID of the task to retrieve owners for. responses: - '200': + "200": description: | Success. The response contains a list of `users` that have the `owner` role for the task. @@ -6881,10 +6881,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ResourceOwners' - '401': - $ref: '#/components/responses/AuthorizationError' - '422': + $ref: "#/components/schemas/ResourceOwners" + "401": + $ref: "#/components/responses/AuthorizationError" + "422": description: | Unprocessable entity. @@ -6895,15 +6895,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/Error" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostTasksIDOwners deprecated: true @@ -6919,7 +6919,7 @@ paths: Use this endpoint to create a _resource owner_ for the task. A _resource owner_ is a user with `role: owner` for a specific resource. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -6932,9 +6932,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddResourceMemberRequestBody' + $ref: "#/components/schemas/AddResourceMemberRequestBody" responses: - '201': + "201": description: | Created. The task `owner` role is assigned to the user. The response body contains the resource owner with @@ -6942,7 +6942,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ResourceOwner' + $ref: "#/components/schemas/ResourceOwner" examples: createdOwner: summary: User has the owner role for the resource @@ -6954,9 +6954,9 @@ paths: id: 0772396d1f411000 name: USER_NAME status: active - '401': - $ref: '#/components/responses/AuthorizationError' - '422': + "401": + $ref: "#/components/responses/AuthorizationError" + "422": description: | Unprocessable entity. @@ -6967,16 +6967,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/Error" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/tasks/{taskID}/owners/{userID}': + $ref: "#/components/schemas/Error" + "/tasks/{taskID}/owners/{userID}": delete: operationId: DeleteTasksIDOwnersID deprecated: true @@ -6987,7 +6987,7 @@ paths: **Deprecated**: Tasks don't use `owner` and `member` roles. Use [`/api/v2/authorizations`](#tag/Authorizations) to assign user permissions. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -7001,15 +7001,15 @@ paths: required: true description: The task ID. responses: - '204': + "204": description: Owner removed default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/users/{userID}/password': + $ref: "#/components/schemas/Error" + "/users/{userID}/password": post: operationId: PostUsersIDPassword tags: @@ -7024,7 +7024,7 @@ paths: security: - BasicAuthentication: [] parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -7037,11 +7037,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PasswordResetBody' + $ref: "#/components/schemas/PasswordResetBody" responses: - '204': + "204": description: Password successfully updated - '400': + "400": description: | Bad request. InfluxDB Cloud doesn't support changing passwords through the API and always responds with this status. @@ -7050,7 +7050,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /checks: get: operationId: GetChecks @@ -7058,9 +7058,9 @@ paths: - Checks summary: List all checks parameters: - - $ref: '#/components/parameters/TraceSpan' - - $ref: '#/components/parameters/Offset' - - $ref: '#/components/parameters/Limit' + - $ref: "#/components/parameters/TraceSpan" + - $ref: "#/components/parameters/Offset" + - $ref: "#/components/parameters/Limit" - in: query name: orgID required: true @@ -7068,18 +7068,18 @@ paths: schema: type: string responses: - '200': + "200": description: A list of checks content: application/json: schema: - $ref: '#/components/schemas/Checks' + $ref: "#/components/schemas/Checks" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: CreateCheck tags: @@ -7091,28 +7091,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PostCheck' + $ref: "#/components/schemas/PostCheck" responses: - '201': + "201": description: Check created content: application/json: schema: - $ref: '#/components/schemas/Check' + $ref: "#/components/schemas/Check" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/checks/{checkID}': + $ref: "#/components/schemas/Error" + "/checks/{checkID}": get: operationId: GetChecksID tags: - Checks summary: Retrieve a check parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: checkID schema: @@ -7120,18 +7120,18 @@ paths: required: true description: The check ID. responses: - '200': + "200": description: The check requested content: application/json: schema: - $ref: '#/components/schemas/Check' + $ref: "#/components/schemas/Check" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" put: operationId: PutChecksID tags: @@ -7143,9 +7143,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Check' + $ref: "#/components/schemas/Check" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: checkID schema: @@ -7153,24 +7153,24 @@ paths: required: true description: The check ID. responses: - '200': + "200": description: An updated check content: application/json: schema: - $ref: '#/components/schemas/Check' - '404': + $ref: "#/components/schemas/Check" + "404": description: The check was not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" patch: operationId: PatchChecksID tags: @@ -7182,9 +7182,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CheckPatch' + $ref: "#/components/schemas/CheckPatch" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: checkID schema: @@ -7192,31 +7192,31 @@ paths: required: true description: The check ID. responses: - '200': + "200": description: An updated check content: application/json: schema: - $ref: '#/components/schemas/Check' - '404': + $ref: "#/components/schemas/Check" + "404": description: The check was not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" delete: operationId: DeleteChecksID tags: - Checks summary: Delete a check parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: checkID schema: @@ -7224,28 +7224,28 @@ paths: required: true description: The check ID. responses: - '204': + "204": description: Delete has been accepted - '404': + "404": description: The check was not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/checks/{checkID}/labels': + $ref: "#/components/schemas/Error" + "/checks/{checkID}/labels": get: operationId: GetChecksIDLabels tags: - Checks summary: List all labels for a check parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: checkID schema: @@ -7253,25 +7253,25 @@ paths: required: true description: The check ID. responses: - '200': + "200": description: A list of all labels for a check content: application/json: schema: - $ref: '#/components/schemas/LabelsResponse' + $ref: "#/components/schemas/LabelsResponse" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostChecksIDLabels tags: - Checks summary: Add a label to a check parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: checkID schema: @@ -7284,28 +7284,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/LabelMapping' + $ref: "#/components/schemas/LabelMapping" responses: - '201': + "201": description: The label was added to the check content: application/json: schema: - $ref: '#/components/schemas/LabelResponse' + $ref: "#/components/schemas/LabelResponse" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/checks/{checkID}/labels/{labelID}': + $ref: "#/components/schemas/Error" + "/checks/{checkID}/labels/{labelID}": delete: operationId: DeleteChecksIDLabelsID tags: - Checks summary: Delete label from a check parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: checkID schema: @@ -7319,20 +7319,20 @@ paths: required: true description: The ID of the label to delete. responses: - '204': + "204": description: Delete has been accepted - '404': + "404": description: Check or label not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /notificationRules: get: operationId: GetNotificationRules @@ -7340,9 +7340,9 @@ paths: - NotificationRules summary: List all notification rules parameters: - - $ref: '#/components/parameters/TraceSpan' - - $ref: '#/components/parameters/Offset' - - $ref: '#/components/parameters/Limit' + - $ref: "#/components/parameters/TraceSpan" + - $ref: "#/components/parameters/Offset" + - $ref: "#/components/parameters/Limit" - in: query name: orgID required: true @@ -7359,21 +7359,21 @@ paths: description: Only return notification rules that "would match" statuses which contain the tag key value pairs provided. schema: type: string - pattern: '^[a-zA-Z0-9_]+:[a-zA-Z0-9_]+$' - example: 'env:prod' + pattern: "^[a-zA-Z0-9_]+:[a-zA-Z0-9_]+$" + example: "env:prod" responses: - '200': + "200": description: A list of notification rules content: application/json: schema: - $ref: '#/components/schemas/NotificationRules' + $ref: "#/components/schemas/NotificationRules" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: CreateNotificationRule tags: @@ -7385,28 +7385,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PostNotificationRule' + $ref: "#/components/schemas/PostNotificationRule" responses: - '201': + "201": description: Notification rule created content: application/json: schema: - $ref: '#/components/schemas/NotificationRule' + $ref: "#/components/schemas/NotificationRule" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/checks/{checkID}/query': + $ref: "#/components/schemas/Error" + "/checks/{checkID}/query": get: operationId: GetChecksIDQuery tags: - Checks summary: Retrieve a check query parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: checkID schema: @@ -7414,38 +7414,38 @@ paths: required: true description: The check ID. responses: - '200': + "200": description: The check query requested content: application/json: schema: - $ref: '#/components/schemas/FluxResponse' - '400': + $ref: "#/components/schemas/FluxResponse" + "400": description: Invalid request content: application/json: schema: - $ref: '#/components/schemas/Error' - '404': + $ref: "#/components/schemas/Error" + "404": description: Check not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/notificationRules/{ruleID}': + $ref: "#/components/schemas/Error" + "/notificationRules/{ruleID}": get: operationId: GetNotificationRulesID tags: - NotificationRules summary: Retrieve a notification rule parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: ruleID schema: @@ -7453,18 +7453,18 @@ paths: required: true description: The notification rule ID. responses: - '200': + "200": description: The notification rule requested content: application/json: schema: - $ref: '#/components/schemas/NotificationRule' + $ref: "#/components/schemas/NotificationRule" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" put: operationId: PutNotificationRulesID tags: @@ -7476,9 +7476,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NotificationRule' + $ref: "#/components/schemas/NotificationRule" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: ruleID schema: @@ -7486,24 +7486,24 @@ paths: required: true description: The notification rule ID. responses: - '200': + "200": description: An updated notification rule content: application/json: schema: - $ref: '#/components/schemas/NotificationRule' - '404': + $ref: "#/components/schemas/NotificationRule" + "404": description: The notification rule was not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" patch: operationId: PatchNotificationRulesID tags: @@ -7515,9 +7515,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NotificationRuleUpdate' + $ref: "#/components/schemas/NotificationRuleUpdate" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: ruleID schema: @@ -7525,31 +7525,31 @@ paths: required: true description: The notification rule ID. responses: - '200': + "200": description: An updated notification rule content: application/json: schema: - $ref: '#/components/schemas/NotificationRule' - '404': + $ref: "#/components/schemas/NotificationRule" + "404": description: The notification rule was not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" delete: operationId: DeleteNotificationRulesID tags: - NotificationRules summary: Delete a notification rule parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: ruleID schema: @@ -7557,28 +7557,28 @@ paths: required: true description: The notification rule ID. responses: - '204': + "204": description: Delete has been accepted - '404': + "404": description: The check was not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/notificationRules/{ruleID}/labels': + $ref: "#/components/schemas/Error" + "/notificationRules/{ruleID}/labels": get: operationId: GetNotificationRulesIDLabels tags: - NotificationRules summary: List all labels for a notification rule parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: ruleID schema: @@ -7586,25 +7586,25 @@ paths: required: true description: The notification rule ID. responses: - '200': + "200": description: A list of all labels for a notification rule content: application/json: schema: - $ref: '#/components/schemas/LabelsResponse' + $ref: "#/components/schemas/LabelsResponse" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostNotificationRuleIDLabels tags: - NotificationRules summary: Add a label to a notification rule parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: ruleID schema: @@ -7617,28 +7617,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/LabelMapping' + $ref: "#/components/schemas/LabelMapping" responses: - '201': + "201": description: The label was added to the notification rule content: application/json: schema: - $ref: '#/components/schemas/LabelResponse' + $ref: "#/components/schemas/LabelResponse" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/notificationRules/{ruleID}/labels/{labelID}': + $ref: "#/components/schemas/Error" + "/notificationRules/{ruleID}/labels/{labelID}": delete: operationId: DeleteNotificationRulesIDLabelsID tags: - NotificationRules summary: Delete label from a notification rule parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: ruleID schema: @@ -7652,28 +7652,28 @@ paths: required: true description: The ID of the label to delete. responses: - '204': + "204": description: Delete has been accepted - '404': + "404": description: Rule or label not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/notificationRules/{ruleID}/query': + $ref: "#/components/schemas/Error" + "/notificationRules/{ruleID}/query": get: operationId: GetNotificationRulesIDQuery tags: - Rules summary: Retrieve a notification rule query parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: ruleID schema: @@ -7681,30 +7681,30 @@ paths: required: true description: The notification rule ID. responses: - '200': + "200": description: The notification rule query requested content: application/json: schema: - $ref: '#/components/schemas/FluxResponse' - '400': + $ref: "#/components/schemas/FluxResponse" + "400": description: Invalid request content: application/json: schema: - $ref: '#/components/schemas/Error' - '404': + $ref: "#/components/schemas/Error" + "404": description: Notification rule not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /notificationEndpoints: get: operationId: GetNotificationEndpoints @@ -7712,9 +7712,9 @@ paths: - NotificationEndpoints summary: List all notification endpoints parameters: - - $ref: '#/components/parameters/TraceSpan' - - $ref: '#/components/parameters/Offset' - - $ref: '#/components/parameters/Limit' + - $ref: "#/components/parameters/TraceSpan" + - $ref: "#/components/parameters/Offset" + - $ref: "#/components/parameters/Limit" - in: query name: orgID required: true @@ -7722,18 +7722,18 @@ paths: schema: type: string responses: - '200': + "200": description: A list of notification endpoints content: application/json: schema: - $ref: '#/components/schemas/NotificationEndpoints' + $ref: "#/components/schemas/NotificationEndpoints" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: CreateNotificationEndpoint tags: @@ -7745,28 +7745,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PostNotificationEndpoint' + $ref: "#/components/schemas/PostNotificationEndpoint" responses: - '201': + "201": description: Notification endpoint created content: application/json: schema: - $ref: '#/components/schemas/NotificationEndpoint' + $ref: "#/components/schemas/NotificationEndpoint" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/notificationEndpoints/{endpointID}': + $ref: "#/components/schemas/Error" + "/notificationEndpoints/{endpointID}": get: operationId: GetNotificationEndpointsID tags: - NotificationEndpoints summary: Retrieve a notification endpoint parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: endpointID schema: @@ -7774,18 +7774,18 @@ paths: required: true description: The notification endpoint ID. responses: - '200': + "200": description: The notification endpoint requested content: application/json: schema: - $ref: '#/components/schemas/NotificationEndpoint' + $ref: "#/components/schemas/NotificationEndpoint" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" put: operationId: PutNotificationEndpointsID tags: @@ -7797,9 +7797,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NotificationEndpoint' + $ref: "#/components/schemas/NotificationEndpoint" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: endpointID schema: @@ -7807,24 +7807,24 @@ paths: required: true description: The notification endpoint ID. responses: - '200': + "200": description: An updated notification endpoint content: application/json: schema: - $ref: '#/components/schemas/NotificationEndpoint' - '404': + $ref: "#/components/schemas/NotificationEndpoint" + "404": description: The notification endpoint was not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" patch: operationId: PatchNotificationEndpointsID tags: @@ -7836,9 +7836,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NotificationEndpointUpdate' + $ref: "#/components/schemas/NotificationEndpointUpdate" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: endpointID schema: @@ -7846,31 +7846,31 @@ paths: required: true description: The notification endpoint ID. responses: - '200': + "200": description: An updated notification endpoint content: application/json: schema: - $ref: '#/components/schemas/NotificationEndpoint' - '404': + $ref: "#/components/schemas/NotificationEndpoint" + "404": description: The notification endpoint was not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" delete: operationId: DeleteNotificationEndpointsID tags: - NotificationEndpoints summary: Delete a notification endpoint parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: endpointID schema: @@ -7878,28 +7878,28 @@ paths: required: true description: The notification endpoint ID. responses: - '204': + "204": description: Delete has been accepted - '404': + "404": description: The endpoint was not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/notificationEndpoints/{endpointID}/labels': + $ref: "#/components/schemas/Error" + "/notificationEndpoints/{endpointID}/labels": get: operationId: GetNotificationEndpointsIDLabels tags: - NotificationEndpoints summary: List all labels for a notification endpoint parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: endpointID schema: @@ -7907,25 +7907,25 @@ paths: required: true description: The notification endpoint ID. responses: - '200': + "200": description: A list of all labels for a notification endpoint content: application/json: schema: - $ref: '#/components/schemas/LabelsResponse' + $ref: "#/components/schemas/LabelsResponse" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostNotificationEndpointIDLabels tags: - NotificationEndpoints summary: Add a label to a notification endpoint parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: endpointID schema: @@ -7938,28 +7938,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/LabelMapping' + $ref: "#/components/schemas/LabelMapping" responses: - '201': + "201": description: The label was added to the notification endpoint content: application/json: schema: - $ref: '#/components/schemas/LabelResponse' + $ref: "#/components/schemas/LabelResponse" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/notificationEndpoints/{endpointID}/labels/{labelID}': + $ref: "#/components/schemas/Error" + "/notificationEndpoints/{endpointID}/labels/{labelID}": delete: operationId: DeleteNotificationEndpointsIDLabelsID tags: - NotificationEndpoints summary: Delete a label from a notification endpoint parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: endpointID schema: @@ -7973,20 +7973,20 @@ paths: required: true description: The ID of the label to delete. responses: - '204': + "204": description: Delete has been accepted - '404': + "404": description: Endpoint or label not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /debug/pprof/all: get: operationId: GetDebugPprofAllProfiles @@ -8008,7 +8008,7 @@ paths: - **threadcreate**: Stack traces that led to the creation of new OS threads x-codeSamples: - lang: Shell - label: 'Shell: Get all profiles' + label: "Shell: Get all profiles" source: | # Download and extract a `tar.gz` of all profiles after 10 seconds of CPU sampling. @@ -8026,7 +8026,7 @@ paths: go tool pprof profiles/heap.pb.gz - lang: Shell - label: 'Shell: Get all profiles except CPU' + label: "Shell: Get all profiles except CPU" source: | # Download and extract a `tar.gz` of all profiles except CPU. @@ -8043,9 +8043,9 @@ paths: go tool pprof profiles/heap.pb.gz servers: - - url: '' + - url: "" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: cpu description: | @@ -8055,9 +8055,9 @@ paths: format: duration externalDocs: description: InfluxDB duration - url: 'https://docs.influxdata.com/influxdb/latest/reference/glossary/#duration' + url: "https://docs.influxdata.com/influxdb/latest/reference/glossary/#duration" responses: - '200': + "200": description: | [Go runtime profile](https://pkg.go.dev/runtime/pprof) reports. content: @@ -8070,10 +8070,10 @@ paths: format: binary externalDocs: description: Golang pprof package - url: 'https://pkg.go.dev/net/http/pprof' + url: "https://pkg.go.dev/net/http/pprof" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /debug/pprof/allocs: get: operationId: GetDebugPprofAllocs @@ -8090,7 +8090,7 @@ paths: the total number of bytes allocated since the program began (including garbage-collected bytes). x-codeSamples: - lang: Shell - label: 'Shell: go tool pprof' + label: "Shell: go tool pprof" source: | # Analyze the profile in interactive mode. @@ -8104,9 +8104,9 @@ paths: (pprof) top10 servers: - - url: '' + - url: "" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: debug description: | @@ -8131,7 +8131,7 @@ paths: type: string format: int64 responses: - '200': + "200": description: | [Go runtime profile](https://pkg.go.dev/runtime/pprof) report compatible with [pprof](https://github.com/google/pprof) analysis and visualization tools. @@ -8145,7 +8145,7 @@ paths: format: binary externalDocs: description: Golang pprof package - url: 'https://pkg.go.dev/net/http/pprof' + url: "https://pkg.go.dev/net/http/pprof" text/plain: schema: description: | @@ -8156,10 +8156,10 @@ paths: format: Go runtime profile externalDocs: description: Golang pprof package - url: 'https://pkg.go.dev/net/http/pprof' + url: "https://pkg.go.dev/net/http/pprof" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /debug/pprof/block: get: operationId: GetDebugPprofBlock @@ -8172,7 +8172,7 @@ paths: report of stack traces that led to blocking on synchronization primitives. x-codeSamples: - lang: Shell - label: 'Shell: go tool pprof' + label: "Shell: go tool pprof" source: | # Analyze the profile in interactive mode. @@ -8186,9 +8186,9 @@ paths: (pprof) top10 servers: - - url: '' + - url: "" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: debug description: | @@ -8213,7 +8213,7 @@ paths: type: string format: int64 responses: - '200': + "200": description: | [Go runtime profile](https://pkg.go.dev/runtime/pprof) report compatible with [pprof](https://github.com/google/pprof) analysis and visualization tools. @@ -8227,7 +8227,7 @@ paths: format: binary externalDocs: description: Golang pprof package - url: 'https://pkg.go.dev/net/http/pprof' + url: "https://pkg.go.dev/net/http/pprof" text/plain: schema: description: | @@ -8238,10 +8238,10 @@ paths: format: Go runtime profile externalDocs: description: Golang pprof package - url: 'https://pkg.go.dev/net/http/pprof' + url: "https://pkg.go.dev/net/http/pprof" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /debug/pprof/cmdline: get: operationId: GetDebugPprofCmdline @@ -8252,11 +8252,11 @@ paths: description: | Returns the command line that invoked InfluxDB. servers: - - url: '' + - url: "" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" responses: - '200': + "200": description: Command line invocation. content: text/plain: @@ -8265,7 +8265,7 @@ paths: format: Command line default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /debug/pprof/goroutine: get: operationId: GetDebugPprofGoroutine @@ -8278,7 +8278,7 @@ paths: report of all current goroutines. x-codeSamples: - lang: Shell - label: 'Shell: go tool pprof' + label: "Shell: go tool pprof" source: | # Analyze the profile in interactive mode. @@ -8292,9 +8292,9 @@ paths: (pprof) top10 servers: - - url: '' + - url: "" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: debug description: | @@ -8320,7 +8320,7 @@ paths: type: string format: int64 responses: - '200': + "200": description: | [Go runtime profile](https://pkg.go.dev/runtime/pprof) report compatible with [pprof](https://github.com/google/pprof) analysis and visualization tools. @@ -8334,7 +8334,7 @@ paths: format: binary externalDocs: description: Golang pprof package - url: 'https://pkg.go.dev/net/http/pprof' + url: "https://pkg.go.dev/net/http/pprof" text/plain: schema: description: | @@ -8345,10 +8345,10 @@ paths: format: Go runtime profile externalDocs: description: Golang pprof package - url: 'https://pkg.go.dev/net/http/pprof' + url: "https://pkg.go.dev/net/http/pprof" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /debug/pprof/heap: get: operationId: GetDebugPprofHeap @@ -8364,7 +8364,7 @@ paths: pass the `gc` query parameter with a value of `1`. x-codeSamples: - lang: Shell - label: 'Shell: go tool pprof' + label: "Shell: go tool pprof" source: | # Analyze the profile in interactive mode. @@ -8383,9 +8383,9 @@ paths: # Dropped 895 nodes (cum <= 0.83MB) # Showing top 10 nodes out of 143 servers: - - url: '' + - url: "" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: debug description: | @@ -8421,7 +8421,7 @@ paths: - 0 - 1 responses: - '200': + "200": description: | [Go runtime profile](https://pkg.go.dev/runtime/pprof) report compatible with [pprof](https://github.com/google/pprof) analysis and visualization tools. @@ -8435,7 +8435,7 @@ paths: format: binary externalDocs: description: Golang pprof package - url: 'https://pkg.go.dev/net/http/pprof' + url: "https://pkg.go.dev/net/http/pprof" text/plain: schema: description: | @@ -8446,14 +8446,14 @@ paths: format: Go runtime profile externalDocs: description: Golang pprof package - url: 'https://pkg.go.dev/net/http/pprof' + url: "https://pkg.go.dev/net/http/pprof" examples: profileDebugResponse: summary: Profile in plain text value: "heap profile: 12431: 137356528 [149885081: 846795139976] @ heap/8192\n23: 17711104 [46: 35422208] @ 0x4c6df65 0x4ce03ec 0x4cdf3c5 0x4c6f4db 0x4c9edbc 0x4bdefb3 0x4bf822a 0x567d158 0x567ced9 0x406c0a1\n#\t0x4c6df64\tgithub.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*entry).add+0x1a4\t\t\t\t\t/Users/me/github/influxdb/tsdb/engine/tsm1/cache.go:97\n#\t0x4ce03eb\tgithub.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*partition).write+0x2ab\t\t\t\t/Users/me/github/influxdb/tsdb/engine/tsm1/ring.go:229\n#\t0x4cdf3c4\tgithub.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*ring).write+0xa4\t\t\t\t\t/Users/me/github/influxdb/tsdb/engine/tsm1/ring.go:95\n#\t0x4c6f4da\tgithub.com/influxdata/influxdb/v2/tsdb/engine/tsm1.(*Cache).WriteMulti+0x31a\t\t\t\t/Users/me/github/influxdb/tsdb/engine/tsm1/cache.go:343\n" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /debug/pprof/mutex: get: operationId: GetDebugPprofMutex @@ -8467,7 +8467,7 @@ paths: The profile contains stack traces of holders of contended mutual exclusions (mutexes). x-codeSamples: - lang: Shell - label: 'Shell: go tool pprof' + label: "Shell: go tool pprof" source: | # Analyze the profile in interactive mode. @@ -8481,9 +8481,9 @@ paths: (pprof) top10 servers: - - url: '' + - url: "" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: debug description: | @@ -8508,7 +8508,7 @@ paths: type: string format: int64 responses: - '200': + "200": description: | [Go runtime profile](https://pkg.go.dev/runtime/pprof) report compatible with [pprof](https://github.com/google/pprof) analysis and visualization tools. @@ -8522,7 +8522,7 @@ paths: format: binary externalDocs: description: Golang pprof package - url: 'https://pkg.go.dev/net/http/pprof' + url: "https://pkg.go.dev/net/http/pprof" text/plain: schema: description: | @@ -8533,10 +8533,10 @@ paths: format: Go runtime profile externalDocs: description: Golang pprof package - url: 'https://pkg.go.dev/net/http/pprof' + url: "https://pkg.go.dev/net/http/pprof" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /debug/pprof/profile: get: operationId: GetDebugPprofProfile @@ -8549,7 +8549,7 @@ paths: report of program counters on the executing stack. x-codeSamples: - lang: Shell - label: 'Shell: go tool pprof' + label: "Shell: go tool pprof" source: | # Download the profile report. @@ -8564,9 +8564,9 @@ paths: (pprof) top10 servers: - - url: '' + - url: "" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: seconds description: Number of seconds to collect profile data. Default is `30` seconds. @@ -8574,7 +8574,7 @@ paths: type: string format: int64 responses: - '200': + "200": description: | [Go runtime profile](https://pkg.go.dev/runtime/pprof) report compatible with [pprof](https://github.com/google/pprof) analysis and visualization tools. @@ -8587,10 +8587,10 @@ paths: format: binary externalDocs: description: Golang pprof package - url: 'https://pkg.go.dev/net/http/pprof' + url: "https://pkg.go.dev/net/http/pprof" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /debug/pprof/threadcreate: get: operationId: GetDebugPprofThreadCreate @@ -8603,7 +8603,7 @@ paths: report of stack traces that led to the creation of new OS threads. x-codeSamples: - lang: Shell - label: 'Shell: go tool pprof' + label: "Shell: go tool pprof" source: | # Analyze the profile in interactive mode. @@ -8617,9 +8617,9 @@ paths: (pprof) top10 servers: - - url: '' + - url: "" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: debug description: | @@ -8644,7 +8644,7 @@ paths: type: string format: int64 responses: - '200': + "200": description: | [Go runtime profile](https://pkg.go.dev/runtime/pprof) report compatible with [pprof](https://github.com/google/pprof) analysis and visualization tools. @@ -8658,7 +8658,7 @@ paths: format: binary externalDocs: description: Golang pprof package - url: 'https://pkg.go.dev/net/http/pprof' + url: "https://pkg.go.dev/net/http/pprof" text/plain: schema: description: | @@ -8669,14 +8669,14 @@ paths: format: Go runtime profile externalDocs: description: Golang pprof package - url: 'https://pkg.go.dev/net/http/pprof' + url: "https://pkg.go.dev/net/http/pprof" examples: profileDebugResponse: summary: Profile in plain text value: "threadcreate profile: total 26\n25 @\n#\t0x0\n\n1 @ 0x403dda8 0x403e54b 0x403e810 0x403a90c 0x406c0a1\n#\t0x403dda7\truntime.allocm+0xc7\t\t\t/Users/me/.gvm/gos/go1.17/src/runtime/proc.go:1877\n#\t0x403e54a\truntime.newm+0x2a\t\t\t/Users/me/.gvm/gos/go1.17/src/runtime/proc.go:2201\n#\t0x403e80f\truntime.startTemplateThread+0x8f\t/Users/me/.gvm/gos/go1.17/src/runtime/proc.go:2271\n#\t0x403a90b\truntime.main+0x1cb\t\t\t/Users/me/.gvm/gos/go1.17/src/runtime/proc.go:234\n" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /debug/pprof/trace: get: operationId: GetDebugPprofTrace @@ -8688,7 +8688,7 @@ paths: Collects profile data and returns trace execution events for the current program. x-codeSamples: - lang: Shell - label: 'Shell: go tool trace' + label: "Shell: go tool trace" source: | # Download the trace file. @@ -8698,9 +8698,9 @@ paths: go tool trace ./trace servers: - - url: '' + - url: "" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: seconds description: Number of seconds to collect profile data. @@ -8708,7 +8708,7 @@ paths: type: string format: int64 responses: - '200': + "200": description: | [Trace file](https://pkg.go.dev/runtime/trace) compatible with the [Golang `trace` command](https://pkg.go.dev/cmd/trace). @@ -8719,10 +8719,10 @@ paths: format: binary externalDocs: description: Golang trace package - url: 'https://pkg.go.dev/runtime/trace' + url: "https://pkg.go.dev/runtime/trace" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /health: get: operationId: GetHealth @@ -8732,27 +8732,27 @@ paths: summary: Retrieve the health of the instance description: Returns the health of the instance. servers: - - url: '' + - url: "" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" responses: - '200': + "200": description: | The instance is healthy. The response body contains the health check items and status. content: application/json: schema: - $ref: '#/components/schemas/HealthCheck' - '503': + $ref: "#/components/schemas/HealthCheck" + "503": description: The instance is unhealthy. content: application/json: schema: - $ref: '#/components/schemas/HealthCheck' + $ref: "#/components/schemas/HealthCheck" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /metrics: get: operationId: GetMetrics @@ -8771,11 +8771,11 @@ paths: - Learn how to use InfluxDB to [scrape Prometheus metrics](https://docs.influxdata.com/influxdb/v2.3/write-data/developer-tools/scrape-prometheus-metrics/). - Learn how InfluxDB [parses the Prometheus exposition format](https://docs.influxdata.com/influxdb/v2.3/reference/prometheus-metrics/). servers: - - url: '' + - url: "" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" responses: - '200': + "200": description: | Success. The response body contains metrics in [Prometheus plain-text exposition format](https://prometheus.io/docs/instrumenting/exposition_formats) @@ -8792,7 +8792,7 @@ paths: format: Prometheus text-based exposition externalDocs: description: Prometheus exposition formats - url: 'https://prometheus.io/docs/instrumenting/exposition_formats' + url: "https://prometheus.io/docs/instrumenting/exposition_formats" examples: expositionResponse: summary: Metrics in plain text @@ -8807,7 +8807,7 @@ paths: http_api_request_duration_seconds_bucket{handler="platform",method="GET",path="/:fallback_path",response_code="200",status="2XX",user_agent="curl",le="0.025"} 5 default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /ready: get: operationId: GetReady @@ -8816,19 +8816,19 @@ paths: - System information endpoints summary: Get the readiness of an instance at startup servers: - - url: '' + - url: "" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" responses: - '200': + "200": description: The instance is ready content: application/json: schema: - $ref: '#/components/schemas/Ready' + $ref: "#/components/schemas/Ready" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /users: get: operationId: GetUsers @@ -8847,10 +8847,10 @@ paths: `USER_ID` is the ID of the user that you want to list. - InfluxDB OSS requires an _[operator token](https://docs.influxdata.com/influxdb/latest/security/tokens/#operator-token))_ to list all users. parameters: - - $ref: '#/components/parameters/TraceSpan' - - $ref: '#/components/parameters/Offset' - - $ref: '#/components/parameters/Limit' - - $ref: '#/components/parameters/After' + - $ref: "#/components/parameters/TraceSpan" + - $ref: "#/components/parameters/Offset" + - $ref: "#/components/parameters/Limit" + - $ref: "#/components/parameters/After" - in: query name: name schema: @@ -8860,26 +8860,26 @@ paths: schema: type: string responses: - '200': + "200": description: Success. The response contains a list of `users`. content: application/json: schema: - $ref: '#/components/schemas/Users' - '401': + $ref: "#/components/schemas/Users" + "401": description: | Unauthorized. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: tokenNotAuthorized: - summary: 'API token doesn''t have `write:users` permission' + summary: "API token doesn't have `write:users` permission" value: code: unauthorized - message: 'write:users/09d8462ce0764000 is unauthorized' - '422': + message: "write:users/09d8462ce0764000 is unauthorized" + "422": description: | Unprocessable entity. @@ -8890,12 +8890,12 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/Error" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" post: operationId: PostUsers tags: @@ -8908,37 +8908,37 @@ paths: - `write-users`. Requires an InfluxDB API **Op** token. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" requestBody: description: The user to create. required: true content: application/json: schema: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" responses: - '201': + "201": description: | Success. The response contains the newly created user. content: application/json: schema: - $ref: '#/components/schemas/UserResponse' - '401': + $ref: "#/components/schemas/UserResponse" + "401": description: | Unauthorized. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: tokenNotAuthorized: - summary: 'API token doesn''t have `write:users` permission' + summary: "API token doesn't have `write:users` permission" value: code: unauthorized - message: 'write:users/09d8462ce0764000 is unauthorized' - '422': + message: "write:users/09d8462ce0764000 is unauthorized" + "422": description: | Unprocessable entity. @@ -8949,14 +8949,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/Error" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" x-codeSamples: - - label: 'cURL: create a user and set a password' + - label: "cURL: create a user and set a password" lang: Shell source: | # Create the user and assign the user ID to a variable. @@ -8977,7 +8977,7 @@ paths: --header "Authorization: Token INFLUX_OP_TOKEN" \ --header 'Content-type: application/json' \ --data '{ "password": "USER_PASSWORD" }' - '/users/{userID}': + "/users/{userID}": get: operationId: GetUsersID tags: @@ -8985,7 +8985,7 @@ paths: - Users summary: Retrieve a user parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -8993,15 +8993,15 @@ paths: required: true description: The user ID. responses: - '200': + "200": description: User details content: application/json: schema: - $ref: '#/components/schemas/UserResponse' + $ref: "#/components/schemas/UserResponse" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" patch: operationId: PatchUsersID tags: @@ -9013,9 +9013,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -9023,22 +9023,22 @@ paths: required: true description: The ID of the user to update. responses: - '200': + "200": description: User updated content: application/json: schema: - $ref: '#/components/schemas/UserResponse' + $ref: "#/components/schemas/UserResponse" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" delete: operationId: DeleteUsersID tags: - Users summary: Delete a user parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -9046,52 +9046,52 @@ paths: required: true description: The ID of the user to delete. responses: - '204': + "204": description: User deleted default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /setup: get: operationId: GetSetup tags: - Setup - summary: 'Check if database has default user, org, bucket' - description: 'Returns `true` if no default user, organization, or bucket has been created.' + summary: "Check if database has default user, org, bucket" + description: "Returns `true` if no default user, organization, or bucket has been created." parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" responses: - '200': + "200": description: allowed true or false content: application/json: schema: - $ref: '#/components/schemas/IsOnboarding' + $ref: "#/components/schemas/IsOnboarding" post: operationId: PostSetup tags: - Setup - summary: 'Set up initial user, org and bucket' - description: 'Post an onboarding request to set up initial user, org and bucket.' + summary: "Set up initial user, org and bucket" + description: "Post an onboarding request to set up initial user, org and bucket." parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" requestBody: description: Source to create required: true content: application/json: schema: - $ref: '#/components/schemas/OnboardingRequest' + $ref: "#/components/schemas/OnboardingRequest" responses: - '201': - description: 'Created default user, bucket, org' + "201": + description: "Created default user, bucket, org" content: application/json: schema: - $ref: '#/components/schemas/OnboardingResponse' + $ref: "#/components/schemas/OnboardingResponse" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /authorizations: get: operationId: GetAuthorizations @@ -9119,7 +9119,7 @@ paths: - [View tokens](https://docs.influxdata.com/influxdb/v2.3/security/tokens/view-tokens/). parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: userID schema: @@ -9147,22 +9147,22 @@ paths: An organization name. Only returns authorizations that belong to this organization. responses: - '200': + "200": description: Success. The response body contains a list of authorizations. content: application/json: schema: - $ref: '#/components/schemas/Authorizations' - '400': + $ref: "#/components/schemas/Authorizations" + "400": description: Invalid request - $ref: '#/components/responses/GeneralServerError' - '401': - $ref: '#/components/responses/AuthorizationError' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/responses/GeneralServerError" + "401": + $ref: "#/components/responses/AuthorizationError" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" post: operationId: PostAuthorizations tags: @@ -9184,34 +9184,34 @@ paths: - [Create a token](https://docs.influxdata.com/influxdb/v2.3/security/tokens/create-token/). parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" requestBody: description: The authorization to create. required: true content: application/json: schema: - $ref: '#/components/schemas/AuthorizationPostRequest' + $ref: "#/components/schemas/AuthorizationPostRequest" responses: - '201': + "201": description: Created. The response body contains the newly created authorization. content: application/json: schema: - $ref: '#/components/schemas/Authorization' - '400': + $ref: "#/components/schemas/Authorization" + "400": description: Invalid request - $ref: '#/components/responses/GeneralServerError' - '401': - $ref: '#/components/responses/AuthorizationError' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/responses/GeneralServerError" + "401": + $ref: "#/components/responses/AuthorizationError" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" x-codeSample: - lang: Shell - label: 'cURL: Create auth to read all buckets' + label: "cURL: Create auth to read all buckets" source: | curl --request POST \ "http://localhost:8086/api/v2/authorizations" \ @@ -9227,7 +9227,7 @@ paths: } EOF - lang: Shell - - label: 'cURL: Create auth scoped to a user' + - label: "cURL: Create auth scoped to a user" - source: | curl --request POST \ "http://localhost:8086/api/v2/authorizations" \ @@ -9243,7 +9243,7 @@ paths: ] } EOF - '/authorizations/{authID}': + "/authorizations/{authID}": get: operationId: GetAuthorizationsID tags: @@ -9251,7 +9251,7 @@ paths: - Security and access endpoints summary: Retrieve an authorization parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: authID schema: @@ -9259,15 +9259,15 @@ paths: required: true description: The ID of the authorization to get. responses: - '200': + "200": description: Authorization details content: application/json: schema: - $ref: '#/components/schemas/Authorization' + $ref: "#/components/schemas/Authorization" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" patch: operationId: PatchAuthorizationsID tags: @@ -9279,9 +9279,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AuthorizationUpdateRequest' + $ref: "#/components/schemas/AuthorizationUpdateRequest" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: authID schema: @@ -9289,22 +9289,22 @@ paths: required: true description: The ID of the authorization to update. responses: - '200': + "200": description: The active or inactive authorization content: application/json: schema: - $ref: '#/components/schemas/Authorization' + $ref: "#/components/schemas/Authorization" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" delete: operationId: DeleteAuthorizationsID tags: - Authorizations summary: Delete an authorization parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: authID schema: @@ -9312,11 +9312,11 @@ paths: required: true description: The ID of the authorization to delete. responses: - '204': + "204": description: Authorization deleted default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /variables: get: operationId: GetVariables @@ -9324,7 +9324,7 @@ paths: - Variables summary: List all variables parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: org description: The name of the organization. @@ -9336,50 +9336,50 @@ paths: schema: type: string responses: - '200': + "200": description: A list of variables for an organization content: application/json: schema: - $ref: '#/components/schemas/Variables' - '400': + $ref: "#/components/schemas/Variables" + "400": description: Invalid request - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" default: description: Internal server error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" post: operationId: PostVariables summary: Create a variable tags: - Variables parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" requestBody: description: Variable to create required: true content: application/json: schema: - $ref: '#/components/schemas/Variable' + $ref: "#/components/schemas/Variable" responses: - '201': + "201": description: Variable created content: application/json: schema: - $ref: '#/components/schemas/Variable' + $ref: "#/components/schemas/Variable" default: description: Internal server error - $ref: '#/components/responses/GeneralServerError' - '/variables/{variableID}': + $ref: "#/components/responses/GeneralServerError" + "/variables/{variableID}": get: operationId: GetVariablesID tags: - Variables summary: Retrieve a variable parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: variableID required: true @@ -9387,25 +9387,25 @@ paths: type: string description: The variable ID. responses: - '200': + "200": description: Variable found content: application/json: schema: - $ref: '#/components/schemas/Variable' - '404': + $ref: "#/components/schemas/Variable" + "404": description: Variable not found - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" default: description: Internal server error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" delete: operationId: DeleteVariablesID tags: - Variables summary: Delete a variable parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: variableID required: true @@ -9413,18 +9413,18 @@ paths: type: string description: The variable ID. responses: - '204': + "204": description: Variable deleted default: description: Internal server error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" patch: operationId: PatchVariablesID summary: Update a variable tags: - Variables parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: variableID required: true @@ -9437,24 +9437,24 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Variable' + $ref: "#/components/schemas/Variable" responses: - '200': + "200": description: Variable updated content: application/json: schema: - $ref: '#/components/schemas/Variable' + $ref: "#/components/schemas/Variable" default: description: Internal server error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" put: operationId: PutVariablesID summary: Replace a variable tags: - Variables parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: variableID required: true @@ -9467,17 +9467,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Variable' + $ref: "#/components/schemas/Variable" responses: - '200': + "200": description: Variable updated content: application/json: schema: - $ref: '#/components/schemas/Variable' + $ref: "#/components/schemas/Variable" default: description: Internal server error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /sources: post: operationId: PostSources @@ -9485,60 +9485,60 @@ paths: - Sources summary: Create a source parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" requestBody: description: Source to create required: true content: application/json: schema: - $ref: '#/components/schemas/Source' + $ref: "#/components/schemas/Source" responses: - '201': + "201": description: Created Source content: application/json: schema: - $ref: '#/components/schemas/Source' + $ref: "#/components/schemas/Source" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" get: operationId: GetSources tags: - Sources summary: List all sources parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: org description: The name of the organization. schema: type: string responses: - '200': + "200": description: A list of sources content: application/json: schema: - $ref: '#/components/schemas/Sources' + $ref: "#/components/schemas/Sources" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/sources/{sourceID}': + $ref: "#/components/schemas/Error" + "/sources/{sourceID}": delete: operationId: DeleteSourcesID tags: - Sources summary: Delete a source parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: sourceID schema: @@ -9546,27 +9546,27 @@ paths: required: true description: The source ID. responses: - '204': + "204": description: Delete has been accepted - '404': + "404": description: View not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" patch: operationId: PatchSourcesID tags: - Sources summary: Update a Source parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: sourceID schema: @@ -9579,33 +9579,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Source' + $ref: "#/components/schemas/Source" responses: - '200': + "200": description: Created Source content: application/json: schema: - $ref: '#/components/schemas/Source' - '404': + $ref: "#/components/schemas/Source" + "404": description: Source not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" get: operationId: GetSourcesID tags: - Sources summary: Retrieve a source parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: sourceID schema: @@ -9613,32 +9613,32 @@ paths: required: true description: The source ID. responses: - '200': + "200": description: A source content: application/json: schema: - $ref: '#/components/schemas/Source' - '404': + $ref: "#/components/schemas/Source" + "404": description: Source not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/sources/{sourceID}/health': + $ref: "#/components/schemas/Error" + "/sources/{sourceID}/health": get: operationId: GetSourcesIDHealth tags: - Sources summary: Get the health of a source parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: sourceID schema: @@ -9646,25 +9646,25 @@ paths: required: true description: The source ID. responses: - '200': + "200": description: The source is healthy content: application/json: schema: - $ref: '#/components/schemas/HealthCheck' - '503': + $ref: "#/components/schemas/HealthCheck" + "503": description: The source is not healthy content: application/json: schema: - $ref: '#/components/schemas/HealthCheck' + $ref: "#/components/schemas/HealthCheck" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/sources/{sourceID}/buckets': + $ref: "#/components/schemas/Error" + "/sources/{sourceID}/buckets": get: operationId: GetSourcesIDBuckets tags: @@ -9672,7 +9672,7 @@ paths: - Buckets summary: Get buckets in a source parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: sourceID schema: @@ -9685,24 +9685,24 @@ paths: schema: type: string responses: - '200': + "200": description: A source content: application/json: schema: - $ref: '#/components/schemas/Buckets' - '404': + $ref: "#/components/schemas/Buckets" + "404": description: Source not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /scrapers: get: operationId: GetScrapers @@ -9710,7 +9710,7 @@ paths: - Scraper Targets summary: List all scraper targets parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: name description: Specifies the name of the scraper target. @@ -9718,7 +9718,7 @@ paths: type: string - in: query name: id - description: 'List of scraper target IDs to return. If both `id` and `owner` are specified, only `id` is used.' + description: "List of scraper target IDs to return. If both `id` and `owner` are specified, only `id` is used." schema: type: array items: @@ -9734,47 +9734,47 @@ paths: schema: type: string responses: - '200': + "200": description: All scraper targets content: application/json: schema: - $ref: '#/components/schemas/ScraperTargetResponses' + $ref: "#/components/schemas/ScraperTargetResponses" post: operationId: PostScrapers summary: Create a scraper target tags: - Scraper Targets parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" requestBody: description: Scraper target to create required: true content: application/json: schema: - $ref: '#/components/schemas/ScraperTargetRequest' + $ref: "#/components/schemas/ScraperTargetRequest" responses: - '201': + "201": description: Scraper target created content: application/json: schema: - $ref: '#/components/schemas/ScraperTargetResponse' + $ref: "#/components/schemas/ScraperTargetResponse" default: description: Internal server error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/scrapers/{scraperTargetID}': + $ref: "#/components/schemas/Error" + "/scrapers/{scraperTargetID}": get: operationId: GetScrapersID tags: - Scraper Targets summary: Retrieve a scraper target parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: scraperTargetID required: true @@ -9782,25 +9782,25 @@ paths: type: string description: The identifier of the scraper target. responses: - '200': + "200": description: The scraper target content: application/json: schema: - $ref: '#/components/schemas/ScraperTargetResponse' + $ref: "#/components/schemas/ScraperTargetResponse" default: description: Internal server error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" delete: operationId: DeleteScrapersID tags: - Scraper Targets summary: Delete a scraper target parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: scraperTargetID required: true @@ -9808,21 +9808,21 @@ paths: type: string description: The identifier of the scraper target. responses: - '204': + "204": description: Scraper target deleted default: description: Internal server error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" patch: operationId: PatchScrapersID summary: Update a scraper target tags: - Scraper Targets parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: scraperTargetID required: true @@ -9835,28 +9835,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ScraperTargetRequest' + $ref: "#/components/schemas/ScraperTargetRequest" responses: - '200': + "200": description: Scraper target updated content: application/json: schema: - $ref: '#/components/schemas/ScraperTargetResponse' + $ref: "#/components/schemas/ScraperTargetResponse" default: description: Internal server error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/scrapers/{scraperTargetID}/labels': + $ref: "#/components/schemas/Error" + "/scrapers/{scraperTargetID}/labels": get: operationId: GetScrapersIDLabels tags: - Scraper Targets summary: List all labels for a scraper target parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: scraperTargetID schema: @@ -9864,25 +9864,25 @@ paths: required: true description: The scraper target ID. responses: - '200': + "200": description: A list of labels for a scraper target. content: application/json: schema: - $ref: '#/components/schemas/LabelsResponse' + $ref: "#/components/schemas/LabelsResponse" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostScrapersIDLabels tags: - Scraper Targets summary: Add a label to a scraper target parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: scraperTargetID schema: @@ -9895,28 +9895,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/LabelMapping' + $ref: "#/components/schemas/LabelMapping" responses: - '201': + "201": description: The newly added label content: application/json: schema: - $ref: '#/components/schemas/LabelResponse' + $ref: "#/components/schemas/LabelResponse" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/scrapers/{scraperTargetID}/labels/{labelID}': + $ref: "#/components/schemas/Error" + "/scrapers/{scraperTargetID}/labels/{labelID}": delete: operationId: DeleteScrapersIDLabelsID tags: - Scraper Targets summary: Delete a label from a scraper target parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: scraperTargetID schema: @@ -9930,28 +9930,28 @@ paths: required: true description: The label ID. responses: - '204': + "204": description: Delete has been accepted - '404': + "404": description: Scraper target not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/scrapers/{scraperTargetID}/members': + $ref: "#/components/schemas/Error" + "/scrapers/{scraperTargetID}/members": get: operationId: GetScrapersIDMembers tags: - Scraper Targets summary: List all users with member privileges for a scraper target parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: scraperTargetID schema: @@ -9959,25 +9959,25 @@ paths: required: true description: The scraper target ID. responses: - '200': + "200": description: A list of scraper target members content: application/json: schema: - $ref: '#/components/schemas/ResourceMembers' + $ref: "#/components/schemas/ResourceMembers" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostScrapersIDMembers tags: - Scraper Targets summary: Add a member to a scraper target parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: scraperTargetID schema: @@ -9990,28 +9990,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddResourceMemberRequestBody' + $ref: "#/components/schemas/AddResourceMemberRequestBody" responses: - '201': + "201": description: Member added to scraper targets content: application/json: schema: - $ref: '#/components/schemas/ResourceMember' + $ref: "#/components/schemas/ResourceMember" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/scrapers/{scraperTargetID}/members/{userID}': + $ref: "#/components/schemas/Error" + "/scrapers/{scraperTargetID}/members/{userID}": delete: operationId: DeleteScrapersIDMembersID tags: - Scraper Targets summary: Remove a member from a scraper target parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -10025,22 +10025,22 @@ paths: required: true description: The scraper target ID. responses: - '204': + "204": description: Member removed default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/scrapers/{scraperTargetID}/owners': + $ref: "#/components/schemas/Error" + "/scrapers/{scraperTargetID}/owners": get: operationId: GetScrapersIDOwners tags: - Scraper Targets summary: List all owners of a scraper target parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: scraperTargetID schema: @@ -10048,25 +10048,25 @@ paths: required: true description: The scraper target ID. responses: - '200': + "200": description: A list of scraper target owners content: application/json: schema: - $ref: '#/components/schemas/ResourceOwners' + $ref: "#/components/schemas/ResourceOwners" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: operationId: PostScrapersIDOwners tags: - Scraper Targets summary: Add an owner to a scraper target parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: scraperTargetID schema: @@ -10079,28 +10079,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddResourceMemberRequestBody' + $ref: "#/components/schemas/AddResourceMemberRequestBody" responses: - '201': + "201": description: Scraper target owner added content: application/json: schema: - $ref: '#/components/schemas/ResourceOwner' + $ref: "#/components/schemas/ResourceOwner" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' - '/scrapers/{scraperTargetID}/owners/{userID}': + $ref: "#/components/schemas/Error" + "/scrapers/{scraperTargetID}/owners/{userID}": delete: operationId: DeleteScrapersIDOwnersID tags: - Scraper Targets summary: Remove an owner from a scraper target parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: userID schema: @@ -10114,14 +10114,14 @@ paths: required: true description: The scraper target ID. responses: - '204': + "204": description: Owner removed default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /backup/kv: get: operationId: GetBackupKV @@ -10134,9 +10134,9 @@ paths: avoid using this endpoint with versions greater than 2.1.x. deprecated: true parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" responses: - '200': + "200": description: Success. The response contains a snapshot of KV metadata. content: application/octet-stream: @@ -10145,7 +10145,7 @@ paths: format: binary default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /backup/metadata: get: operationId: GetBackupMetadata @@ -10153,19 +10153,19 @@ paths: - Backup summary: Download snapshot of all metadata in the server parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: header name: Accept-Encoding description: Indicates the content encoding (usually a compression algorithm) that the client can understand. schema: type: string - description: 'The content coding. Use `gzip` for compressed data or `identity` for unmodified, uncompressed data.' + description: "The content coding. Use `gzip` for compressed data or `identity` for unmodified, uncompressed data." default: identity enum: - gzip - identity responses: - '200': + "200": description: Snapshot of metadata headers: Content-Encoding: @@ -10181,24 +10181,24 @@ paths: content: multipart/mixed: schema: - $ref: '#/components/schemas/MetadataBackup' + $ref: "#/components/schemas/MetadataBackup" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' - '/backup/shards/{shardID}': + $ref: "#/components/responses/GeneralServerError" + "/backup/shards/{shardID}": get: operationId: GetBackupShardId tags: - Backup summary: Download snapshot of all TSM data in a shard parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: header name: Accept-Encoding description: Indicates the content encoding (usually a compression algorithm) that the client can understand. schema: type: string - description: 'The content coding. Use `gzip` for compressed data or `identity` for unmodified, uncompressed data.' + description: "The content coding. Use `gzip` for compressed data or `identity` for unmodified, uncompressed data." default: identity enum: - gzip @@ -10212,16 +10212,16 @@ paths: description: The shard ID. - in: query name: since - description: 'The earliest time [RFC3339 date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339-timestamp) to include in the snapshot.' + description: "The earliest time [RFC3339 date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339-timestamp) to include in the snapshot." schema: type: string format: date-time examples: RFC3339: summary: RFC3339 date/time format - value: '2006-01-02T15:04:05Z07:00' + value: "2006-01-02T15:04:05Z07:00" responses: - '200': + "200": description: TSM snapshot. headers: Content-Encoding: @@ -10239,15 +10239,15 @@ paths: schema: type: string format: binary - '404': + "404": description: Shard not found. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /restore/kv: post: operationId: PostRestoreKV @@ -10255,7 +10255,7 @@ paths: - Restore summary: Overwrite the embedded KV store on the server with a backed-up snapshot. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: header name: Content-Encoding description: | @@ -10263,7 +10263,7 @@ paths: To make an API request with a GZIP payload, send `Content-Encoding: gzip` as a request header. schema: type: string - description: 'The content coding. Use `gzip` for compressed data or `identity` for unmodified, uncompressed data.' + description: "The content coding. Use `gzip` for compressed data or `identity` for unmodified, uncompressed data." default: identity enum: - gzip @@ -10284,7 +10284,7 @@ paths: type: string format: binary responses: - '200': + "200": description: KV store successfully overwritten. content: application/json: @@ -10294,11 +10294,11 @@ paths: token: description: token is the root token for the instance after restore (this is overwritten during the restore) type: string - '204': + "204": description: KV store successfully overwritten. default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /restore/sql: post: operationId: PostRestoreSQL @@ -10306,7 +10306,7 @@ paths: - Restore summary: Overwrite the embedded SQL store on the server with a backed-up snapshot. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: header name: Content-Encoding description: | @@ -10335,12 +10335,12 @@ paths: type: string format: binary responses: - '204': + "204": description: SQL store successfully overwritten. default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' - '/restore/bucket/{bucketID}': + $ref: "#/components/responses/GeneralServerError" + "/restore/bucket/{bucketID}": post: operationId: PostRestoreBucketID tags: @@ -10348,7 +10348,7 @@ paths: summary: Overwrite storage metadata for a bucket with shard info from a backup. deprecated: true parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: bucketID schema: @@ -10371,7 +10371,7 @@ paths: type: string format: byte responses: - '200': + "200": description: ID mappings for shards in bucket. content: application/json: @@ -10380,7 +10380,7 @@ paths: format: byte default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /restore/bucketMetadata: post: operationId: PostRestoreBucketMetadata @@ -10388,32 +10388,32 @@ paths: - Restore summary: Create a new bucket pre-seeded with shard info from a backup. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" requestBody: description: Metadata manifest for a bucket. required: true content: application/json: schema: - $ref: '#/components/schemas/BucketMetadataManifest' + $ref: "#/components/schemas/BucketMetadataManifest" responses: - '201': + "201": description: ID mappings for shards in new bucket. content: application/json: schema: - $ref: '#/components/schemas/RestoredBucketMappings' + $ref: "#/components/schemas/RestoredBucketMappings" default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' - '/restore/shards/{shardID}': + $ref: "#/components/responses/GeneralServerError" + "/restore/shards/{shardID}": post: operationId: PostRestoreShardId tags: - Restore summary: Restore a TSM snapshot into a shard. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: header name: Content-Encoding description: | @@ -10448,11 +10448,11 @@ paths: type: string format: binary responses: - '204': + "204": description: TSM snapshot successfully restored. default: description: Unexpected error - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /config: get: operationId: GetConfig @@ -10470,20 +10470,20 @@ paths: - [View your runtime server configuration](https://docs.influxdata.com/influxdb/v2.3/reference/config-options/#view-your-runtime-server-configuration) parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" responses: - '200': + "200": description: | Success. The response body contains the active runtime configuration of the InfluxDB instance. content: application/json: schema: - $ref: '#/components/schemas/Config' - '401': - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/schemas/Config" + "401": + $ref: "#/components/responses/GeneralServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /remotes: get: operationId: GetRemoteConnections @@ -10491,7 +10491,7 @@ paths: - RemoteConnections summary: List all remote connections parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: orgID description: The organization ID. @@ -10508,16 +10508,16 @@ paths: type: string format: uri responses: - '200': + "200": description: List of remote connections content: application/json: schema: - $ref: '#/components/schemas/RemoteConnections' - '404': - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/schemas/RemoteConnections" + "404": + $ref: "#/components/responses/GeneralServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" post: operationId: PostRemoteConnection tags: @@ -10528,49 +10528,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RemoteConnectionCreationRequest' + $ref: "#/components/schemas/RemoteConnectionCreationRequest" responses: - '201': + "201": description: Remote connection saved content: application/json: schema: - $ref: '#/components/schemas/RemoteConnection' - '400': - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/schemas/RemoteConnection" + "400": + $ref: "#/components/responses/GeneralServerError" default: - $ref: '#/components/responses/GeneralServerError' - '/remotes/{remoteID}': + $ref: "#/components/responses/GeneralServerError" + "/remotes/{remoteID}": get: operationId: GetRemoteConnectionByID tags: - RemoteConnections summary: Retrieve a remote connection parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: remoteID schema: type: string required: true responses: - '200': + "200": description: Remote connection content: application/json: schema: - $ref: '#/components/schemas/RemoteConnection' - '404': - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/schemas/RemoteConnection" + "404": + $ref: "#/components/responses/GeneralServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" patch: operationId: PatchRemoteConnectionByID tags: - RemoteConnections summary: Update a remote connection parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: remoteID schema: @@ -10581,39 +10581,39 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RemoteConnectionUpdateRequest' + $ref: "#/components/schemas/RemoteConnectionUpdateRequest" responses: - '200': + "200": description: Updated information saved content: application/json: schema: - $ref: '#/components/schemas/RemoteConnection' - '400': - $ref: '#/components/responses/GeneralServerError' - '404': - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/schemas/RemoteConnection" + "400": + $ref: "#/components/responses/GeneralServerError" + "404": + $ref: "#/components/responses/GeneralServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" delete: operationId: DeleteRemoteConnectionByID tags: - RemoteConnections summary: Delete a remote connection parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: remoteID schema: type: string required: true responses: - '204': + "204": description: Remote connection info deleted. - '404': - $ref: '#/components/responses/GeneralServerError' + "404": + $ref: "#/components/responses/GeneralServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /replications: get: operationId: GetReplications @@ -10621,7 +10621,7 @@ paths: - Replications summary: List all replications parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: orgID description: The organization ID. @@ -10641,26 +10641,26 @@ paths: schema: type: string responses: - '200': + "200": description: List of replications content: application/json: schema: - $ref: '#/components/schemas/Replications' - '404': - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/schemas/Replications" + "404": + $ref: "#/components/responses/GeneralServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" post: operationId: PostReplication tags: - Replications summary: Register a new replication parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: validate - description: 'If true, validate the replication, but don''t save it.' + description: "If true, validate the replication, but don't save it." schema: type: boolean default: false @@ -10669,51 +10669,51 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ReplicationCreationRequest' + $ref: "#/components/schemas/ReplicationCreationRequest" responses: - '201': + "201": description: Replication saved content: application/json: schema: - $ref: '#/components/schemas/Replication' - '204': - description: 'Replication validated, but not saved' - '400': - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/schemas/Replication" + "204": + description: "Replication validated, but not saved" + "400": + $ref: "#/components/responses/GeneralServerError" default: - $ref: '#/components/responses/GeneralServerError' - '/replications/{replicationID}': + $ref: "#/components/responses/GeneralServerError" + "/replications/{replicationID}": get: operationId: GetReplicationByID tags: - Replications summary: Retrieve a replication parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: replicationID schema: type: string required: true responses: - '200': + "200": description: Replication content: application/json: schema: - $ref: '#/components/schemas/Replication' - '404': - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/schemas/Replication" + "404": + $ref: "#/components/responses/GeneralServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" patch: operationId: PatchReplicationByID tags: - Replications summary: Update a replication parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: replicationID schema: @@ -10721,7 +10721,7 @@ paths: required: true - in: query name: validate - description: 'If true, validate the updated information, but don''t save it.' + description: "If true, validate the updated information, but don't save it." schema: type: boolean default: false @@ -10730,62 +10730,62 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ReplicationUpdateRequest' + $ref: "#/components/schemas/ReplicationUpdateRequest" responses: - '200': + "200": description: Updated information saved content: application/json: schema: - $ref: '#/components/schemas/Replication' - '204': - description: 'Updated replication validated, but not saved' - '400': - $ref: '#/components/responses/GeneralServerError' - '404': - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/schemas/Replication" + "204": + description: "Updated replication validated, but not saved" + "400": + $ref: "#/components/responses/GeneralServerError" + "404": + $ref: "#/components/responses/GeneralServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" delete: operationId: DeleteReplicationByID tags: - Replications summary: Delete a replication parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: replicationID schema: type: string required: true responses: - '204': + "204": description: Replication deleted. - '404': - $ref: '#/components/responses/GeneralServerError' + "404": + $ref: "#/components/responses/GeneralServerError" default: - $ref: '#/components/responses/GeneralServerError' - '/replications/{replicationID}/validate': + $ref: "#/components/responses/GeneralServerError" + "/replications/{replicationID}/validate": post: operationId: PostValidateReplicationByID tags: - Replications summary: Validate a replication parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: replicationID schema: type: string required: true responses: - '204': + "204": description: Replication is valid - '400': + "400": description: Replication failed validation - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" /dashboards: post: operationId: PostDashboards @@ -10793,39 +10793,39 @@ paths: - Dashboards summary: Create a dashboard parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" requestBody: description: Dashboard to create required: true content: application/json: schema: - $ref: '#/components/schemas/CreateDashboardRequest' + $ref: "#/components/schemas/CreateDashboardRequest" responses: - '201': + "201": description: Added dashboard content: application/json: schema: oneOf: - - $ref: '#/components/schemas/Dashboard' - - $ref: '#/components/schemas/DashboardWithViewProperties' + - $ref: "#/components/schemas/Dashboard" + - $ref: "#/components/schemas/DashboardWithViewProperties" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" get: operationId: GetDashboards tags: - Dashboards summary: List all dashboards parameters: - - $ref: '#/components/parameters/TraceSpan' - - $ref: '#/components/parameters/Offset' - - $ref: '#/components/parameters/Limit' - - $ref: '#/components/parameters/Descending' + - $ref: "#/components/parameters/TraceSpan" + - $ref: "#/components/parameters/Offset" + - $ref: "#/components/parameters/Limit" + - $ref: "#/components/parameters/Descending" - in: query name: owner description: A user identifier. Returns only dashboards where this user has the `owner` role. @@ -10842,7 +10842,7 @@ paths: - UpdatedAt - in: query name: id - description: 'A list of dashboard identifiers. Returns only the listed dashboards. If both `id` and `owner` are specified, only `id` is used.' + description: "A list of dashboard identifiers. Returns only the listed dashboards. If both `id` and `owner` are specified, only `id` is used." schema: type: array items: @@ -10858,18 +10858,18 @@ paths: schema: type: string responses: - '200': + "200": description: All dashboards content: application/json: schema: - $ref: '#/components/schemas/Dashboards' + $ref: "#/components/schemas/Dashboards" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /tasks: get: operationId: GetTasks @@ -10883,7 +10883,7 @@ paths: To limit which tasks are returned, pass query parameters in your request. If no query parameters are passed, InfluxDB returns all tasks up to the default `limit`. parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: query name: name description: | @@ -10949,20 +10949,20 @@ paths: To reduce the payload size, pass `basic` to omit some task properties (`flux`, `createdAt`, `updatedAt`) from the response. required: false schema: - default: '' + default: "" type: string enum: - basic - system responses: - '200': + "200": description: | Success. The response body contains the list of tasks. content: application/json: schema: - $ref: '#/components/schemas/Tasks' + $ref: "#/components/schemas/Tasks" examples: basicTypeTaskOutput: summary: Basic output @@ -10981,13 +10981,13 @@ paths: labels: [] id: 09956cbb6d378000 orgID: 48c88459ee424a04 - org: '' + org: "" ownerID: 0772396d1f411000 name: task1 status: active - flux: '' + flux: "" every: 30m - latestCompleted: '2022-06-30T15:00:00Z' + latestCompleted: "2022-06-30T15:00:00Z" lastRunStatus: success systemTypeTaskOutput: summary: System output @@ -11019,19 +11019,19 @@ paths: |> filter(fn: (r) => r._measurement == "environment") |> aggregateWindow(every: 1h, fn: mean) every: 30m - latestCompleted: '2022-06-30T15:00:00Z' + latestCompleted: "2022-06-30T15:00:00Z" lastRunStatus: success - createdAt: '2022-06-27T15:09:06Z' - updatedAt: '2022-06-28T18:10:15Z' - '401': - $ref: '#/components/responses/AuthorizationError' - '500': - $ref: '#/components/responses/InternalServerError' + createdAt: "2022-06-27T15:09:06Z" + updatedAt: "2022-06-28T18:10:15Z" + "401": + $ref: "#/components/responses/AuthorizationError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" x-codeSamples: - lang: Shell - label: 'cURL: all tasks, basic output' + label: "cURL: all tasks, basic output" source: | curl https://localhost:8086/api/v2/tasks/?limit=-1&type=basic \ --header 'Content-Type: application/json' \ @@ -11052,22 +11052,22 @@ paths: - [Common tasks](https://docs.influxdata.com/influxdb/v2.3/process-data/common-tasks/) - [Task configuration options](https://docs.influxdata.com/influxdb/v2.3/process-data/task-options/) parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" requestBody: description: The task to create. required: true content: application/json: schema: - $ref: '#/components/schemas/TaskCreateRequest' + $ref: "#/components/schemas/TaskCreateRequest" responses: - '201': + "201": description: Success. The response body contains a `tasks` list with the new task. content: application/json: schema: - $ref: '#/components/schemas/Task' - '400': + $ref: "#/components/schemas/Task" + "400": description: | Bad request. The response body contains detail about the error. @@ -11078,31 +11078,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: orgProvidedNotFound: summary: The org or orgID passed doesn't own the token passed in the header value: code: invalid - message: 'failed to decode request body: organization not found' + message: "failed to decode request body: organization not found" missingFluxError: summary: Task in request body is missing Flux query value: code: invalid - message: 'failed to decode request: missing flux' - '401': - $ref: '#/components/responses/AuthorizationError' - '500': - $ref: '#/components/responses/InternalServerError' + message: "failed to decode request: missing flux" + "401": + $ref: "#/components/responses/AuthorizationError" + "500": + $ref: "#/components/responses/InternalServerError" default: description: Unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" x-codeSamples: - lang: Shell - label: 'cURL: create a task' + label: "cURL: create a task" source: | curl http://localhost:8086/api/v2/tasks \ --header "Content-type: application/json" \ @@ -11118,7 +11118,7 @@ paths: |> aggregateWindow(every: 1h, fn: mean)" } EOF - '/tasks/{taskID}': + "/tasks/{taskID}": get: operationId: GetTasksID tags: @@ -11128,7 +11128,7 @@ paths: description: | Retrieves a [task](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#task). parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -11136,22 +11136,22 @@ paths: required: true description: The ID of the task to retrieve. responses: - '200': + "200": description: Success. The response body contains the task. content: application/json: schema: - $ref: '#/components/schemas/Task' - '400': - $ref: '#/components/responses/BadRequestError' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/Task" + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" patch: operationId: PatchTasksID tags: @@ -11172,9 +11172,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TaskUpdateRequest' + $ref: "#/components/schemas/TaskUpdateRequest" parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -11182,22 +11182,22 @@ paths: required: true description: The ID of the task to update. responses: - '200': + "200": description: Success. The response body contains the updated task. content: application/json: schema: - $ref: '#/components/schemas/Task' - '400': - $ref: '#/components/responses/BadRequestError' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + $ref: "#/components/schemas/Task" + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" delete: operationId: DeleteTasksID tags: @@ -11211,7 +11211,7 @@ paths: If you want to disable a task instead of delete it, [update the task status to `inactive`](#operation/PatchTasksID). parameters: - - $ref: '#/components/parameters/TraceSpan' + - $ref: "#/components/parameters/TraceSpan" - in: path name: taskID schema: @@ -11219,18 +11219,18 @@ paths: required: true description: The ID of the task to delete. responses: - '204': + "204": description: Success. The task and runs are deleted. Scheduled runs are canceled. - '400': - $ref: '#/components/responses/BadRequestError' - '401': - $ref: '#/components/responses/AuthorizationError' - '404': - $ref: '#/components/responses/ResourceNotFoundError' - '500': - $ref: '#/components/responses/InternalServerError' + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/AuthorizationError" + "404": + $ref: "#/components/responses/ResourceNotFoundError" + "500": + $ref: "#/components/responses/InternalServerError" default: - $ref: '#/components/responses/GeneralServerError' + $ref: "#/components/responses/GeneralServerError" components: parameters: TraceSpan: @@ -11238,8 +11238,8 @@ components: name: Zap-Trace-Span description: OpenTracing span context example: - trace_id: '1' - span_id: '1' + trace_id: "1" + span_id: "1" baggage: key: value required: false @@ -11305,7 +11305,7 @@ components: - query properties: extern: - $ref: '#/components/schemas/File' + $ref: "#/components/schemas/File" query: description: The query script to execute. type: string @@ -11341,7 +11341,7 @@ components: - If you use _`params`_, you can't use _`extern`_. dialect: - $ref: '#/components/schemas/Dialect' + $ref: "#/components/schemas/Dialect" now: description: | Specifies the time that should be reported as `now` in the query. @@ -11353,7 +11353,7 @@ components: type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" path: description: Package import path type: string @@ -11364,46 +11364,46 @@ components: description: Package files type: array items: - $ref: '#/components/schemas/File' + $ref: "#/components/schemas/File" File: description: Represents a source from a single file type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" name: description: The name of the file. type: string package: - $ref: '#/components/schemas/PackageClause' + $ref: "#/components/schemas/PackageClause" imports: description: A list of package imports type: array items: - $ref: '#/components/schemas/ImportDeclaration' + $ref: "#/components/schemas/ImportDeclaration" body: description: List of Flux statements type: array items: - $ref: '#/components/schemas/Statement' + $ref: "#/components/schemas/Statement" PackageClause: description: Defines a package identifier type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" name: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" ImportDeclaration: description: Declares a package import type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" as: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" path: - $ref: '#/components/schemas/StringLiteral' + $ref: "#/components/schemas/StringLiteral" DeletePredicateRequest: description: The delete predicate request. type: object @@ -11430,8 +11430,8 @@ components: type: string Node: oneOf: - - $ref: '#/components/schemas/Expression' - - $ref: '#/components/schemas/Block' + - $ref: "#/components/schemas/Expression" + - $ref: "#/components/schemas/Block" NodeType: description: Type of AST node type: string @@ -11440,28 +11440,28 @@ components: type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" body: description: Block body type: array items: - $ref: '#/components/schemas/Statement' + $ref: "#/components/schemas/Statement" Statement: oneOf: - - $ref: '#/components/schemas/BadStatement' - - $ref: '#/components/schemas/VariableAssignment' - - $ref: '#/components/schemas/MemberAssignment' - - $ref: '#/components/schemas/ExpressionStatement' - - $ref: '#/components/schemas/ReturnStatement' - - $ref: '#/components/schemas/OptionStatement' - - $ref: '#/components/schemas/BuiltinStatement' - - $ref: '#/components/schemas/TestStatement' + - $ref: "#/components/schemas/BadStatement" + - $ref: "#/components/schemas/VariableAssignment" + - $ref: "#/components/schemas/MemberAssignment" + - $ref: "#/components/schemas/ExpressionStatement" + - $ref: "#/components/schemas/ReturnStatement" + - $ref: "#/components/schemas/OptionStatement" + - $ref: "#/components/schemas/BuiltinStatement" + - $ref: "#/components/schemas/TestStatement" BadStatement: description: A placeholder for statements for which no correct statement nodes can be created type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" text: description: Raw source text type: string @@ -11470,255 +11470,255 @@ components: type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" init: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" MemberAssignment: description: Object property assignment type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" member: - $ref: '#/components/schemas/MemberExpression' + $ref: "#/components/schemas/MemberExpression" init: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" ExpressionStatement: description: May consist of an expression that doesn't return a value and is executed solely for its side-effects type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" expression: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" ReturnStatement: description: Defines an expression to return type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" argument: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" OptionStatement: description: A single variable declaration type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" assignment: oneOf: - - $ref: '#/components/schemas/VariableAssignment' - - $ref: '#/components/schemas/MemberAssignment' + - $ref: "#/components/schemas/VariableAssignment" + - $ref: "#/components/schemas/MemberAssignment" BuiltinStatement: description: Declares a builtin identifier and its type type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" TestStatement: description: Declares a Flux test case type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" assignment: - $ref: '#/components/schemas/VariableAssignment' + $ref: "#/components/schemas/VariableAssignment" Expression: oneOf: - - $ref: '#/components/schemas/ArrayExpression' - - $ref: '#/components/schemas/DictExpression' - - $ref: '#/components/schemas/FunctionExpression' - - $ref: '#/components/schemas/BinaryExpression' - - $ref: '#/components/schemas/CallExpression' - - $ref: '#/components/schemas/ConditionalExpression' - - $ref: '#/components/schemas/LogicalExpression' - - $ref: '#/components/schemas/MemberExpression' - - $ref: '#/components/schemas/IndexExpression' - - $ref: '#/components/schemas/ObjectExpression' - - $ref: '#/components/schemas/ParenExpression' - - $ref: '#/components/schemas/PipeExpression' - - $ref: '#/components/schemas/UnaryExpression' - - $ref: '#/components/schemas/BooleanLiteral' - - $ref: '#/components/schemas/DateTimeLiteral' - - $ref: '#/components/schemas/DurationLiteral' - - $ref: '#/components/schemas/FloatLiteral' - - $ref: '#/components/schemas/IntegerLiteral' - - $ref: '#/components/schemas/PipeLiteral' - - $ref: '#/components/schemas/RegexpLiteral' - - $ref: '#/components/schemas/StringLiteral' - - $ref: '#/components/schemas/UnsignedIntegerLiteral' - - $ref: '#/components/schemas/Identifier' + - $ref: "#/components/schemas/ArrayExpression" + - $ref: "#/components/schemas/DictExpression" + - $ref: "#/components/schemas/FunctionExpression" + - $ref: "#/components/schemas/BinaryExpression" + - $ref: "#/components/schemas/CallExpression" + - $ref: "#/components/schemas/ConditionalExpression" + - $ref: "#/components/schemas/LogicalExpression" + - $ref: "#/components/schemas/MemberExpression" + - $ref: "#/components/schemas/IndexExpression" + - $ref: "#/components/schemas/ObjectExpression" + - $ref: "#/components/schemas/ParenExpression" + - $ref: "#/components/schemas/PipeExpression" + - $ref: "#/components/schemas/UnaryExpression" + - $ref: "#/components/schemas/BooleanLiteral" + - $ref: "#/components/schemas/DateTimeLiteral" + - $ref: "#/components/schemas/DurationLiteral" + - $ref: "#/components/schemas/FloatLiteral" + - $ref: "#/components/schemas/IntegerLiteral" + - $ref: "#/components/schemas/PipeLiteral" + - $ref: "#/components/schemas/RegexpLiteral" + - $ref: "#/components/schemas/StringLiteral" + - $ref: "#/components/schemas/UnsignedIntegerLiteral" + - $ref: "#/components/schemas/Identifier" ArrayExpression: description: Used to create and directly specify the elements of an array object type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" elements: description: Elements of the array type: array items: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" DictExpression: description: Used to create and directly specify the elements of a dictionary type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" elements: description: Elements of the dictionary type: array items: - $ref: '#/components/schemas/DictItem' + $ref: "#/components/schemas/DictItem" DictItem: description: A key-value pair in a dictionary. type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" key: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" val: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" FunctionExpression: description: Function expression type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" params: description: Function parameters type: array items: - $ref: '#/components/schemas/Property' + $ref: "#/components/schemas/Property" body: - $ref: '#/components/schemas/Node' + $ref: "#/components/schemas/Node" BinaryExpression: description: uses binary operators to act on two operands in an expression type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" operator: type: string left: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" right: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" CallExpression: description: Represents a function call type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" callee: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" arguments: description: Function arguments type: array items: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" ConditionalExpression: - description: 'Selects one of two expressions, `Alternate` or `Consequent`, depending on a third boolean expression, `Test`' + description: "Selects one of two expressions, `Alternate` or `Consequent`, depending on a third boolean expression, `Test`" type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" test: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" alternate: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" consequent: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" LogicalExpression: description: Represents the rule conditions that collectively evaluate to either true or false type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" operator: type: string left: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" right: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" MemberExpression: description: Represents accessing a property of an object type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" object: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" property: - $ref: '#/components/schemas/PropertyKey' + $ref: "#/components/schemas/PropertyKey" IndexExpression: description: Represents indexing into an array type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" array: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" index: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" ObjectExpression: description: Allows the declaration of an anonymous object within a declaration type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" properties: description: Object properties type: array items: - $ref: '#/components/schemas/Property' + $ref: "#/components/schemas/Property" ParenExpression: description: Represents an expression wrapped in parenthesis type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" expression: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" PipeExpression: description: Call expression with pipe argument type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" argument: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" call: - $ref: '#/components/schemas/CallExpression' + $ref: "#/components/schemas/CallExpression" UnaryExpression: description: Uses operators to act on a single operand in an expression type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" operator: type: string argument: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" BooleanLiteral: description: Represents boolean values type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" value: type: boolean DateTimeLiteral: - description: 'Represents an instant in time with nanosecond precision in [RFC3339Nano date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339nano-timestamp).' + description: "Represents an instant in time with nanosecond precision in [RFC3339Nano date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339nano-timestamp)." type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" value: type: string format: date-time @@ -11727,18 +11727,18 @@ components: type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" values: description: Duration values type: array items: - $ref: '#/components/schemas/Duration' + $ref: "#/components/schemas/Duration" FloatLiteral: description: Represents floating point numbers according to the double representations defined by the IEEE-754-1985 type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" value: type: number IntegerLiteral: @@ -11746,21 +11746,21 @@ components: type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" value: type: string PipeLiteral: - description: 'Represents a specialized literal value, indicating the left hand value of a pipe expression' + description: "Represents a specialized literal value, indicating the left hand value of a pipe expression" type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" RegexpLiteral: description: Expressions begin and end with `/` and are regular expressions with syntax accepted by RE2 type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" value: type: string StringLiteral: @@ -11768,7 +11768,7 @@ components: type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" value: type: string UnsignedIntegerLiteral: @@ -11776,7 +11776,7 @@ components: type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" value: type: string Duration: @@ -11784,7 +11784,7 @@ components: type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" magnitude: type: integer unit: @@ -11794,21 +11794,21 @@ components: type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" key: - $ref: '#/components/schemas/PropertyKey' + $ref: "#/components/schemas/PropertyKey" value: - $ref: '#/components/schemas/Expression' + $ref: "#/components/schemas/Expression" PropertyKey: oneOf: - - $ref: '#/components/schemas/Identifier' - - $ref: '#/components/schemas/StringLiteral' + - $ref: "#/components/schemas/Identifier" + - $ref: "#/components/schemas/StringLiteral" Identifier: description: A valid Flux identifier type: object properties: type: - $ref: '#/components/schemas/NodeType' + $ref: "#/components/schemas/NodeType" name: type: string Dialect: @@ -11821,13 +11821,13 @@ components: type: object properties: header: - description: 'If true, the results contain a header row.' + description: "If true, the results contain a header row." type: boolean default: true delimiter: - description: 'The separator used between cells. Default is a comma (`,`).' + description: "The separator used between cells. Default is a comma (`,`)." type: string - default: ',' + default: "," maxLength: 1 minLength: 1 annotations: @@ -11852,7 +11852,7 @@ components: commentPrefix: description: The character prefixed to comment strings. Default is a number sign (`#`). type: string - default: '#' + default: "#" maxLength: 1 minLength: 0 dateTimeFormat: @@ -11875,7 +11875,7 @@ components: AuthorizationUpdateRequest: properties: status: - description: 'Status of the token. If `inactive`, requests using the token will be rejected.' + description: "Status of the token. If `inactive`, requests using the token will be rejected." default: active type: string enum: @@ -11907,9 +11907,9 @@ components: The InfluxDB 2.x and Cloud equivalent is [retention period](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#retention-period). type: string - default: '0' + default: "0" retentionRules: - $ref: '#/components/schemas/RetentionRules' + $ref: "#/components/schemas/RetentionRules" schemaType: description: | Schema Type. @@ -11923,7 +11923,7 @@ components: #### InfluxDB OSS - Doesn't support `schemaType`. - $ref: '#/components/schemas/SchemaType' + $ref: "#/components/schemas/SchemaType" default: implicit required: - orgID @@ -11943,22 +11943,22 @@ components: properties: labels: description: URL to retrieve labels for this bucket. - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" members: description: URL to retrieve members that can read this bucket. - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" org: description: URL to retrieve parent organization for this bucket. - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" owners: description: URL to retrieve owners that can read and write to this bucket. - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" self: description: URL for this bucket. - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" write: description: URL to write line protocol to this bucket. - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" id: readOnly: true type: string @@ -11978,7 +11978,7 @@ components: rp: type: string schemaType: - $ref: '#/components/schemas/SchemaType' + $ref: "#/components/schemas/SchemaType" default: implicit createdAt: type: string @@ -11989,9 +11989,9 @@ components: format: date-time readOnly: true retentionRules: - $ref: '#/components/schemas/RetentionRules' + $ref: "#/components/schemas/RetentionRules" labels: - $ref: '#/components/schemas/Labels' + $ref: "#/components/schemas/Labels" required: - name - retentionRules @@ -12000,11 +12000,11 @@ components: properties: links: readOnly: true - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" buckets: type: array items: - $ref: '#/components/schemas/Bucket' + $ref: "#/components/schemas/Bucket" RetentionRules: type: array description: | @@ -12017,7 +12017,7 @@ components: - `retentionRules` isn't required. items: - $ref: '#/components/schemas/RetentionRule' + $ref: "#/components/schemas/RetentionRule" PatchBucketRequest: type: object description: | @@ -12032,12 +12032,12 @@ components: A description of the bucket. type: string retentionRules: - $ref: '#/components/schemas/PatchRetentionRules' + $ref: "#/components/schemas/PatchRetentionRules" PatchRetentionRules: type: array description: Updates to rules to expire or retain data. No rules means no updates. items: - $ref: '#/components/schemas/PatchRetentionRule' + $ref: "#/components/schemas/PatchRetentionRule" PatchRetentionRule: type: object properties: @@ -12122,11 +12122,11 @@ components: URI pointers for additional paged results. properties: next: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" self: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" prev: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" required: - self Logs: @@ -12136,16 +12136,16 @@ components: readOnly: true type: array items: - $ref: '#/components/schemas/LogEvent' + $ref: "#/components/schemas/LogEvent" LogEvent: type: object properties: time: readOnly: true - description: 'The time ([RFC3339Nano date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339nano-timestamp)) that the event occurred.' + description: "The time ([RFC3339Nano date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339nano-timestamp)) that the event occurred." type: string format: date-time - example: '2006-01-02T15:04:05.999999999Z07:00' + example: "2006-01-02T15:04:05.999999999Z07:00" message: readOnly: true description: A description of the event that occurred. @@ -12171,21 +12171,21 @@ components: dashboards: /api/v2/dashboards?org=myorg properties: self: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" members: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" owners: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" labels: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" secrets: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" buckets: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" tasks: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" dashboards: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" id: readOnly: true type: string @@ -12214,11 +12214,11 @@ components: type: object properties: links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" orgs: type: array items: - $ref: '#/components/schemas/Organization' + $ref: "#/components/schemas/Organization" PostOrganizationRequest: type: object properties: @@ -12289,7 +12289,7 @@ components: items: type: string contents: - $ref: '#/components/schemas/Template' + $ref: "#/components/schemas/Template" templates: type: array description: | @@ -12309,7 +12309,7 @@ components: items: type: string contents: - $ref: '#/components/schemas/Template' + $ref: "#/components/schemas/Template" envRefs: type: object description: | @@ -12422,7 +12422,7 @@ components: type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" required: - kind - type: object @@ -12435,7 +12435,7 @@ components: type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" resourceTemplateName: type: string required: @@ -12480,7 +12480,7 @@ components: byResourceKind: type: array items: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" resources: type: array items: @@ -12489,10 +12489,10 @@ components: id: type: string kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" name: type: string - description: 'if defined with id, name is used for resource exported by id. if defined independently, resources strictly matching name are exported' + description: "if defined with id, name is used for resource exported by id. if defined independently, resources strictly matching name are exported" required: - id - kind @@ -12518,14 +12518,14 @@ components: byResourceKind: type: array items: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" resources: type: array items: type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" name: type: string required: @@ -12543,7 +12543,7 @@ components: type: string example: influxdata.com/v2alpha1 kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" metadata: type: object description: | @@ -12636,7 +12636,7 @@ components: orgID: type: string kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" templateMetaName: type: string name: @@ -12648,26 +12648,26 @@ components: labelAssociations: type: array items: - $ref: '#/components/schemas/TemplateSummaryLabel' + $ref: "#/components/schemas/TemplateSummaryLabel" envReferences: - $ref: '#/components/schemas/TemplateEnvReferences' + $ref: "#/components/schemas/TemplateEnvReferences" checks: type: array items: allOf: - - $ref: '#/components/schemas/CheckDiscriminator' + - $ref: "#/components/schemas/CheckDiscriminator" - type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" templateMetaName: type: string labelAssociations: type: array items: - $ref: '#/components/schemas/TemplateSummaryLabel' + $ref: "#/components/schemas/TemplateSummaryLabel" envReferences: - $ref: '#/components/schemas/TemplateEnvReferences' + $ref: "#/components/schemas/TemplateEnvReferences" dashboards: type: array items: @@ -12678,7 +12678,7 @@ components: orgID: type: string kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" templateMetaName: type: string name: @@ -12688,17 +12688,17 @@ components: labelAssociations: type: array items: - $ref: '#/components/schemas/TemplateSummaryLabel' + $ref: "#/components/schemas/TemplateSummaryLabel" charts: type: array items: - $ref: '#/components/schemas/TemplateChart' + $ref: "#/components/schemas/TemplateChart" envReferences: - $ref: '#/components/schemas/TemplateEnvReferences' + $ref: "#/components/schemas/TemplateEnvReferences" labels: type: array items: - $ref: '#/components/schemas/TemplateSummaryLabel' + $ref: "#/components/schemas/TemplateSummaryLabel" labelMappings: type: array items: @@ -12732,26 +12732,26 @@ components: type: array items: allOf: - - $ref: '#/components/schemas/NotificationEndpointDiscriminator' + - $ref: "#/components/schemas/NotificationEndpointDiscriminator" - type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" templateMetaName: type: string labelAssociations: type: array items: - $ref: '#/components/schemas/TemplateSummaryLabel' + $ref: "#/components/schemas/TemplateSummaryLabel" envReferences: - $ref: '#/components/schemas/TemplateEnvReferences' + $ref: "#/components/schemas/TemplateEnvReferences" notificationRules: type: array items: type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" templateMetaName: type: string name: @@ -12795,16 +12795,16 @@ components: labelAssociations: type: array items: - $ref: '#/components/schemas/TemplateSummaryLabel' + $ref: "#/components/schemas/TemplateSummaryLabel" envReferences: - $ref: '#/components/schemas/TemplateEnvReferences' + $ref: "#/components/schemas/TemplateEnvReferences" tasks: type: array items: type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" templateMetaName: type: string id: @@ -12824,31 +12824,31 @@ components: status: type: string envReferences: - $ref: '#/components/schemas/TemplateEnvReferences' + $ref: "#/components/schemas/TemplateEnvReferences" telegrafConfigs: type: array items: allOf: - - $ref: '#/components/schemas/TelegrafRequest' + - $ref: "#/components/schemas/TelegrafRequest" - type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" templateMetaName: type: string labelAssociations: type: array items: - $ref: '#/components/schemas/TemplateSummaryLabel' + $ref: "#/components/schemas/TemplateSummaryLabel" envReferences: - $ref: '#/components/schemas/TemplateEnvReferences' + $ref: "#/components/schemas/TemplateEnvReferences" variables: type: array items: type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" templateMetaName: type: string id: @@ -12860,13 +12860,13 @@ components: description: type: string arguments: - $ref: '#/components/schemas/VariableProperties' + $ref: "#/components/schemas/VariableProperties" labelAssociations: type: array items: - $ref: '#/components/schemas/TemplateSummaryLabel' + $ref: "#/components/schemas/TemplateSummaryLabel" envReferences: - $ref: '#/components/schemas/TemplateEnvReferences' + $ref: "#/components/schemas/TemplateEnvReferences" diff: type: object properties: @@ -12876,7 +12876,7 @@ components: type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" stateStatus: type: string id: @@ -12891,7 +12891,7 @@ components: description: type: string retentionRules: - $ref: '#/components/schemas/RetentionRules' + $ref: "#/components/schemas/RetentionRules" old: type: object properties: @@ -12900,14 +12900,14 @@ components: description: type: string retentionRules: - $ref: '#/components/schemas/RetentionRules' + $ref: "#/components/schemas/RetentionRules" checks: type: array items: type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" stateStatus: type: string id: @@ -12915,9 +12915,9 @@ components: templateMetaName: type: string new: - $ref: '#/components/schemas/CheckDiscriminator' + $ref: "#/components/schemas/CheckDiscriminator" old: - $ref: '#/components/schemas/CheckDiscriminator' + $ref: "#/components/schemas/CheckDiscriminator" dashboards: type: array items: @@ -12928,7 +12928,7 @@ components: id: type: string kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" templateMetaName: type: string new: @@ -12941,7 +12941,7 @@ components: charts: type: array items: - $ref: '#/components/schemas/TemplateChart' + $ref: "#/components/schemas/TemplateChart" old: type: object properties: @@ -12952,7 +12952,7 @@ components: charts: type: array items: - $ref: '#/components/schemas/TemplateChart' + $ref: "#/components/schemas/TemplateChart" labels: type: array items: @@ -12961,7 +12961,7 @@ components: stateStatus: type: string kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" id: type: string templateMetaName: @@ -13011,7 +13011,7 @@ components: type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" stateStatus: type: string id: @@ -13019,16 +13019,16 @@ components: templateMetaName: type: string new: - $ref: '#/components/schemas/NotificationEndpointDiscriminator' + $ref: "#/components/schemas/NotificationEndpointDiscriminator" old: - $ref: '#/components/schemas/NotificationEndpointDiscriminator' + $ref: "#/components/schemas/NotificationEndpointDiscriminator" notificationRules: type: array items: type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" stateStatus: type: string id: @@ -13123,7 +13123,7 @@ components: type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" stateStatus: type: string id: @@ -13170,7 +13170,7 @@ components: type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" stateStatus: type: string id: @@ -13178,16 +13178,16 @@ components: templateMetaName: type: string new: - $ref: '#/components/schemas/TelegrafRequest' + $ref: "#/components/schemas/TelegrafRequest" old: - $ref: '#/components/schemas/TelegrafRequest' + $ref: "#/components/schemas/TelegrafRequest" variables: type: array items: type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" stateStatus: type: string id: @@ -13202,7 +13202,7 @@ components: description: type: string args: - $ref: '#/components/schemas/VariableProperties' + $ref: "#/components/schemas/VariableProperties" old: type: object properties: @@ -13211,14 +13211,14 @@ components: description: type: string args: - $ref: '#/components/schemas/VariableProperties' + $ref: "#/components/schemas/VariableProperties" errors: type: array items: type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" reason: type: string fields: @@ -13237,7 +13237,7 @@ components: orgID: type: string kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" templateMetaName: type: string name: @@ -13250,7 +13250,7 @@ components: description: type: string envReferences: - $ref: '#/components/schemas/TemplateEnvReferences' + $ref: "#/components/schemas/TemplateEnvReferences" TemplateChart: type: object properties: @@ -13263,7 +13263,7 @@ components: width: type: integer properties: - $ref: '#/components/schemas/ViewProperties' + $ref: "#/components/schemas/ViewProperties" Stack: type: object properties: @@ -13300,7 +13300,7 @@ components: resourceID: type: string kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" templateMetaName: type: string associations: @@ -13309,7 +13309,7 @@ components: type: object properties: kind: - $ref: '#/components/schemas/TemplateKind' + $ref: "#/components/schemas/TemplateKind" metaName: type: string links: @@ -13329,11 +13329,11 @@ components: type: object properties: links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" runs: type: array items: - $ref: '#/components/schemas/Run' + $ref: "#/components/schemas/Run" Run: properties: id: @@ -13352,7 +13352,7 @@ components: - success - canceled scheduledFor: - description: 'The time [RFC3339 date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339-timestamp) used for the run''s `now` option.' + description: "The time [RFC3339 date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339-timestamp) used for the run's `now` option." type: string format: date-time log: @@ -13360,29 +13360,29 @@ components: type: array readOnly: true items: - $ref: '#/components/schemas/LogEvent' + $ref: "#/components/schemas/LogEvent" flux: description: Flux used for the task type: string readOnly: true startedAt: readOnly: true - description: 'The time ([RFC3339Nano date/time format](https://go.dev/src/time/format.go)) the run started executing.' + description: "The time ([RFC3339Nano date/time format](https://go.dev/src/time/format.go)) the run started executing." type: string format: date-time - example: '2006-01-02T15:04:05.999999999Z07:00' + example: "2006-01-02T15:04:05.999999999Z07:00" finishedAt: readOnly: true - description: 'The time ([RFC3339Nano date/time format](https://go.dev/src/time/format.go)) the run finished executing.' + description: "The time ([RFC3339Nano date/time format](https://go.dev/src/time/format.go)) the run finished executing." type: string format: date-time - example: '2006-01-02T15:04:05.999999999Z07:00' + example: "2006-01-02T15:04:05.999999999Z07:00" requestedAt: readOnly: true - description: 'The time ([RFC3339Nano date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339nano-timestamp)) the run was manually requested.' + description: "The time ([RFC3339Nano date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339nano-timestamp)) the run was manually requested." type: string format: date-time - example: '2006-01-02T15:04:05.999999999Z07:00' + example: "2006-01-02T15:04:05.999999999Z07:00" links: type: object readOnly: true @@ -13452,7 +13452,7 @@ components: additionalProperties: true ResourceMember: allOf: - - $ref: '#/components/schemas/UserResponse' + - $ref: "#/components/schemas/UserResponse" - type: object properties: role: @@ -13472,10 +13472,10 @@ components: users: type: array items: - $ref: '#/components/schemas/ResourceMember' + $ref: "#/components/schemas/ResourceMember" ResourceOwner: allOf: - - $ref: '#/components/schemas/UserResponse' + - $ref: "#/components/schemas/UserResponse" - type: object properties: role: @@ -13495,14 +13495,14 @@ components: users: type: array items: - $ref: '#/components/schemas/ResourceOwner' + $ref: "#/components/schemas/ResourceOwner" FluxSuggestions: type: object properties: funcs: type: array items: - $ref: '#/components/schemas/FluxSuggestion' + $ref: "#/components/schemas/FluxSuggestion" FluxSuggestion: type: object properties: @@ -13680,7 +13680,7 @@ components: description: value is the value of the field. Meaning of the value is implied by the `type` key type: string type: - description: '`type` describes the field type. `func` is a function. `field` is a field reference.' + description: "`type` describes the field type. `func` is a function. `field` is a field reference." type: string enum: - func @@ -13696,7 +13696,7 @@ components: description: Args are the arguments to the function type: array items: - $ref: '#/components/schemas/Field' + $ref: "#/components/schemas/Field" BuilderConfig: type: object properties: @@ -13707,11 +13707,11 @@ components: tags: type: array items: - $ref: '#/components/schemas/BuilderTagsType' + $ref: "#/components/schemas/BuilderTagsType" functions: type: array items: - $ref: '#/components/schemas/BuilderFunctionsType' + $ref: "#/components/schemas/BuilderFunctionsType" aggregateWindow: type: object properties: @@ -13729,7 +13729,7 @@ components: items: type: string aggregateFunctionType: - $ref: '#/components/schemas/BuilderAggregateFunctionType' + $ref: "#/components/schemas/BuilderAggregateFunctionType" BuilderAggregateFunctionType: type: string enum: @@ -13747,11 +13747,11 @@ components: type: string description: The text of the Flux query. editMode: - $ref: '#/components/schemas/QueryEditMode' + $ref: "#/components/schemas/QueryEditMode" name: type: string builderConfig: - $ref: '#/components/schemas/BuilderConfig' + $ref: "#/components/schemas/BuilderConfig" QueryEditMode: type: string enum: @@ -13765,7 +13765,7 @@ components: type: array minItems: 0 maxItems: 2 - description: 'The extents of the axis in the form [lower, upper]. Clients determine whether bounds are inclusive or exclusive of their limits.' + description: "The extents of the axis in the form [lower, upper]. Clients determine whether bounds are inclusive or exclusive of their limits." items: type: string label: @@ -13781,11 +13781,11 @@ components: description: Radix for formatting axis values. type: string enum: - - '' - - '2' - - '10' + - "" + - "2" + - "10" scale: - $ref: '#/components/schemas/AxisScale' + $ref: "#/components/schemas/AxisScale" AxisScale: description: 'Scale is the axis formatting scale. Supported: "log", "linear"' type: string @@ -13865,15 +13865,15 @@ components: queries: type: array items: - $ref: '#/components/schemas/DashboardQuery' + $ref: "#/components/schemas/DashboardQuery" colors: description: Colors define color encoding of data into a visualization type: array items: - $ref: '#/components/schemas/DashboardColor' + $ref: "#/components/schemas/DashboardColor" colorMapping: description: An object that contains information about the color mapping - $ref: '#/components/schemas/ColorMapping' + $ref: "#/components/schemas/ColorMapping" shape: type: string enum: @@ -13881,12 +13881,12 @@ components: note: type: string showNoteWhenEmpty: - description: 'If true, will display note when empty' + description: "If true, will display note when empty" type: boolean axes: - $ref: '#/components/schemas/Axes' + $ref: "#/components/schemas/Axes" staticLegend: - $ref: '#/components/schemas/StaticLegend' + $ref: "#/components/schemas/StaticLegend" xColumn: type: string generateXAxisTicks: @@ -13922,7 +13922,7 @@ components: enum: - auto - x - - 'y' + - "y" - xy position: type: string @@ -13930,7 +13930,7 @@ components: - overlaid - stacked geom: - $ref: '#/components/schemas/XYGeom' + $ref: "#/components/schemas/XYGeom" legendColorizeRows: type: boolean legendHide: @@ -13973,12 +13973,12 @@ components: queries: type: array items: - $ref: '#/components/schemas/DashboardQuery' + $ref: "#/components/schemas/DashboardQuery" colors: description: Colors define color encoding of data into a visualization type: array items: - $ref: '#/components/schemas/DashboardColor' + $ref: "#/components/schemas/DashboardColor" shape: type: string enum: @@ -13986,12 +13986,12 @@ components: note: type: string showNoteWhenEmpty: - description: 'If true, will display note when empty' + description: "If true, will display note when empty" type: boolean axes: - $ref: '#/components/schemas/Axes' + $ref: "#/components/schemas/Axes" staticLegend: - $ref: '#/components/schemas/StaticLegend' + $ref: "#/components/schemas/StaticLegend" xColumn: type: string generateXAxisTicks: @@ -14031,10 +14031,10 @@ components: enum: - auto - x - - 'y' + - "y" - xy geom: - $ref: '#/components/schemas/XYGeom' + $ref: "#/components/schemas/XYGeom" legendColorizeRows: type: boolean legendHide: @@ -14070,12 +14070,12 @@ components: queries: type: array items: - $ref: '#/components/schemas/DashboardQuery' + $ref: "#/components/schemas/DashboardQuery" colors: description: Colors define color encoding of data into a visualization type: array items: - $ref: '#/components/schemas/DashboardColor' + $ref: "#/components/schemas/DashboardColor" shape: type: string enum: @@ -14083,12 +14083,12 @@ components: note: type: string showNoteWhenEmpty: - description: 'If true, will display note when empty' + description: "If true, will display note when empty" type: boolean axes: - $ref: '#/components/schemas/Axes' + $ref: "#/components/schemas/Axes" staticLegend: - $ref: '#/components/schemas/StaticLegend' + $ref: "#/components/schemas/StaticLegend" xColumn: type: string generateXAxisTicks: @@ -14124,7 +14124,7 @@ components: enum: - auto - x - - 'y' + - "y" - xy position: type: string @@ -14136,7 +14136,7 @@ components: suffix: type: string decimalPlaces: - $ref: '#/components/schemas/DecimalPlaces' + $ref: "#/components/schemas/DecimalPlaces" legendColorizeRows: type: boolean legendHide: @@ -14176,7 +14176,7 @@ components: queries: type: array items: - $ref: '#/components/schemas/DashboardQuery' + $ref: "#/components/schemas/DashboardQuery" colors: description: Colors define color encoding of data into a visualization type: array @@ -14189,7 +14189,7 @@ components: note: type: string showNoteWhenEmpty: - description: 'If true, will display note when empty' + description: "If true, will display note when empty" type: boolean xColumn: type: string @@ -14246,7 +14246,7 @@ components: enum: - auto - x - - 'y' + - "y" - xy legendColorizeRows: type: boolean @@ -14290,7 +14290,7 @@ components: queries: type: array items: - $ref: '#/components/schemas/DashboardQuery' + $ref: "#/components/schemas/DashboardQuery" colors: description: Colors define color encoding of data into a visualization type: array @@ -14303,7 +14303,7 @@ components: note: type: string showNoteWhenEmpty: - description: 'If true, will display note when empty' + description: "If true, will display note when empty" type: boolean xColumn: type: string @@ -14404,7 +14404,7 @@ components: queries: type: array items: - $ref: '#/components/schemas/DashboardQuery' + $ref: "#/components/schemas/DashboardQuery" colors: description: Colors define color encoding of data into a visualization type: array @@ -14417,7 +14417,7 @@ components: note: type: string showNoteWhenEmpty: - description: 'If true, will display note when empty' + description: "If true, will display note when empty" type: boolean xColumn: type: string @@ -14502,12 +14502,12 @@ components: queries: type: array items: - $ref: '#/components/schemas/DashboardQuery' + $ref: "#/components/schemas/DashboardQuery" colors: description: Colors define color encoding of data into a visualization type: array items: - $ref: '#/components/schemas/DashboardColor' + $ref: "#/components/schemas/DashboardColor" shape: type: string enum: @@ -14515,7 +14515,7 @@ components: note: type: string showNoteWhenEmpty: - description: 'If true, will display note when empty' + description: "If true, will display note when empty" type: boolean prefix: type: string @@ -14526,9 +14526,9 @@ components: tickSuffix: type: string staticLegend: - $ref: '#/components/schemas/StaticLegend' + $ref: "#/components/schemas/StaticLegend" decimalPlaces: - $ref: '#/components/schemas/DecimalPlaces' + $ref: "#/components/schemas/DecimalPlaces" HistogramViewProperties: type: object required: @@ -14552,12 +14552,12 @@ components: queries: type: array items: - $ref: '#/components/schemas/DashboardQuery' + $ref: "#/components/schemas/DashboardQuery" colors: description: Colors define color encoding of data into a visualization type: array items: - $ref: '#/components/schemas/DashboardColor' + $ref: "#/components/schemas/DashboardColor" shape: type: string enum: @@ -14565,7 +14565,7 @@ components: note: type: string showNoteWhenEmpty: - description: 'If true, will display note when empty' + description: "If true, will display note when empty" type: boolean xColumn: type: string @@ -14618,12 +14618,12 @@ components: queries: type: array items: - $ref: '#/components/schemas/DashboardQuery' + $ref: "#/components/schemas/DashboardQuery" colors: description: Colors define color encoding of data into a visualization type: array items: - $ref: '#/components/schemas/DashboardColor' + $ref: "#/components/schemas/DashboardColor" shape: type: string enum: @@ -14631,7 +14631,7 @@ components: note: type: string showNoteWhenEmpty: - description: 'If true, will display note when empty' + description: "If true, will display note when empty" type: boolean prefix: type: string @@ -14642,7 +14642,7 @@ components: tickSuffix: type: string decimalPlaces: - $ref: '#/components/schemas/DecimalPlaces' + $ref: "#/components/schemas/DecimalPlaces" TableViewProperties: type: object required: @@ -14664,12 +14664,12 @@ components: queries: type: array items: - $ref: '#/components/schemas/DashboardQuery' + $ref: "#/components/schemas/DashboardQuery" colors: description: Colors define color encoding of data into a visualization type: array items: - $ref: '#/components/schemas/DashboardColor' + $ref: "#/components/schemas/DashboardColor" shape: type: string enum: @@ -14677,7 +14677,7 @@ components: note: type: string showNoteWhenEmpty: - description: 'If true, will display note when empty' + description: "If true, will display note when empty" type: boolean tableOptions: type: object @@ -14686,7 +14686,7 @@ components: description: verticalTimeAxis describes the orientation of the table by indicating whether the time axis will be displayed vertically type: boolean sortBy: - $ref: '#/components/schemas/RenamableField' + $ref: "#/components/schemas/RenamableField" wrapping: description: Wrapping describes the text wrapping style to be used in table views type: string @@ -14701,12 +14701,12 @@ components: description: fieldOptions represent the fields retrieved by the query with customization options type: array items: - $ref: '#/components/schemas/RenamableField' + $ref: "#/components/schemas/RenamableField" timeFormat: description: timeFormat describes the display format for time values according to moment.js date formatting type: string decimalPlaces: - $ref: '#/components/schemas/DecimalPlaces' + $ref: "#/components/schemas/DecimalPlaces" SimpleTableViewProperties: type: object required: @@ -14726,7 +14726,7 @@ components: queries: type: array items: - $ref: '#/components/schemas/DashboardQuery' + $ref: "#/components/schemas/DashboardQuery" shape: type: string enum: @@ -14734,7 +14734,7 @@ components: note: type: string showNoteWhenEmpty: - description: 'If true, will display note when empty' + description: "If true, will display note when empty" type: boolean MarkdownViewProperties: type: object @@ -14775,16 +14775,16 @@ components: checkID: type: string check: - $ref: '#/components/schemas/Check' + $ref: "#/components/schemas/Check" queries: type: array items: - $ref: '#/components/schemas/DashboardQuery' + $ref: "#/components/schemas/DashboardQuery" colors: description: Colors define color encoding of data into a visualization type: array items: - $ref: '#/components/schemas/DashboardColor' + $ref: "#/components/schemas/DashboardColor" legendColorizeRows: type: boolean legendHide: @@ -14797,10 +14797,10 @@ components: GeoViewLayer: type: object oneOf: - - $ref: '#/components/schemas/GeoCircleViewLayer' - - $ref: '#/components/schemas/GeoHeatMapViewLayer' - - $ref: '#/components/schemas/GeoPointMapViewLayer' - - $ref: '#/components/schemas/GeoTrackMapViewLayer' + - $ref: "#/components/schemas/GeoCircleViewLayer" + - $ref: "#/components/schemas/GeoHeatMapViewLayer" + - $ref: "#/components/schemas/GeoPointMapViewLayer" + - $ref: "#/components/schemas/GeoTrackMapViewLayer" GeoViewLayerProperties: type: object required: @@ -14815,7 +14815,7 @@ components: - trackMap GeoCircleViewLayer: allOf: - - $ref: '#/components/schemas/GeoViewLayerProperties' + - $ref: "#/components/schemas/GeoViewLayerProperties" - type: object required: - radiusField @@ -14828,17 +14828,17 @@ components: type: string description: Radius field radiusDimension: - $ref: '#/components/schemas/Axis' + $ref: "#/components/schemas/Axis" colorField: type: string description: Circle color field colorDimension: - $ref: '#/components/schemas/Axis' + $ref: "#/components/schemas/Axis" colors: description: Colors define color encoding of data into a visualization type: array items: - $ref: '#/components/schemas/DashboardColor' + $ref: "#/components/schemas/DashboardColor" radius: description: Maximum radius size in pixels type: integer @@ -14847,7 +14847,7 @@ components: type: boolean GeoPointMapViewLayer: allOf: - - $ref: '#/components/schemas/GeoViewLayerProperties' + - $ref: "#/components/schemas/GeoViewLayerProperties" - type: object required: - colorField @@ -14858,12 +14858,12 @@ components: type: string description: Marker color field colorDimension: - $ref: '#/components/schemas/Axis' + $ref: "#/components/schemas/Axis" colors: description: Colors define color encoding of data into a visualization type: array items: - $ref: '#/components/schemas/DashboardColor' + $ref: "#/components/schemas/DashboardColor" isClustered: description: Cluster close markers together type: boolean @@ -14874,7 +14874,7 @@ components: type: string GeoTrackMapViewLayer: allOf: - - $ref: '#/components/schemas/GeoViewLayerProperties' + - $ref: "#/components/schemas/GeoViewLayerProperties" - type: object required: - trackWidth @@ -14895,10 +14895,10 @@ components: description: Colors define color encoding of data into a visualization type: array items: - $ref: '#/components/schemas/DashboardColor' + $ref: "#/components/schemas/DashboardColor" GeoHeatMapViewLayer: allOf: - - $ref: '#/components/schemas/GeoViewLayerProperties' + - $ref: "#/components/schemas/GeoViewLayerProperties" - type: object required: - intensityField @@ -14911,7 +14911,7 @@ components: type: string description: Intensity field intensityDimension: - $ref: '#/components/schemas/Axis' + $ref: "#/components/schemas/Axis" radius: description: Radius size in pixels type: integer @@ -14922,7 +14922,7 @@ components: description: Colors define color encoding of data into a visualization type: array items: - $ref: '#/components/schemas/DashboardColor' + $ref: "#/components/schemas/DashboardColor" GeoViewProperties: type: object required: @@ -14944,7 +14944,7 @@ components: queries: type: array items: - $ref: '#/components/schemas/DashboardQuery' + $ref: "#/components/schemas/DashboardQuery" shape: type: string enum: @@ -14971,39 +14971,39 @@ components: minimum: 1 maximum: 28 allowPanAndZoom: - description: 'If true, map zoom and pan controls are enabled on the dashboard view' + description: "If true, map zoom and pan controls are enabled on the dashboard view" type: boolean default: true detectCoordinateFields: - description: 'If true, search results get automatically regroupped so that lon,lat and value are treated as columns' + description: "If true, search results get automatically regroupped so that lon,lat and value are treated as columns" type: boolean default: true useS2CellID: - description: 'If true, S2 column is used to calculate lat/lon' + description: "If true, S2 column is used to calculate lat/lon" type: boolean s2Column: description: String to define the column type: string latLonColumns: - $ref: '#/components/schemas/LatLonColumns' + $ref: "#/components/schemas/LatLonColumns" mapStyle: - description: 'Define map type - regular, satellite etc.' + description: "Define map type - regular, satellite etc." type: string note: type: string showNoteWhenEmpty: - description: 'If true, will display note when empty' + description: "If true, will display note when empty" type: boolean colors: description: Colors define color encoding of data into a visualization type: array items: - $ref: '#/components/schemas/DashboardColor' + $ref: "#/components/schemas/DashboardColor" layers: description: List of individual layers shown in the map type: array items: - $ref: '#/components/schemas/GeoViewLayer' + $ref: "#/components/schemas/GeoViewLayer" LatLonColumns: description: Object type to define lat/lon columns type: object @@ -15012,9 +15012,9 @@ components: - lon properties: lat: - $ref: '#/components/schemas/LatLonColumn' + $ref: "#/components/schemas/LatLonColumn" lon: - $ref: '#/components/schemas/LatLonColumn' + $ref: "#/components/schemas/LatLonColumn" LatLonColumn: description: Object type for key and column definitions type: object @@ -15033,12 +15033,12 @@ components: type: object required: - x - - 'y' + - "y" properties: x: - $ref: '#/components/schemas/Axis' - 'y': - $ref: '#/components/schemas/Axis' + $ref: "#/components/schemas/Axis" + "y": + $ref: "#/components/schemas/Axis" StaticLegend: description: StaticLegend represents the options specific to the static legend type: object @@ -15061,7 +15061,7 @@ components: type: number format: float DecimalPlaces: - description: 'Indicates whether decimal places should be enforced, and how many digits it should show.' + description: "Indicates whether decimal places should be enforced, and how many digits it should show." type: object properties: isEnforced: @@ -15107,25 +15107,25 @@ components: VariableProperties: type: object oneOf: - - $ref: '#/components/schemas/QueryVariableProperties' - - $ref: '#/components/schemas/ConstantVariableProperties' - - $ref: '#/components/schemas/MapVariableProperties' + - $ref: "#/components/schemas/QueryVariableProperties" + - $ref: "#/components/schemas/ConstantVariableProperties" + - $ref: "#/components/schemas/MapVariableProperties" ViewProperties: oneOf: - - $ref: '#/components/schemas/LinePlusSingleStatProperties' - - $ref: '#/components/schemas/XYViewProperties' - - $ref: '#/components/schemas/SingleStatViewProperties' - - $ref: '#/components/schemas/HistogramViewProperties' - - $ref: '#/components/schemas/GaugeViewProperties' - - $ref: '#/components/schemas/TableViewProperties' - - $ref: '#/components/schemas/SimpleTableViewProperties' - - $ref: '#/components/schemas/MarkdownViewProperties' - - $ref: '#/components/schemas/CheckViewProperties' - - $ref: '#/components/schemas/ScatterViewProperties' - - $ref: '#/components/schemas/HeatmapViewProperties' - - $ref: '#/components/schemas/MosaicViewProperties' - - $ref: '#/components/schemas/BandViewProperties' - - $ref: '#/components/schemas/GeoViewProperties' + - $ref: "#/components/schemas/LinePlusSingleStatProperties" + - $ref: "#/components/schemas/XYViewProperties" + - $ref: "#/components/schemas/SingleStatViewProperties" + - $ref: "#/components/schemas/HistogramViewProperties" + - $ref: "#/components/schemas/GaugeViewProperties" + - $ref: "#/components/schemas/TableViewProperties" + - $ref: "#/components/schemas/SimpleTableViewProperties" + - $ref: "#/components/schemas/MarkdownViewProperties" + - $ref: "#/components/schemas/CheckViewProperties" + - $ref: "#/components/schemas/ScatterViewProperties" + - $ref: "#/components/schemas/HeatmapViewProperties" + - $ref: "#/components/schemas/MosaicViewProperties" + - $ref: "#/components/schemas/BandViewProperties" + - $ref: "#/components/schemas/GeoViewProperties" View: required: - name @@ -15143,7 +15143,7 @@ components: name: type: string properties: - $ref: '#/components/schemas/ViewProperties' + $ref: "#/components/schemas/ViewProperties" Views: type: object properties: @@ -15155,14 +15155,14 @@ components: views: type: array items: - $ref: '#/components/schemas/View' + $ref: "#/components/schemas/View" CellUpdate: type: object properties: x: type: integer format: int32 - 'y': + "y": type: integer format: int32 w: @@ -15179,7 +15179,7 @@ components: x: type: integer format: int32 - 'y': + "y": type: integer format: int32 w: @@ -15210,13 +15210,13 @@ components: CellWithViewProperties: type: object allOf: - - $ref: '#/components/schemas/Cell' + - $ref: "#/components/schemas/Cell" - type: object properties: name: type: string properties: - $ref: '#/components/schemas/ViewProperties' + $ref: "#/components/schemas/ViewProperties" Cell: type: object properties: @@ -15232,7 +15232,7 @@ components: x: type: integer format: int32 - 'y': + "y": type: integer format: int32 w: @@ -15247,11 +15247,11 @@ components: CellsWithViewProperties: type: array items: - $ref: '#/components/schemas/CellWithViewProperties' + $ref: "#/components/schemas/CellWithViewProperties" Cells: type: array items: - $ref: '#/components/schemas/Cell' + $ref: "#/components/schemas/Cell" Secrets: additionalProperties: type: string @@ -15266,7 +15266,7 @@ components: type: string SecretKeysResponse: allOf: - - $ref: '#/components/schemas/SecretKeys' + - $ref: "#/components/schemas/SecretKeys" - type: object properties: links: @@ -15294,7 +15294,7 @@ components: DashboardWithViewProperties: type: object allOf: - - $ref: '#/components/schemas/CreateDashboardRequest' + - $ref: "#/components/schemas/CreateDashboardRequest" - type: object properties: links: @@ -15308,17 +15308,17 @@ components: org: /api/v2/labels/1 properties: self: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" cells: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" members: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" owners: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" labels: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" org: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" id: readOnly: true type: string @@ -15332,13 +15332,13 @@ components: type: string format: date-time cells: - $ref: '#/components/schemas/CellsWithViewProperties' + $ref: "#/components/schemas/CellsWithViewProperties" labels: - $ref: '#/components/schemas/Labels' + $ref: "#/components/schemas/Labels" Dashboard: type: object allOf: - - $ref: '#/components/schemas/CreateDashboardRequest' + - $ref: "#/components/schemas/CreateDashboardRequest" - type: object properties: links: @@ -15352,17 +15352,17 @@ components: org: /api/v2/labels/1 properties: self: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" cells: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" members: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" owners: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" labels: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" org: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" id: readOnly: true type: string @@ -15376,18 +15376,18 @@ components: type: string format: date-time cells: - $ref: '#/components/schemas/Cells' + $ref: "#/components/schemas/Cells" labels: - $ref: '#/components/schemas/Labels' + $ref: "#/components/schemas/Labels" Dashboards: type: object properties: links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" dashboards: type: array items: - $ref: '#/components/schemas/Dashboard' + $ref: "#/components/schemas/Dashboard" TelegrafRequest: type: object properties: @@ -15442,7 +15442,7 @@ components: Telegraf: type: object allOf: - - $ref: '#/components/schemas/TelegrafRequest' + - $ref: "#/components/schemas/TelegrafRequest" - type: object properties: id: @@ -15458,23 +15458,23 @@ components: members: /api/v2/telegrafs/1/members properties: self: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" labels: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" members: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" owners: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" labels: readOnly: true - $ref: '#/components/schemas/Labels' + $ref: "#/components/schemas/Labels" Telegrafs: type: object properties: configurations: type: array items: - $ref: '#/components/schemas/Telegraf' + $ref: "#/components/schemas/Telegraf" TelegrafPlugin: type: object properties: @@ -15496,7 +15496,7 @@ components: plugins: type: array items: - $ref: '#/components/schemas/TelegrafPlugin' + $ref: "#/components/schemas/TelegrafPlugin" IsOnboarding: type: object properties: @@ -15534,7 +15534,7 @@ components: started: type: string format: date-time - example: '2019-03-13T10:09:33.891196-04:00' + example: "2019-03-13T10:09:33.891196-04:00" up: type: string example: 14m45.911966424s @@ -15551,7 +15551,7 @@ components: checks: type: array items: - $ref: '#/components/schemas/HealthCheck' + $ref: "#/components/schemas/HealthCheck" status: type: string enum: @@ -15564,7 +15564,7 @@ components: Labels: type: array items: - $ref: '#/components/schemas/Label' + $ref: "#/components/schemas/Label" Label: type: object properties: @@ -15635,22 +15635,22 @@ components: type: object properties: labels: - $ref: '#/components/schemas/Labels' + $ref: "#/components/schemas/Labels" links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" LabelResponse: type: object properties: label: - $ref: '#/components/schemas/Label' + $ref: "#/components/schemas/Label" links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" ASTResponse: description: Contains the AST for the supplied Flux query type: object properties: ast: - $ref: '#/components/schemas/Package' + $ref: "#/components/schemas/Package" WritePrecision: type: string enum: @@ -15677,29 +15677,29 @@ components: - inactive CheckDiscriminator: oneOf: - - $ref: '#/components/schemas/DeadmanCheck' - - $ref: '#/components/schemas/ThresholdCheck' - - $ref: '#/components/schemas/CustomCheck' + - $ref: "#/components/schemas/DeadmanCheck" + - $ref: "#/components/schemas/ThresholdCheck" + - $ref: "#/components/schemas/CustomCheck" discriminator: propertyName: type mapping: - deadman: '#/components/schemas/DeadmanCheck' - threshold: '#/components/schemas/ThresholdCheck' - custom: '#/components/schemas/CustomCheck' + deadman: "#/components/schemas/DeadmanCheck" + threshold: "#/components/schemas/ThresholdCheck" + custom: "#/components/schemas/CustomCheck" Check: allOf: - - $ref: '#/components/schemas/CheckDiscriminator' + - $ref: "#/components/schemas/CheckDiscriminator" PostCheck: allOf: - - $ref: '#/components/schemas/CheckDiscriminator' + - $ref: "#/components/schemas/CheckDiscriminator" Checks: properties: checks: type: array items: - $ref: '#/components/schemas/Check' + $ref: "#/components/schemas/Check" links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" CheckBase: properties: id: @@ -15726,15 +15726,15 @@ components: format: date-time readOnly: true query: - $ref: '#/components/schemas/DashboardQuery' + $ref: "#/components/schemas/DashboardQuery" status: - $ref: '#/components/schemas/TaskStatusType' + $ref: "#/components/schemas/TaskStatusType" description: description: An optional description of the check. type: string latestCompleted: type: string - description: 'A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339-timestamp)) of the latest scheduled and completed run.' + description: "A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339-timestamp)) of the latest scheduled and completed run." format: date-time readOnly: true lastRunStatus: @@ -15748,7 +15748,7 @@ components: readOnly: true type: string labels: - $ref: '#/components/schemas/Labels' + $ref: "#/components/schemas/Labels" links: type: object readOnly: true @@ -15761,26 +15761,26 @@ components: properties: self: description: URL for this check - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" labels: description: URL to retrieve labels for this check - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" members: description: URL to retrieve members for this check - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" owners: description: URL to retrieve owners for this check - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" query: description: URL to retrieve flux script for this check - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" required: - name - orgID - query ThresholdCheck: allOf: - - $ref: '#/components/schemas/CheckBase' + - $ref: "#/components/schemas/CheckBase" - type: object required: - type @@ -15792,12 +15792,12 @@ components: thresholds: type: array items: - $ref: '#/components/schemas/Threshold' + $ref: "#/components/schemas/Threshold" every: description: Check repetition interval. type: string offset: - description: 'Duration to delay after the schedule, before executing check.' + description: "Duration to delay after the schedule, before executing check." type: string tags: description: List of tags to write to each status. @@ -15814,18 +15814,18 @@ components: type: string Threshold: oneOf: - - $ref: '#/components/schemas/GreaterThreshold' - - $ref: '#/components/schemas/LesserThreshold' - - $ref: '#/components/schemas/RangeThreshold' + - $ref: "#/components/schemas/GreaterThreshold" + - $ref: "#/components/schemas/LesserThreshold" + - $ref: "#/components/schemas/RangeThreshold" discriminator: propertyName: type mapping: - greater: '#/components/schemas/GreaterThreshold' - lesser: '#/components/schemas/LesserThreshold' - range: '#/components/schemas/RangeThreshold' + greater: "#/components/schemas/GreaterThreshold" + lesser: "#/components/schemas/LesserThreshold" + range: "#/components/schemas/RangeThreshold" DeadmanCheck: allOf: - - $ref: '#/components/schemas/CheckBase' + - $ref: "#/components/schemas/CheckBase" - type: object required: - type @@ -15841,15 +15841,15 @@ components: description: String duration for time that a series is considered stale and should not trigger deadman. type: string reportZero: - description: 'If only zero values reported since time, trigger an alert' + description: "If only zero values reported since time, trigger an alert" type: boolean level: - $ref: '#/components/schemas/CheckStatusLevel' + $ref: "#/components/schemas/CheckStatusLevel" every: description: Check repetition interval. type: string offset: - description: 'Duration to delay after the schedule, before executing check.' + description: "Duration to delay after the schedule, before executing check." type: string tags: description: List of tags to write to each status. @@ -15866,7 +15866,7 @@ components: type: string CustomCheck: allOf: - - $ref: '#/components/schemas/CheckBase' + - $ref: "#/components/schemas/CheckBase" - type: object properties: type: @@ -15878,13 +15878,13 @@ components: ThresholdBase: properties: level: - $ref: '#/components/schemas/CheckStatusLevel' + $ref: "#/components/schemas/CheckStatusLevel" allValues: - description: 'If true, only alert if all values meet threshold.' + description: "If true, only alert if all values meet threshold." type: boolean GreaterThreshold: allOf: - - $ref: '#/components/schemas/ThresholdBase' + - $ref: "#/components/schemas/ThresholdBase" - type: object required: - type @@ -15899,7 +15899,7 @@ components: format: float LesserThreshold: allOf: - - $ref: '#/components/schemas/ThresholdBase' + - $ref: "#/components/schemas/ThresholdBase" - type: object required: - type @@ -15914,7 +15914,7 @@ components: format: float RangeThreshold: allOf: - - $ref: '#/components/schemas/ThresholdBase' + - $ref: "#/components/schemas/ThresholdBase" - type: object required: - type @@ -15967,33 +15967,33 @@ components: - inactive NotificationRuleDiscriminator: oneOf: - - $ref: '#/components/schemas/SlackNotificationRule' - - $ref: '#/components/schemas/SMTPNotificationRule' - - $ref: '#/components/schemas/PagerDutyNotificationRule' - - $ref: '#/components/schemas/HTTPNotificationRule' - - $ref: '#/components/schemas/TelegramNotificationRule' + - $ref: "#/components/schemas/SlackNotificationRule" + - $ref: "#/components/schemas/SMTPNotificationRule" + - $ref: "#/components/schemas/PagerDutyNotificationRule" + - $ref: "#/components/schemas/HTTPNotificationRule" + - $ref: "#/components/schemas/TelegramNotificationRule" discriminator: propertyName: type mapping: - slack: '#/components/schemas/SlackNotificationRule' - smtp: '#/components/schemas/SMTPNotificationRule' - pagerduty: '#/components/schemas/PagerDutyNotificationRule' - http: '#/components/schemas/HTTPNotificationRule' - telegram: '#/components/schemas/TelegramNotificationRule' + slack: "#/components/schemas/SlackNotificationRule" + smtp: "#/components/schemas/SMTPNotificationRule" + pagerduty: "#/components/schemas/PagerDutyNotificationRule" + http: "#/components/schemas/HTTPNotificationRule" + telegram: "#/components/schemas/TelegramNotificationRule" NotificationRule: allOf: - - $ref: '#/components/schemas/NotificationRuleDiscriminator' + - $ref: "#/components/schemas/NotificationRuleDiscriminator" PostNotificationRule: allOf: - - $ref: '#/components/schemas/NotificationRuleDiscriminator' + - $ref: "#/components/schemas/NotificationRuleDiscriminator" NotificationRules: properties: notificationRules: type: array items: - $ref: '#/components/schemas/NotificationRule' + $ref: "#/components/schemas/NotificationRule" links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" NotificationRuleBase: type: object required: @@ -16004,7 +16004,7 @@ components: - endpointID properties: latestCompleted: - description: 'A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339-timestamp)) of the latest scheduled and completed run.' + description: "A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339-timestamp)) of the latest scheduled and completed run." type: string format: date-time readOnly: true @@ -16042,7 +16042,7 @@ components: format: date-time readOnly: true status: - $ref: '#/components/schemas/TaskStatusType' + $ref: "#/components/schemas/TaskStatusType" name: description: Human-readable name describing the notification rule. type: string @@ -16052,21 +16052,21 @@ components: description: The notification repetition interval. type: string offset: - description: 'Duration to delay after the schedule, before executing check.' + description: "Duration to delay after the schedule, before executing check." type: string runbookLink: type: string limitEvery: - description: 'Don''t notify me more than times every seconds. If set, limit cannot be empty.' + description: "Don't notify me more than times every seconds. If set, limit cannot be empty." type: integer limit: - description: 'Don''t notify me more than times every seconds. If set, limitEvery cannot be empty.' + description: "Don't notify me more than times every seconds. If set, limitEvery cannot be empty." type: integer tagRules: description: List of tag rules the notification rule attempts to match. type: array items: - $ref: '#/components/schemas/TagRule' + $ref: "#/components/schemas/TagRule" description: description: An optional description of the notification rule. type: string @@ -16075,9 +16075,9 @@ components: type: array minItems: 1 items: - $ref: '#/components/schemas/StatusRule' + $ref: "#/components/schemas/StatusRule" labels: - $ref: '#/components/schemas/Labels' + $ref: "#/components/schemas/Labels" links: type: object readOnly: true @@ -16090,19 +16090,19 @@ components: properties: self: description: URL for this endpoint. - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" labels: description: URL to retrieve labels for this notification rule. - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" members: description: URL to retrieve members for this notification rule. - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" owners: description: URL to retrieve owners for this notification rule. - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" query: description: URL to retrieve flux script for this notification rule. - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" TagRule: type: object properties: @@ -16121,9 +16121,9 @@ components: type: object properties: currentLevel: - $ref: '#/components/schemas/RuleStatusLevel' + $ref: "#/components/schemas/RuleStatusLevel" previousLevel: - $ref: '#/components/schemas/RuleStatusLevel' + $ref: "#/components/schemas/RuleStatusLevel" count: type: integer period: @@ -16141,8 +16141,8 @@ components: type: string HTTPNotificationRule: allOf: - - $ref: '#/components/schemas/NotificationRuleBase' - - $ref: '#/components/schemas/HTTPNotificationRuleBase' + - $ref: "#/components/schemas/NotificationRuleBase" + - $ref: "#/components/schemas/HTTPNotificationRuleBase" SlackNotificationRuleBase: type: object required: @@ -16159,12 +16159,12 @@ components: type: string SlackNotificationRule: allOf: - - $ref: '#/components/schemas/NotificationRuleBase' - - $ref: '#/components/schemas/SlackNotificationRuleBase' + - $ref: "#/components/schemas/NotificationRuleBase" + - $ref: "#/components/schemas/SlackNotificationRuleBase" SMTPNotificationRule: allOf: - - $ref: '#/components/schemas/NotificationRuleBase' - - $ref: '#/components/schemas/SMTPNotificationRuleBase' + - $ref: "#/components/schemas/NotificationRuleBase" + - $ref: "#/components/schemas/SMTPNotificationRuleBase" SMTPNotificationRuleBase: type: object required: @@ -16184,8 +16184,8 @@ components: type: string PagerDutyNotificationRule: allOf: - - $ref: '#/components/schemas/NotificationRuleBase' - - $ref: '#/components/schemas/PagerDutyNotificationRuleBase' + - $ref: "#/components/schemas/NotificationRuleBase" + - $ref: "#/components/schemas/PagerDutyNotificationRuleBase" PagerDutyNotificationRuleBase: type: object required: @@ -16200,8 +16200,8 @@ components: type: string TelegramNotificationRule: allOf: - - $ref: '#/components/schemas/NotificationRuleBase' - - $ref: '#/components/schemas/TelegramNotificationRuleBase' + - $ref: "#/components/schemas/NotificationRuleBase" + - $ref: "#/components/schemas/TelegramNotificationRuleBase" TelegramNotificationRuleBase: type: object required: @@ -16241,31 +16241,31 @@ components: - inactive NotificationEndpointDiscriminator: oneOf: - - $ref: '#/components/schemas/SlackNotificationEndpoint' - - $ref: '#/components/schemas/PagerDutyNotificationEndpoint' - - $ref: '#/components/schemas/HTTPNotificationEndpoint' - - $ref: '#/components/schemas/TelegramNotificationEndpoint' + - $ref: "#/components/schemas/SlackNotificationEndpoint" + - $ref: "#/components/schemas/PagerDutyNotificationEndpoint" + - $ref: "#/components/schemas/HTTPNotificationEndpoint" + - $ref: "#/components/schemas/TelegramNotificationEndpoint" discriminator: propertyName: type mapping: - slack: '#/components/schemas/SlackNotificationEndpoint' - pagerduty: '#/components/schemas/PagerDutyNotificationEndpoint' - http: '#/components/schemas/HTTPNotificationEndpoint' - telegram: '#/components/schemas/TelegramNotificationEndpoint' + slack: "#/components/schemas/SlackNotificationEndpoint" + pagerduty: "#/components/schemas/PagerDutyNotificationEndpoint" + http: "#/components/schemas/HTTPNotificationEndpoint" + telegram: "#/components/schemas/TelegramNotificationEndpoint" NotificationEndpoint: allOf: - - $ref: '#/components/schemas/NotificationEndpointDiscriminator' + - $ref: "#/components/schemas/NotificationEndpointDiscriminator" PostNotificationEndpoint: allOf: - - $ref: '#/components/schemas/NotificationEndpointDiscriminator' + - $ref: "#/components/schemas/NotificationEndpointDiscriminator" NotificationEndpoints: properties: notificationEndpoints: type: array items: - $ref: '#/components/schemas/NotificationEndpoint' + $ref: "#/components/schemas/NotificationEndpoint" links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" NotificationEndpointBase: type: object required: @@ -16299,7 +16299,7 @@ components: - active - inactive labels: - $ref: '#/components/schemas/Labels' + $ref: "#/components/schemas/Labels" links: type: object readOnly: true @@ -16311,22 +16311,22 @@ components: properties: self: description: URL for this endpoint. - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" labels: description: URL to retrieve labels for this endpoint. - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" members: description: URL to retrieve members for this endpoint. - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" owners: description: URL to retrieve owners for this endpoint. - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" type: - $ref: '#/components/schemas/NotificationEndpointType' + $ref: "#/components/schemas/NotificationEndpointType" SlackNotificationEndpoint: type: object allOf: - - $ref: '#/components/schemas/NotificationEndpointBase' + - $ref: "#/components/schemas/NotificationEndpointBase" - type: object properties: url: @@ -16338,7 +16338,7 @@ components: PagerDutyNotificationEndpoint: type: object allOf: - - $ref: '#/components/schemas/NotificationEndpointBase' + - $ref: "#/components/schemas/NotificationEndpointBase" - type: object required: - routingKey @@ -16350,7 +16350,7 @@ components: HTTPNotificationEndpoint: type: object allOf: - - $ref: '#/components/schemas/NotificationEndpointBase' + - $ref: "#/components/schemas/NotificationEndpointBase" - type: object required: - url @@ -16387,17 +16387,17 @@ components: TelegramNotificationEndpoint: type: object allOf: - - $ref: '#/components/schemas/NotificationEndpointBase' + - $ref: "#/components/schemas/NotificationEndpointBase" - type: object required: - token - channel properties: token: - description: 'Specifies the Telegram bot token. See https://core.telegram.org/bots#creating-a-new-bot .' + description: "Specifies the Telegram bot token. See https://core.telegram.org/bots#creating-a-new-bot ." type: string channel: - description: 'The ID of the telegram channel; a chat_id in https://core.telegram.org/bots/api#sendmessage .' + description: "The ID of the telegram channel; a chat_id in https://core.telegram.org/bots/api#sendmessage ." type: string NotificationEndpointType: type: string @@ -16430,9 +16430,9 @@ components: description: Mapping represents the default retention policy for the database specified. virtual: type: boolean - description: 'Indicates an autogenerated, virtual mapping based on the bucket name. Currently only available in OSS.' + description: "Indicates an autogenerated, virtual mapping based on the bucket name. Currently only available in OSS." links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" required: - id - orgID @@ -16445,7 +16445,7 @@ components: content: type: array items: - $ref: '#/components/schemas/DBRP' + $ref: "#/components/schemas/DBRP" DBRPUpdate: properties: retention_policy: @@ -16482,7 +16482,7 @@ components: type: object properties: content: - $ref: '#/components/schemas/DBRP' + $ref: "#/components/schemas/DBRP" required: true SchemaType: type: string @@ -16495,16 +16495,16 @@ components: additionalProperties: type: string example: - series_id_1: '#edf529' - series_id_2: '#edf529' - measurement_birdmigration_europe: '#663cd0' - configcat_deployments-autopromotionblocker: '#663cd0' + series_id_1: "#edf529" + series_id_2: "#edf529" + measurement_birdmigration_europe: "#663cd0" + configcat_deployments-autopromotionblocker: "#663cd0" Authorization: required: - orgID - permissions allOf: - - $ref: '#/components/schemas/AuthorizationUpdateRequest' + - $ref: "#/components/schemas/AuthorizationUpdateRequest" - type: object properties: createdAt: @@ -16525,7 +16525,7 @@ components: A list of permissions for an authorization. An authorization must have at least one permission. items: - $ref: '#/components/schemas/Permission' + $ref: "#/components/schemas/Permission" id: readOnly: true type: string @@ -16555,26 +16555,26 @@ components: properties: self: readOnly: true - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" user: readOnly: true - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" Authorizations: type: object properties: links: readOnly: true - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" authorizations: type: array items: - $ref: '#/components/schemas/Authorization' + $ref: "#/components/schemas/Authorization" AuthorizationPostRequest: required: - orgID - permissions allOf: - - $ref: '#/components/schemas/AuthorizationUpdateRequest' + - $ref: "#/components/schemas/AuthorizationUpdateRequest" - type: object properties: orgID: @@ -16592,7 +16592,7 @@ components: A list of permissions for an authorization. An authorization must have at least one permission. items: - $ref: '#/components/schemas/Permission' + $ref: "#/components/schemas/Permission" Permission: required: - action @@ -16604,7 +16604,7 @@ components: - read - write resource: - $ref: '#/components/schemas/Resource' + $ref: "#/components/schemas/Resource" Resource: type: object required: @@ -16688,7 +16688,7 @@ components: users: type: array items: - $ref: '#/components/schemas/UserResponse' + $ref: "#/components/schemas/UserResponse" OnboardingRequest: type: object properties: @@ -16720,13 +16720,13 @@ components: type: object properties: user: - $ref: '#/components/schemas/UserResponse' + $ref: "#/components/schemas/UserResponse" org: - $ref: '#/components/schemas/Organization' + $ref: "#/components/schemas/Organization" bucket: - $ref: '#/components/schemas/Bucket' + $ref: "#/components/schemas/Bucket" auth: - $ref: '#/components/schemas/Authorization' + $ref: "#/components/schemas/Authorization" Variable: type: object required: @@ -16761,9 +16761,9 @@ components: items: type: string labels: - $ref: '#/components/schemas/Labels' + $ref: "#/components/schemas/Labels" arguments: - $ref: '#/components/schemas/VariableProperties' + $ref: "#/components/schemas/VariableProperties" createdAt: type: string format: date-time @@ -16774,8 +16774,8 @@ components: type: object example: variables: - - id: '1221432' - name: ':ok:' + - id: "1221432" + name: ":ok:" selected: - hello arguments: @@ -16786,8 +16786,8 @@ components: - hi - yo - oy - - id: '1221432' - name: ':ok:' + - id: "1221432" + name: ":ok:" selected: - c arguments: @@ -16796,8 +16796,8 @@ components: a: fdjaklfdjkldsfjlkjdsa b: dfaksjfkljekfajekdljfas c: fdjksajfdkfeawfeea - - id: '1221432' - name: ':ok:' + - id: "1221432" + name: ":ok:" selected: - host arguments: @@ -16808,7 +16808,7 @@ components: variables: type: array items: - $ref: '#/components/schemas/Variable' + $ref: "#/components/schemas/Variable" Source: type: object properties: @@ -16877,7 +16877,7 @@ components: sources: type: array items: - $ref: '#/components/schemas/Source' + $ref: "#/components/schemas/Source" ScraperTargetRequest: type: object properties: @@ -16892,7 +16892,7 @@ components: url: type: string description: The URL of the metrics endpoint. - example: 'http://localhost:9090/metrics' + example: "http://localhost:9090/metrics" orgID: type: string description: The organization ID. @@ -16906,7 +16906,7 @@ components: ScraperTargetResponse: type: object allOf: - - $ref: '#/components/schemas/ScraperTargetRequest' + - $ref: "#/components/schemas/ScraperTargetRequest" - type: object properties: id: @@ -16929,22 +16929,22 @@ components: organization: /api/v2/orgs/1 properties: self: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" members: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" owners: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" bucket: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" organization: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" ScraperTargetResponses: type: object properties: configurations: type: array items: - $ref: '#/components/schemas/ScraperTargetResponse' + $ref: "#/components/schemas/ScraperTargetResponse" MetadataBackup: type: object properties: @@ -16955,7 +16955,7 @@ components: type: string format: binary buckets: - $ref: '#/components/schemas/BucketMetadataManifests' + $ref: "#/components/schemas/BucketMetadataManifests" required: - kv - sql @@ -16963,7 +16963,7 @@ components: BucketMetadataManifests: type: array items: - $ref: '#/components/schemas/BucketMetadataManifest' + $ref: "#/components/schemas/BucketMetadataManifest" BucketMetadataManifest: type: object properties: @@ -16980,7 +16980,7 @@ components: defaultRetentionPolicy: type: string retentionPolicies: - $ref: '#/components/schemas/RetentionPolicyManifests' + $ref: "#/components/schemas/RetentionPolicyManifests" required: - organizationID - organizationName @@ -16991,7 +16991,7 @@ components: RetentionPolicyManifests: type: array items: - $ref: '#/components/schemas/RetentionPolicyManifest' + $ref: "#/components/schemas/RetentionPolicyManifest" RetentionPolicyManifest: type: object properties: @@ -17006,9 +17006,9 @@ components: type: integer format: int64 shardGroups: - $ref: '#/components/schemas/ShardGroupManifests' + $ref: "#/components/schemas/ShardGroupManifests" subscriptions: - $ref: '#/components/schemas/SubscriptionManifests' + $ref: "#/components/schemas/SubscriptionManifests" required: - name - replicaN @@ -17019,7 +17019,7 @@ components: ShardGroupManifests: type: array items: - $ref: '#/components/schemas/ShardGroupManifest' + $ref: "#/components/schemas/ShardGroupManifest" ShardGroupManifest: type: object properties: @@ -17039,7 +17039,7 @@ components: type: string format: date-time shards: - $ref: '#/components/schemas/ShardManifests' + $ref: "#/components/schemas/ShardManifests" required: - id - startTime @@ -17048,7 +17048,7 @@ components: ShardManifests: type: array items: - $ref: '#/components/schemas/ShardManifest' + $ref: "#/components/schemas/ShardManifest" ShardManifest: type: object properties: @@ -17056,14 +17056,14 @@ components: type: integer format: int64 shardOwners: - $ref: '#/components/schemas/ShardOwners' + $ref: "#/components/schemas/ShardOwners" required: - id - shardOwners ShardOwners: type: array items: - $ref: '#/components/schemas/ShardOwner' + $ref: "#/components/schemas/ShardOwner" ShardOwner: type: object properties: @@ -17076,7 +17076,7 @@ components: SubscriptionManifests: type: array items: - $ref: '#/components/schemas/SubscriptionManifest' + $ref: "#/components/schemas/SubscriptionManifest" SubscriptionManifest: type: object properties: @@ -17101,7 +17101,7 @@ components: name: type: string shardMappings: - $ref: '#/components/schemas/BucketShardMappings' + $ref: "#/components/schemas/BucketShardMappings" required: - id - name @@ -17109,7 +17109,7 @@ components: BucketShardMappings: type: array items: - $ref: '#/components/schemas/BucketShardMapping' + $ref: "#/components/schemas/BucketShardMapping" BucketShardMapping: type: object properties: @@ -17159,7 +17159,7 @@ components: remotes: type: array items: - $ref: '#/components/schemas/RemoteConnection' + $ref: "#/components/schemas/RemoteConnection" RemoteConnectionCreationRequest: type: object properties: @@ -17248,7 +17248,7 @@ components: replications: type: array items: - $ref: '#/components/schemas/Replication' + $ref: "#/components/schemas/Replication" ReplicationCreationRequest: type: object properties: @@ -17314,11 +17314,11 @@ components: properties: links: readOnly: true - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" tasks: type: array items: - $ref: '#/components/schemas/Task' + $ref: "#/components/schemas/Task" Task: type: object properties: @@ -17341,9 +17341,9 @@ components: description: The description of the task. type: string status: - $ref: '#/components/schemas/TaskStatusType' + $ref: "#/components/schemas/TaskStatusType" labels: - $ref: '#/components/schemas/Labels' + $ref: "#/components/schemas/Labels" authorizationID: description: The ID of the authorization used when the task communicates with the query engine. type: string @@ -17351,18 +17351,18 @@ components: description: The Flux script that the task runs. type: string every: - description: 'An interval ([duration literal](https://docs.influxdata.com/flux/v0.x/spec/lexical-elements/#duration-literals))) at which the task runs. `every` also determines when the task first runs, depending on the specified time.' + description: "An interval ([duration literal](https://docs.influxdata.com/flux/v0.x/spec/lexical-elements/#duration-literals))) at which the task runs. `every` also determines when the task first runs, depending on the specified time." type: string format: duration cron: - description: '[Cron expression](https://en.wikipedia.org/wiki/Cron#Overview) that defines the schedule on which the task runs. InfluxDB bases cron runs on the system time.' + description: "[Cron expression](https://en.wikipedia.org/wiki/Cron#Overview) that defines the schedule on which the task runs. InfluxDB bases cron runs on the system time." type: string offset: - description: 'A [duration](https://docs.influxdata.com/flux/v0.x/spec/lexical-elements/#duration-literals) to delay execution of the task after the scheduled time has elapsed. `0` removes the offset.' + description: "A [duration](https://docs.influxdata.com/flux/v0.x/spec/lexical-elements/#duration-literals) to delay execution of the task after the scheduled time has elapsed. `0` removes the offset." type: string format: duration latestCompleted: - description: 'A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/flux/v0.x/data-types/basic/time/#time-syntax)) of the latest scheduled and completed run.' + description: "A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/flux/v0.x/data-types/basic/time/#time-syntax)) of the latest scheduled and completed run." type: string format: date-time readOnly: true @@ -17396,17 +17396,17 @@ components: logs: /api/v2/tasks/1/logs properties: self: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" owners: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" members: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" runs: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" logs: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" labels: - $ref: '#/components/schemas/Link' + $ref: "#/components/schemas/Link" required: - id - name @@ -17422,7 +17422,7 @@ components: description: The name of the organization that owns this Task. type: string status: - $ref: '#/components/schemas/TaskStatusType' + $ref: "#/components/schemas/TaskStatusType" flux: description: The Flux script to run for this task. type: string @@ -17435,7 +17435,7 @@ components: type: object properties: status: - $ref: '#/components/schemas/TaskStatusType' + $ref: "#/components/schemas/TaskStatusType" flux: description: The Flux script that the task runs. type: string @@ -17494,19 +17494,19 @@ components: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: orgProvidedNotFound: summary: The org or orgID passed doesn't own the token passed in the header value: code: invalid - message: 'failed to decode request body: organization not found' + message: "failed to decode request body: organization not found" GeneralServerError: description: Non 2XX error response from server. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" InternalServerError: description: | Internal server error. @@ -17514,7 +17514,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" ResourceNotFoundError: description: | Not found. @@ -17528,7 +17528,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" examples: org-not-found: summary: Organization name not found diff --git a/vendor/github.com/influxdata/influxdb-client-go/v2/version.go b/vendor/github.com/influxdata/influxdb-client-go/v2/version.go index fbb6a4e3..7f50977e 100644 --- a/vendor/github.com/influxdata/influxdb-client-go/v2/version.go +++ b/vendor/github.com/influxdata/influxdb-client-go/v2/version.go @@ -13,7 +13,7 @@ import ( const ( // Version defines current version - Version = "2.12.4" + Version = "2.13.0" ) func init() { diff --git a/vendor/github.com/deepmap/oapi-codegen/LICENSE b/vendor/github.com/oapi-codegen/runtime/LICENSE similarity index 100% rename from vendor/github.com/deepmap/oapi-codegen/LICENSE rename to vendor/github.com/oapi-codegen/runtime/LICENSE diff --git a/vendor/github.com/oapi-codegen/runtime/Makefile b/vendor/github.com/oapi-codegen/runtime/Makefile new file mode 100644 index 00000000..05871ef1 --- /dev/null +++ b/vendor/github.com/oapi-codegen/runtime/Makefile @@ -0,0 +1,32 @@ +GOBASE=$(shell pwd) +GOBIN=$(GOBASE)/bin + +help: + @echo "This is a helper makefile for oapi-codegen" + @echo "Targets:" + @echo " generate: regenerate all generated files" + @echo " test: run all tests" + @echo " gin_example generate gin example server code" + @echo " tidy tidy go mod" + +$(GOBIN)/golangci-lint: + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOBIN) v1.54.0 + +.PHONY: tools +tools: $(GOBIN)/golangci-lint + +lint: tools + $(GOBIN)/golangci-lint run ./... + +lint-ci: tools + $(GOBIN)/golangci-lint run ./... --out-format=github-actions --timeout=5m + +generate: + go generate ./... + +test: + go test -cover ./... + +tidy: + @echo "tidy..." + go mod tidy diff --git a/vendor/github.com/oapi-codegen/runtime/README.md b/vendor/github.com/oapi-codegen/runtime/README.md new file mode 100644 index 00000000..7392812e --- /dev/null +++ b/vendor/github.com/oapi-codegen/runtime/README.md @@ -0,0 +1,6 @@ +# oapi-codegen/runtime + +⚠️ This README may be for the latest development version, which may +contain unreleased changes. Please ensure you're looking at the README for the latest release version. + +This provides any runtime-specific code that the generated code that oapi-codegen generates may need, and therefore is expected to be used with [deepmap/oapi-codegen](https://github.com/deepmap/oapi-codegen). diff --git a/vendor/github.com/deepmap/oapi-codegen/pkg/runtime/bind.go b/vendor/github.com/oapi-codegen/runtime/bind.go similarity index 100% rename from vendor/github.com/deepmap/oapi-codegen/pkg/runtime/bind.go rename to vendor/github.com/oapi-codegen/runtime/bind.go diff --git a/vendor/github.com/deepmap/oapi-codegen/pkg/runtime/bindform.go b/vendor/github.com/oapi-codegen/runtime/bindform.go similarity index 99% rename from vendor/github.com/deepmap/oapi-codegen/pkg/runtime/bindform.go rename to vendor/github.com/oapi-codegen/runtime/bindform.go index 4f4fb76c..e51ba26a 100644 --- a/vendor/github.com/deepmap/oapi-codegen/pkg/runtime/bindform.go +++ b/vendor/github.com/oapi-codegen/runtime/bindform.go @@ -10,7 +10,7 @@ import ( "strconv" "strings" - "github.com/deepmap/oapi-codegen/pkg/types" + "github.com/oapi-codegen/runtime/types" ) const tagName = "json" diff --git a/vendor/github.com/deepmap/oapi-codegen/pkg/runtime/bindparam.go b/vendor/github.com/oapi-codegen/runtime/bindparam.go similarity index 98% rename from vendor/github.com/deepmap/oapi-codegen/pkg/runtime/bindparam.go rename to vendor/github.com/oapi-codegen/runtime/bindparam.go index 4fc1b30d..d7e56d3c 100644 --- a/vendor/github.com/deepmap/oapi-codegen/pkg/runtime/bindparam.go +++ b/vendor/github.com/oapi-codegen/runtime/bindparam.go @@ -23,7 +23,7 @@ import ( "strings" "time" - "github.com/deepmap/oapi-codegen/pkg/types" + "github.com/oapi-codegen/runtime/types" ) // BindStyledParameter binds a parameter as described in the Path Parameters @@ -68,7 +68,7 @@ func BindStyledParameterWithLocation(style string, explode bool, paramName strin // If the destination implements encoding.TextUnmarshaler we use it for binding if tu, ok := dest.(encoding.TextUnmarshaler); ok { if err := tu.UnmarshalText([]byte(value)); err != nil { - return fmt.Errorf("error unmarshalling '%s' text as %T: %s", value, dest, err) + return fmt.Errorf("error unmarshaling '%s' text as %T: %s", value, dest, err) } return nil @@ -82,7 +82,7 @@ func BindStyledParameterWithLocation(style string, explode bool, paramName strin if t.Kind() == reflect.Struct { // We've got a destination object, we'll create a JSON representation - // of the input value, and let the json library deal with the unmarshalling + // of the input value, and let the json library deal with the unmarshaling parts, err := splitStyledParameter(style, explode, true, paramName, value) if err != nil { return err @@ -212,7 +212,7 @@ func bindSplitPartsToDestinationArray(parts []string, dest interface{}) error { for i, p := range parts { err := BindStringToObject(p, newArray.Index(i).Addr().Interface()) if err != nil { - return fmt.Errorf("error setting array element: %s", err) + return fmt.Errorf("error setting array element: %w", err) } } v.Set(newArray) @@ -233,7 +233,7 @@ func bindSplitPartsToDestinationArray(parts []string, dest interface{}) error { // into the struct. func bindSplitPartsToDestinationStruct(paramName string, parts []string, explode bool, dest interface{}) error { // We've got a destination object, we'll create a JSON representation - // of the input value, and let the json library deal with the unmarshalling + // of the input value, and let the json library deal with the unmarshaling var fields []string if explode { fields = make([]string, len(parts)) @@ -462,7 +462,7 @@ func bindParamsToExplodedObject(paramName string, values url.Values, dest interf return true, BindStringToObject(values.Get(paramName), dest) } if t.Kind() != reflect.Struct { - return false, fmt.Errorf("unmarshalling query arg '%s' into wrong type", paramName) + return false, fmt.Errorf("unmarshaling query arg '%s' into wrong type", paramName) } fieldsPresent := false diff --git a/vendor/github.com/deepmap/oapi-codegen/pkg/runtime/bindstring.go b/vendor/github.com/oapi-codegen/runtime/bindstring.go similarity index 95% rename from vendor/github.com/deepmap/oapi-codegen/pkg/runtime/bindstring.go rename to vendor/github.com/oapi-codegen/runtime/bindstring.go index 72f74dd1..c88fdc20 100644 --- a/vendor/github.com/deepmap/oapi-codegen/pkg/runtime/bindstring.go +++ b/vendor/github.com/oapi-codegen/runtime/bindstring.go @@ -21,7 +21,7 @@ import ( "strconv" "time" - "github.com/deepmap/oapi-codegen/pkg/types" + "github.com/oapi-codegen/runtime/types" ) // BindStringToObject takes a string, and attempts to assign it to the destination @@ -42,7 +42,7 @@ func BindStringToObject(src string, dst interface{}) error { t = v.Type() } - // For some optioinal args + // For some optional args if t.Kind() == reflect.Ptr { if v.IsNil() { v.Set(reflect.New(t.Elem())) @@ -100,7 +100,7 @@ func BindStringToObject(src string, dst interface{}) error { case reflect.Array: if tu, ok := dst.(encoding.TextUnmarshaler); ok { if err := tu.UnmarshalText([]byte(src)); err != nil { - return fmt.Errorf("error unmarshalling '%s' text as %T: %s", src, dst, err) + return fmt.Errorf("error unmarshaling '%s' text as %T: %s", src, dst, err) } return nil @@ -168,7 +168,7 @@ func BindStringToObject(src string, dst interface{}) error { err = fmt.Errorf("can not bind to destination of type: %s", t.Kind()) } if err != nil { - return fmt.Errorf("error binding string parameter: %s", err) + return fmt.Errorf("error binding string parameter: %w", err) } return nil } diff --git a/vendor/github.com/deepmap/oapi-codegen/pkg/runtime/deepobject.go b/vendor/github.com/oapi-codegen/runtime/deepobject.go similarity index 95% rename from vendor/github.com/deepmap/oapi-codegen/pkg/runtime/deepobject.go rename to vendor/github.com/oapi-codegen/runtime/deepobject.go index f18ace37..1be761e6 100644 --- a/vendor/github.com/deepmap/oapi-codegen/pkg/runtime/deepobject.go +++ b/vendor/github.com/oapi-codegen/runtime/deepobject.go @@ -11,7 +11,7 @@ import ( "strings" "time" - "github.com/deepmap/oapi-codegen/pkg/types" + "github.com/oapi-codegen/runtime/types" ) func marshalDeepObject(in interface{}, path []string) ([]string, error) { @@ -200,6 +200,19 @@ func assignPathValues(dst interface{}, pathValues fieldOrValue) error { it := iv.Type() switch it.Kind() { + case reflect.Map: + dstMap := reflect.MakeMap(iv.Type()) + for key, value := range pathValues.fields { + dstKey := reflect.ValueOf(key) + dstVal := reflect.New(iv.Type().Elem()) + err := assignPathValues(dstVal.Interface(), value) + if err != nil { + return fmt.Errorf("error binding map: %w", err) + } + dstMap.SetMapIndex(dstKey, dstVal.Elem()) + } + iv.Set(dstMap) + return nil case reflect.Slice: sliceLength := len(pathValues.fields) dstSlice := reflect.MakeSlice(it, sliceLength, sliceLength) @@ -245,7 +258,7 @@ func assignPathValues(dst interface{}, pathValues fieldOrValue) error { // TODO: why is this marked as an ineffassign? tm, err = time.Parse(types.DateFormat, pathValues.value) //nolint:ineffassign,staticcheck if err != nil { - return fmt.Errorf("error parsing tim as RFC3339 or 2006-01-02 time: %s", err) + return fmt.Errorf("error parsing '%s' as RFC3339 or 2006-01-02 time: %s", pathValues.value, err) } return fmt.Errorf("invalid date format: %w", err) } diff --git a/vendor/github.com/deepmap/oapi-codegen/pkg/runtime/jsonmerge.go b/vendor/github.com/oapi-codegen/runtime/jsonmerge.go similarity index 100% rename from vendor/github.com/deepmap/oapi-codegen/pkg/runtime/jsonmerge.go rename to vendor/github.com/oapi-codegen/runtime/jsonmerge.go diff --git a/vendor/github.com/deepmap/oapi-codegen/pkg/runtime/styleparam.go b/vendor/github.com/oapi-codegen/runtime/styleparam.go similarity index 98% rename from vendor/github.com/deepmap/oapi-codegen/pkg/runtime/styleparam.go rename to vendor/github.com/oapi-codegen/runtime/styleparam.go index 8f7e1292..57ed41b5 100644 --- a/vendor/github.com/deepmap/oapi-codegen/pkg/runtime/styleparam.go +++ b/vendor/github.com/oapi-codegen/runtime/styleparam.go @@ -26,7 +26,8 @@ import ( "strings" "time" - "github.com/deepmap/oapi-codegen/pkg/types" + "github.com/oapi-codegen/runtime/types" + "github.com/google/uuid" ) // Parameter escaping works differently based on where a header is found @@ -428,6 +429,10 @@ func primitiveToString(value interface{}) (string, error) { case reflect.Struct: // If input has Marshaler, such as object has Additional Property or AnyOf, // We use this Marshaler and convert into interface{} before styling. + if v, ok := value.(uuid.UUID); ok { + output = v.String() + break + } if m, ok := value.(json.Marshaler); ok { buf, err := m.MarshalJSON() if err != nil { @@ -458,7 +463,7 @@ func primitiveToString(value interface{}) (string, error) { return output, nil } -// This function escapes a parameter value bas on the location of that parameter. +// escapeParameterString escapes a parameter value bas on the location of that parameter. // Query params and path params need different kinds of escaping, while header // and cookie params seem not to need escaping. func escapeParameterString(value string, paramLocation ParamLocation) string { diff --git a/vendor/github.com/deepmap/oapi-codegen/pkg/types/date.go b/vendor/github.com/oapi-codegen/runtime/types/date.go similarity index 100% rename from vendor/github.com/deepmap/oapi-codegen/pkg/types/date.go rename to vendor/github.com/oapi-codegen/runtime/types/date.go diff --git a/vendor/github.com/oapi-codegen/runtime/types/email.go b/vendor/github.com/oapi-codegen/runtime/types/email.go new file mode 100644 index 00000000..e4a1cbda --- /dev/null +++ b/vendor/github.com/oapi-codegen/runtime/types/email.go @@ -0,0 +1,40 @@ +package types + +import ( + "encoding/json" + "errors" +) + +// ErrValidationEmail is the sentinel error returned when an email fails validation +var ErrValidationEmail = errors.New("email: failed to pass regex validation") + +// Email represents an email address. +// It is a string type that must pass regex validation before being marshalled +// to JSON or unmarshalled from JSON. +type Email string + +func (e Email) MarshalJSON() ([]byte, error) { + if !emailRegex.MatchString(string(e)) { + return nil, ErrValidationEmail + } + + return json.Marshal(string(e)) +} + +func (e *Email) UnmarshalJSON(data []byte) error { + if e == nil { + return nil + } + + var s string + if err := json.Unmarshal(data, &s); err != nil { + return err + } + + *e = Email(s) + if !emailRegex.MatchString(s) { + return ErrValidationEmail + } + + return nil +} diff --git a/vendor/github.com/deepmap/oapi-codegen/pkg/types/file.go b/vendor/github.com/oapi-codegen/runtime/types/file.go similarity index 100% rename from vendor/github.com/deepmap/oapi-codegen/pkg/types/file.go rename to vendor/github.com/oapi-codegen/runtime/types/file.go diff --git a/vendor/github.com/deepmap/oapi-codegen/pkg/types/regexes.go b/vendor/github.com/oapi-codegen/runtime/types/regexes.go similarity index 100% rename from vendor/github.com/deepmap/oapi-codegen/pkg/types/regexes.go rename to vendor/github.com/oapi-codegen/runtime/types/regexes.go diff --git a/vendor/github.com/deepmap/oapi-codegen/pkg/types/uuid.go b/vendor/github.com/oapi-codegen/runtime/types/uuid.go similarity index 100% rename from vendor/github.com/deepmap/oapi-codegen/pkg/types/uuid.go rename to vendor/github.com/oapi-codegen/runtime/types/uuid.go diff --git a/vendor/modules.txt b/vendor/modules.txt index 91c6c090..3322b409 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -53,18 +53,14 @@ github.com/beorn7/perks/quantile # github.com/cespare/xxhash/v2 v2.2.0 ## explicit; go 1.11 github.com/cespare/xxhash/v2 -# github.com/deepmap/oapi-codegen v1.12.4 -## explicit; go 1.18 -github.com/deepmap/oapi-codegen/pkg/runtime -github.com/deepmap/oapi-codegen/pkg/types -# github.com/google/uuid v1.3.0 +# github.com/google/uuid v1.3.1 ## explicit github.com/google/uuid # github.com/ibm-messaging/mq-golang/v5 v5.5.3 ## explicit; go 1.16 github.com/ibm-messaging/mq-golang/v5/ibmmq github.com/ibm-messaging/mq-golang/v5/mqmetric -# github.com/influxdata/influxdb-client-go/v2 v2.12.4 +# github.com/influxdata/influxdb-client-go/v2 v2.13.0 ## explicit; go 1.17 github.com/influxdata/influxdb-client-go/v2 github.com/influxdata/influxdb-client-go/v2/api @@ -88,6 +84,10 @@ github.com/jmespath/go-jmespath # github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 ## explicit; go 1.19 github.com/matttproud/golang_protobuf_extensions/v2/pbutil +# github.com/oapi-codegen/runtime v1.0.0 +## explicit; go 1.20 +github.com/oapi-codegen/runtime +github.com/oapi-codegen/runtime/types # github.com/prometheus/client_golang v1.18.0 ## explicit; go 1.19 github.com/prometheus/client_golang/prometheus