fix: add Invocable Scripts tag description. (#3296)

pull/3300/head
Jason Stirnaman 2021-10-25 11:07:53 -05:00 committed by GitHub
parent 6587ee1fdc
commit e20b55cb9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -15,6 +15,18 @@ tags:
- [Querystring authentication](#section/Authentication/QuerystringAuthentication) - [Querystring authentication](#section/Authentication/QuerystringAuthentication)
<!-- ReDoc-Inject: <security-definitions> --> <!-- ReDoc-Inject: <security-definitions> -->
x-traitTag: true x-traitTag: true
- name: Invocable Scripts
description: |
Manage and execute scripts as API endpoints in InfluxDB.
An API Invocable Script assigns your custom Flux script to a new InfluxDB API endpoint for your organization.
Invocable scripts let you execute your script as an HTTP request to the endpoint.
Invocable scripts accept parameters. Add parameter references in your script as `params.myparameter`.
When you `invoke` your script, you send parameters as key-value pairs in the `params` object.
InfluxDB executes your script with the key-value pairs as arguments and returns the result.
For more information and examples, see [Invoke custom scripts](https://docs.influxdata.com/influxdb/cloud/api-guide/api-invocable-scripts).
- name: Quick start - name: Quick start
x-traitTag: true x-traitTag: true
description: | description: |