chore: update to the latest swagger API, add an example "How to use Templates and Stack API" #399
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #396
Proposed Changes
1.
Added an example
How to use Templates and Stack API
.2.
LegacyAuthorizationsService
to deal with legacy authorizationsResourceService
to retrieve all knows resourcesBackupService
to represents the data backup functions of InfluxDBReplicationsService
to represents the replication functions of InfluxDBRestoreService
to represents the data restore functions of InfluxDBConfigService
to retrieve InfluxDB's runtime configurationRemoteConnectionsService
to deal with registered remote InfluxDB connectionsTelegrafPluginsService
to retrieve all Telegraf's pluginsTemplatesService
to deal withStack
andTemplate
APIDBRPsService
:org_id
parameter for operationsget_dbr_ps_id
operation usesDBRPGet
as a type of resultpatch_dbrpid
operation usesDBRPGet
as a type of resultpost_dbrp
operation usesDBRPCreate
as a type of requestDefaultService
:get_routes
operation is moved toRoutesService
get_telegraf_plugin
operation is moved toTelegrafsService
post_signin
operation is moved toSigninService
post_signout
operation is moved toSignoutService
OrganizationsService
:get_orgs_id_secrets
operation is moved toSecretsService
patch_orgs_id_secrets
operation is moved toSecretsService
post_orgs_id_secrets
operation is moved toSecretsService
DocumentApi
in favour of InfluxDB Community Templates. For more info see - influxdb#19300, openapi#192TelegrafsService
usesTelegrafPluginRequest
to createTelegraf
configurationTelegrafsService
usesTelegrafPluginRequest
to updateTelegraf
configurationChecklist
pytest tests
completes successfully