influxdb-client-apis 2.2.0 → 2.3.0.pre.4516
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/influxdb-client-apis.gemspec +1 -2
- data/lib/influxdb2/apis/generated/api/authorizations_api.rb +2 -2
- data/lib/influxdb2/apis/generated/api/buckets_api.rb +8 -8
- data/lib/influxdb2/apis/generated/api/labels_api.rb +6 -6
- data/lib/influxdb2/apis/generated/api/organizations_api.rb +2 -210
- data/lib/influxdb2/apis/generated/api/users_api.rb +12 -6
- data/lib/influxdb2/apis/generated/api_client.rb +2 -2
- data/lib/influxdb2/apis/generated/api_error.rb +2 -2
- data/lib/influxdb2/apis/generated/configuration.rb +2 -2
- data/lib/influxdb2/apis/generated/models/add_resource_member_request_body.rb +224 -0
- data/lib/influxdb2/apis/generated/models/authorization.rb +9 -9
- data/lib/influxdb2/apis/generated/models/authorization_all_of.rb +8 -8
- data/lib/influxdb2/apis/generated/models/authorization_all_of_links.rb +2 -2
- data/lib/influxdb2/apis/generated/models/authorization_post_request.rb +3 -3
- data/lib/influxdb2/apis/generated/models/authorization_update_request.rb +3 -3
- data/lib/influxdb2/apis/generated/models/authorizations.rb +2 -2
- data/lib/influxdb2/apis/generated/models/bucket.rb +2 -2
- data/lib/influxdb2/apis/generated/models/bucket_links.rb +2 -2
- data/lib/influxdb2/apis/generated/models/buckets.rb +2 -2
- data/lib/influxdb2/apis/generated/models/label.rb +2 -2
- data/lib/influxdb2/apis/generated/models/label_create_request.rb +2 -2
- data/lib/influxdb2/apis/generated/models/label_mapping.rb +2 -2
- data/lib/influxdb2/apis/generated/models/label_response.rb +2 -2
- data/lib/influxdb2/apis/generated/models/label_update.rb +2 -2
- data/lib/influxdb2/apis/generated/models/labels_response.rb +2 -2
- data/lib/influxdb2/apis/generated/models/links.rb +2 -2
- data/lib/influxdb2/apis/generated/models/organization.rb +2 -2
- data/lib/influxdb2/apis/generated/models/organization_links.rb +2 -2
- data/lib/influxdb2/apis/generated/models/organizations.rb +2 -2
- data/lib/influxdb2/apis/generated/models/password_reset_body.rb +2 -2
- data/lib/influxdb2/apis/generated/models/patch_bucket_request.rb +232 -0
- data/lib/influxdb2/apis/generated/models/patch_organization_request.rb +2 -2
- data/lib/influxdb2/apis/generated/models/permission.rb +2 -2
- data/lib/influxdb2/apis/generated/models/post_bucket_request.rb +2 -2
- data/lib/influxdb2/apis/generated/models/post_organization_request.rb +2 -2
- data/lib/influxdb2/apis/generated/models/resource_member.rb +2 -2
- data/lib/influxdb2/apis/generated/models/resource_member_all_of.rb +2 -2
- data/lib/influxdb2/apis/generated/models/resource_members.rb +2 -2
- data/lib/influxdb2/apis/generated/models/resource_members_links.rb +2 -2
- data/lib/influxdb2/apis/generated/models/resource_owner.rb +2 -2
- data/lib/influxdb2/apis/generated/models/resource_owner_all_of.rb +2 -2
- data/lib/influxdb2/apis/generated/models/resource_owners.rb +2 -2
- data/lib/influxdb2/apis/generated/models/retention_rule.rb +2 -2
- data/lib/influxdb2/apis/generated/models/user.rb +2 -2
- data/lib/influxdb2/apis/generated/models/user_response.rb +2 -2
- data/lib/influxdb2/apis/generated/models/user_response_links.rb +2 -2
- data/lib/influxdb2/apis/generated/models/users.rb +2 -2
- data/test/test_helper.rb +2 -2
- metadata +12 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bac3a347c9a922dee06c6c91c27b23cd995cad5ee3047836f7bcf680c0e52dc4
|
4
|
+
data.tar.gz: 33987f1f8895ba6cc52bb86b53a4b2309cf41ceb310bd33077ec2aabd6b6f9dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54a1170e48f51b36ff19eb04d3404de465f96da28c2d5e1eb3f6a5060c64efacf7a67ec7c3d3a3f52a6d09b0134ddc82f158d85fed7e52cbae50b5aa219b93ce
|
7
|
+
data.tar.gz: 34fee8fb39cb7092c1a4f559f460c09df00814aae42968bc40e603d50cfb2d633fa975962fc4c1ef0329063e4e12098c339825c96777518d39d807125e2df41c
|
@@ -48,11 +48,10 @@ Gem::Specification.new do |spec|
|
|
48
48
|
spec.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
49
49
|
|
50
50
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
51
|
-
spec.add_development_dependency 'codecov', '~> 0.1.16'
|
52
51
|
spec.add_development_dependency 'minitest', '~> 5.0'
|
53
52
|
spec.add_development_dependency 'minitest-reporters', '~> 1.4'
|
54
53
|
spec.add_development_dependency 'rake', '~> 12.3'
|
55
54
|
spec.add_development_dependency 'rubocop', '~> 0.66.0'
|
56
|
-
spec.add_development_dependency 'simplecov', '~>
|
55
|
+
spec.add_development_dependency 'simplecov-cobertura', '~> 1.4.2'
|
57
56
|
spec.add_development_dependency 'webmock', '~> 3.7'
|
58
57
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#InfluxDB OSS API Service
|
3
3
|
|
4
|
-
#
|
4
|
+
#The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 2.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#InfluxDB OSS API Service
|
3
3
|
|
4
|
-
#
|
4
|
+
#The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 2.0.0
|
7
7
|
|
@@ -297,8 +297,8 @@ module InfluxDB2::API
|
|
297
297
|
# @option opts [String] :zap_trace_span OpenTracing span context
|
298
298
|
# @option opts [Integer] :offset
|
299
299
|
# @option opts [Integer] :limit (default to 20)
|
300
|
-
# @option opts [String] :after
|
301
|
-
# @option opts [String] :org The organization
|
300
|
+
# @option opts [String] :after Resource ID to seek from. Results are not inclusive of this ID. Use `after` instead of `offset`.
|
301
|
+
# @option opts [String] :org The name of the organization.
|
302
302
|
# @option opts [String] :org_id The organization ID.
|
303
303
|
# @option opts [String] :name Only returns buckets with a specific name.
|
304
304
|
# @option opts [String] :id Only returns buckets with a specific ID.
|
@@ -313,8 +313,8 @@ module InfluxDB2::API
|
|
313
313
|
# @option opts [String] :zap_trace_span OpenTracing span context
|
314
314
|
# @option opts [Integer] :offset
|
315
315
|
# @option opts [Integer] :limit
|
316
|
-
# @option opts [String] :after
|
317
|
-
# @option opts [String] :org The organization
|
316
|
+
# @option opts [String] :after Resource ID to seek from. Results are not inclusive of this ID. Use `after` instead of `offset`.
|
317
|
+
# @option opts [String] :org The name of the organization.
|
318
318
|
# @option opts [String] :org_id The organization ID.
|
319
319
|
# @option opts [String] :name Only returns buckets with a specific name.
|
320
320
|
# @option opts [String] :id Only returns buckets with a specific ID.
|
@@ -643,7 +643,7 @@ module InfluxDB2::API
|
|
643
643
|
# @param source_id [String] The source ID.
|
644
644
|
# @param [Hash] opts the optional parameters
|
645
645
|
# @option opts [String] :zap_trace_span OpenTracing span context
|
646
|
-
# @option opts [String] :org The organization
|
646
|
+
# @option opts [String] :org The name of the organization.
|
647
647
|
# @return [Buckets]
|
648
648
|
def get_sources_id_buckets(source_id, opts = {})
|
649
649
|
data, _status_code, _headers = get_sources_id_buckets_with_http_info(source_id, opts)
|
@@ -654,7 +654,7 @@ module InfluxDB2::API
|
|
654
654
|
# @param source_id [String] The source ID.
|
655
655
|
# @param [Hash] opts the optional parameters
|
656
656
|
# @option opts [String] :zap_trace_span OpenTracing span context
|
657
|
-
# @option opts [String] :org The organization
|
657
|
+
# @option opts [String] :org The name of the organization.
|
658
658
|
# @return [Array<(Buckets, Integer, Hash)>] Buckets data, response status code and response headers
|
659
659
|
def get_sources_id_buckets_with_http_info(source_id, opts = {})
|
660
660
|
if @api_client.config.debugging
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#InfluxDB OSS API Service
|
3
3
|
|
4
|
-
#
|
4
|
+
#The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 2.0.0
|
7
7
|
|
@@ -82,7 +82,7 @@ module InfluxDB2::API
|
|
82
82
|
return data, status_code, headers
|
83
83
|
end
|
84
84
|
|
85
|
-
#
|
85
|
+
# List all labels
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @option opts [String] :zap_trace_span OpenTracing span context
|
88
88
|
# @option opts [String] :org_id The organization ID.
|
@@ -92,7 +92,7 @@ module InfluxDB2::API
|
|
92
92
|
data
|
93
93
|
end
|
94
94
|
|
95
|
-
#
|
95
|
+
# List all labels
|
96
96
|
# @param [Hash] opts the optional parameters
|
97
97
|
# @option opts [String] :zap_trace_span OpenTracing span context
|
98
98
|
# @option opts [String] :org_id The organization ID.
|
@@ -143,7 +143,7 @@ module InfluxDB2::API
|
|
143
143
|
return data, status_code, headers
|
144
144
|
end
|
145
145
|
|
146
|
-
#
|
146
|
+
# Retrieve a label
|
147
147
|
# @param label_id [String] The ID of the label to update.
|
148
148
|
# @param [Hash] opts the optional parameters
|
149
149
|
# @option opts [String] :zap_trace_span OpenTracing span context
|
@@ -153,7 +153,7 @@ module InfluxDB2::API
|
|
153
153
|
data
|
154
154
|
end
|
155
155
|
|
156
|
-
#
|
156
|
+
# Retrieve a label
|
157
157
|
# @param label_id [String] The ID of the label to update.
|
158
158
|
# @param [Hash] opts the optional parameters
|
159
159
|
# @option opts [String] :zap_trace_span OpenTracing span context
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#InfluxDB OSS API Service
|
3
3
|
|
4
|
-
#
|
4
|
+
#The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 2.0.0
|
7
7
|
|
@@ -502,70 +502,6 @@ module InfluxDB2::API
|
|
502
502
|
return data, status_code, headers
|
503
503
|
end
|
504
504
|
|
505
|
-
# List all secret keys for an organization
|
506
|
-
# @param org_id [String] The organization ID.
|
507
|
-
# @param [Hash] opts the optional parameters
|
508
|
-
# @option opts [String] :zap_trace_span OpenTracing span context
|
509
|
-
# @return [SecretKeysResponse]
|
510
|
-
def get_orgs_id_secrets(org_id, opts = {})
|
511
|
-
data, _status_code, _headers = get_orgs_id_secrets_with_http_info(org_id, opts)
|
512
|
-
data
|
513
|
-
end
|
514
|
-
|
515
|
-
# List all secret keys for an organization
|
516
|
-
# @param org_id [String] The organization ID.
|
517
|
-
# @param [Hash] opts the optional parameters
|
518
|
-
# @option opts [String] :zap_trace_span OpenTracing span context
|
519
|
-
# @return [Array<(SecretKeysResponse, Integer, Hash)>] SecretKeysResponse data, response status code and response headers
|
520
|
-
def get_orgs_id_secrets_with_http_info(org_id, opts = {})
|
521
|
-
if @api_client.config.debugging
|
522
|
-
@api_client.config.logger.debug 'Calling API: OrganizationsApi.get_orgs_id_secrets ...'
|
523
|
-
end
|
524
|
-
# verify the required parameter 'org_id' is set
|
525
|
-
if @api_client.config.client_side_validation && org_id.nil?
|
526
|
-
fail ArgumentError, "Missing the required parameter 'org_id' when calling OrganizationsApi.get_orgs_id_secrets"
|
527
|
-
end
|
528
|
-
# resource path
|
529
|
-
local_var_path = '/orgs/{orgID}/secrets'.sub('{' + 'orgID' + '}', CGI.escape(org_id.to_s))
|
530
|
-
|
531
|
-
# query parameters
|
532
|
-
query_params = opts[:query_params] || {}
|
533
|
-
|
534
|
-
# header parameters
|
535
|
-
header_params = opts[:header_params] || {}
|
536
|
-
# HTTP header 'Accept' (if needed)
|
537
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
538
|
-
header_params[:'Zap-Trace-Span'] = opts[:'zap_trace_span'] if !opts[:'zap_trace_span'].nil?
|
539
|
-
|
540
|
-
# form parameters
|
541
|
-
form_params = opts[:form_params] || {}
|
542
|
-
|
543
|
-
# http body (model)
|
544
|
-
post_body = opts[:debug_body]
|
545
|
-
|
546
|
-
# return_type
|
547
|
-
return_type = opts[:debug_return_type] || 'SecretKeysResponse'
|
548
|
-
|
549
|
-
# auth_names
|
550
|
-
auth_names = opts[:debug_auth_names] || ['header']
|
551
|
-
|
552
|
-
new_options = opts.merge(
|
553
|
-
:operation => :"OrganizationsApi.get_orgs_id_secrets",
|
554
|
-
:header_params => header_params,
|
555
|
-
:query_params => query_params,
|
556
|
-
:form_params => form_params,
|
557
|
-
:body => post_body,
|
558
|
-
:auth_names => auth_names,
|
559
|
-
:return_type => return_type
|
560
|
-
)
|
561
|
-
|
562
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
563
|
-
if @api_client.config.debugging
|
564
|
-
@api_client.config.logger.debug "API called: OrganizationsApi#get_orgs_id_secrets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
565
|
-
end
|
566
|
-
return data, status_code, headers
|
567
|
-
end
|
568
|
-
|
569
505
|
# Update an organization
|
570
506
|
# @param org_id [String] The ID of the organization to get.
|
571
507
|
# @param patch_organization_request [PatchOrganizationRequest] Organization update to apply
|
@@ -638,78 +574,6 @@ module InfluxDB2::API
|
|
638
574
|
return data, status_code, headers
|
639
575
|
end
|
640
576
|
|
641
|
-
# Update secrets in an organization
|
642
|
-
# @param org_id [String] The organization ID.
|
643
|
-
# @param request_body [Hash<String, String>] Secret key value pairs to update/add
|
644
|
-
# @param [Hash] opts the optional parameters
|
645
|
-
# @option opts [String] :zap_trace_span OpenTracing span context
|
646
|
-
# @return [nil]
|
647
|
-
def patch_orgs_id_secrets(org_id, request_body, opts = {})
|
648
|
-
patch_orgs_id_secrets_with_http_info(org_id, request_body, opts)
|
649
|
-
nil
|
650
|
-
end
|
651
|
-
|
652
|
-
# Update secrets in an organization
|
653
|
-
# @param org_id [String] The organization ID.
|
654
|
-
# @param request_body [Hash<String, String>] Secret key value pairs to update/add
|
655
|
-
# @param [Hash] opts the optional parameters
|
656
|
-
# @option opts [String] :zap_trace_span OpenTracing span context
|
657
|
-
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
658
|
-
def patch_orgs_id_secrets_with_http_info(org_id, request_body, opts = {})
|
659
|
-
if @api_client.config.debugging
|
660
|
-
@api_client.config.logger.debug 'Calling API: OrganizationsApi.patch_orgs_id_secrets ...'
|
661
|
-
end
|
662
|
-
# verify the required parameter 'org_id' is set
|
663
|
-
if @api_client.config.client_side_validation && org_id.nil?
|
664
|
-
fail ArgumentError, "Missing the required parameter 'org_id' when calling OrganizationsApi.patch_orgs_id_secrets"
|
665
|
-
end
|
666
|
-
# verify the required parameter 'request_body' is set
|
667
|
-
if @api_client.config.client_side_validation && request_body.nil?
|
668
|
-
fail ArgumentError, "Missing the required parameter 'request_body' when calling OrganizationsApi.patch_orgs_id_secrets"
|
669
|
-
end
|
670
|
-
# resource path
|
671
|
-
local_var_path = '/orgs/{orgID}/secrets'.sub('{' + 'orgID' + '}', CGI.escape(org_id.to_s))
|
672
|
-
|
673
|
-
# query parameters
|
674
|
-
query_params = opts[:query_params] || {}
|
675
|
-
|
676
|
-
# header parameters
|
677
|
-
header_params = opts[:header_params] || {}
|
678
|
-
# HTTP header 'Accept' (if needed)
|
679
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
680
|
-
# HTTP header 'Content-Type'
|
681
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
682
|
-
header_params[:'Zap-Trace-Span'] = opts[:'zap_trace_span'] if !opts[:'zap_trace_span'].nil?
|
683
|
-
|
684
|
-
# form parameters
|
685
|
-
form_params = opts[:form_params] || {}
|
686
|
-
|
687
|
-
# http body (model)
|
688
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body)
|
689
|
-
|
690
|
-
# return_type
|
691
|
-
return_type = opts[:debug_return_type]
|
692
|
-
|
693
|
-
# auth_names
|
694
|
-
auth_names = opts[:debug_auth_names] || ['header']
|
695
|
-
|
696
|
-
new_options = opts.merge(
|
697
|
-
:operation => :"OrganizationsApi.patch_orgs_id_secrets",
|
698
|
-
:header_params => header_params,
|
699
|
-
:query_params => query_params,
|
700
|
-
:form_params => form_params,
|
701
|
-
:body => post_body,
|
702
|
-
:auth_names => auth_names,
|
703
|
-
:return_type => return_type
|
704
|
-
)
|
705
|
-
|
706
|
-
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
707
|
-
if @api_client.config.debugging
|
708
|
-
@api_client.config.logger.debug "API called: OrganizationsApi#patch_orgs_id_secrets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
709
|
-
end
|
710
|
-
return data, status_code, headers
|
711
|
-
end
|
712
|
-
|
713
577
|
# Create an organization
|
714
578
|
# @param post_organization_request [PostOrganizationRequest] Organization to create
|
715
579
|
# @param [Hash] opts the optional parameters
|
@@ -919,77 +783,5 @@ module InfluxDB2::API
|
|
919
783
|
end
|
920
784
|
return data, status_code, headers
|
921
785
|
end
|
922
|
-
|
923
|
-
# Delete secrets from an organization
|
924
|
-
# @param org_id [String] The organization ID.
|
925
|
-
# @param secret_keys [SecretKeys] Secret key to delete
|
926
|
-
# @param [Hash] opts the optional parameters
|
927
|
-
# @option opts [String] :zap_trace_span OpenTracing span context
|
928
|
-
# @return [nil]
|
929
|
-
def post_orgs_id_secrets(org_id, secret_keys, opts = {})
|
930
|
-
post_orgs_id_secrets_with_http_info(org_id, secret_keys, opts)
|
931
|
-
nil
|
932
|
-
end
|
933
|
-
|
934
|
-
# Delete secrets from an organization
|
935
|
-
# @param org_id [String] The organization ID.
|
936
|
-
# @param secret_keys [SecretKeys] Secret key to delete
|
937
|
-
# @param [Hash] opts the optional parameters
|
938
|
-
# @option opts [String] :zap_trace_span OpenTracing span context
|
939
|
-
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
940
|
-
def post_orgs_id_secrets_with_http_info(org_id, secret_keys, opts = {})
|
941
|
-
if @api_client.config.debugging
|
942
|
-
@api_client.config.logger.debug 'Calling API: OrganizationsApi.post_orgs_id_secrets ...'
|
943
|
-
end
|
944
|
-
# verify the required parameter 'org_id' is set
|
945
|
-
if @api_client.config.client_side_validation && org_id.nil?
|
946
|
-
fail ArgumentError, "Missing the required parameter 'org_id' when calling OrganizationsApi.post_orgs_id_secrets"
|
947
|
-
end
|
948
|
-
# verify the required parameter 'secret_keys' is set
|
949
|
-
if @api_client.config.client_side_validation && secret_keys.nil?
|
950
|
-
fail ArgumentError, "Missing the required parameter 'secret_keys' when calling OrganizationsApi.post_orgs_id_secrets"
|
951
|
-
end
|
952
|
-
# resource path
|
953
|
-
local_var_path = '/orgs/{orgID}/secrets/delete'.sub('{' + 'orgID' + '}', CGI.escape(org_id.to_s))
|
954
|
-
|
955
|
-
# query parameters
|
956
|
-
query_params = opts[:query_params] || {}
|
957
|
-
|
958
|
-
# header parameters
|
959
|
-
header_params = opts[:header_params] || {}
|
960
|
-
# HTTP header 'Accept' (if needed)
|
961
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
962
|
-
# HTTP header 'Content-Type'
|
963
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
964
|
-
header_params[:'Zap-Trace-Span'] = opts[:'zap_trace_span'] if !opts[:'zap_trace_span'].nil?
|
965
|
-
|
966
|
-
# form parameters
|
967
|
-
form_params = opts[:form_params] || {}
|
968
|
-
|
969
|
-
# http body (model)
|
970
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(secret_keys)
|
971
|
-
|
972
|
-
# return_type
|
973
|
-
return_type = opts[:debug_return_type]
|
974
|
-
|
975
|
-
# auth_names
|
976
|
-
auth_names = opts[:debug_auth_names] || ['header']
|
977
|
-
|
978
|
-
new_options = opts.merge(
|
979
|
-
:operation => :"OrganizationsApi.post_orgs_id_secrets",
|
980
|
-
:header_params => header_params,
|
981
|
-
:query_params => query_params,
|
982
|
-
:form_params => form_params,
|
983
|
-
:body => post_body,
|
984
|
-
:auth_names => auth_names,
|
985
|
-
:return_type => return_type
|
986
|
-
)
|
987
|
-
|
988
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
989
|
-
if @api_client.config.debugging
|
990
|
-
@api_client.config.logger.debug "API called: OrganizationsApi#post_orgs_id_secrets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
991
|
-
end
|
992
|
-
return data, status_code, headers
|
993
|
-
end
|
994
786
|
end
|
995
787
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#InfluxDB OSS API Service
|
3
3
|
|
4
|
-
#
|
4
|
+
#The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 2.0.0
|
7
7
|
|
@@ -140,7 +140,7 @@ module InfluxDB2::API
|
|
140
140
|
return data, status_code, headers
|
141
141
|
end
|
142
142
|
|
143
|
-
#
|
143
|
+
# Retrieve the currently authenticated user
|
144
144
|
# @param [Hash] opts the optional parameters
|
145
145
|
# @option opts [String] :zap_trace_span OpenTracing span context
|
146
146
|
# @return [UserResponse]
|
@@ -149,7 +149,7 @@ module InfluxDB2::API
|
|
149
149
|
data
|
150
150
|
end
|
151
151
|
|
152
|
-
#
|
152
|
+
# Retrieve the currently authenticated user
|
153
153
|
# @param [Hash] opts the optional parameters
|
154
154
|
# @option opts [String] :zap_trace_span OpenTracing span context
|
155
155
|
# @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
|
@@ -203,7 +203,9 @@ module InfluxDB2::API
|
|
203
203
|
# @option opts [String] :zap_trace_span OpenTracing span context
|
204
204
|
# @option opts [Integer] :offset
|
205
205
|
# @option opts [Integer] :limit (default to 20)
|
206
|
-
# @option opts [String] :after
|
206
|
+
# @option opts [String] :after Resource ID to seek from. Results are not inclusive of this ID. Use `after` instead of `offset`.
|
207
|
+
# @option opts [String] :name
|
208
|
+
# @option opts [String] :id
|
207
209
|
# @return [Users]
|
208
210
|
def get_users(opts = {})
|
209
211
|
data, _status_code, _headers = get_users_with_http_info(opts)
|
@@ -215,7 +217,9 @@ module InfluxDB2::API
|
|
215
217
|
# @option opts [String] :zap_trace_span OpenTracing span context
|
216
218
|
# @option opts [Integer] :offset
|
217
219
|
# @option opts [Integer] :limit
|
218
|
-
# @option opts [String] :after
|
220
|
+
# @option opts [String] :after Resource ID to seek from. Results are not inclusive of this ID. Use `after` instead of `offset`.
|
221
|
+
# @option opts [String] :name
|
222
|
+
# @option opts [String] :id
|
219
223
|
# @return [Array<(Users, Integer, Hash)>] Users data, response status code and response headers
|
220
224
|
def get_users_with_http_info(opts = {})
|
221
225
|
if @api_client.config.debugging
|
@@ -241,6 +245,8 @@ module InfluxDB2::API
|
|
241
245
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
242
246
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
243
247
|
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
248
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
249
|
+
query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
|
244
250
|
|
245
251
|
# header parameters
|
246
252
|
header_params = opts[:header_params] || {}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#InfluxDB OSS API Service
|
3
3
|
|
4
|
-
#
|
4
|
+
#The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 2.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#InfluxDB OSS API Service
|
3
3
|
|
4
|
-
#
|
4
|
+
#The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 2.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#InfluxDB OSS API Service
|
3
3
|
|
4
|
-
#
|
4
|
+
#The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 2.0.0
|
7
7
|
|