* feat: add api-guides/guides and guides/api-invocable-scripts for the API-invocable scripts (managed functions) feature (##2547, #2233). * feat: document API-invocable scripts. Add example for creating and invoking a script with POST. Unable to make GET work with query parameters. * feat: moved API-invocable scripts under api-guide. Remove guides directory. Add docs for list and find. Add example for list. Add shortcuts and glossary links. Verified with team-compute that GET /invoke and python are not supported yet. * feat: rename example function for simplicity since there's no GET for now. * feat: add find_and_update example (#2547). * feat: add update example. Clarify, expand invoke example. Add links. (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * fix: remove accidental commit of generated redoc-static.html * feat: manual update to cloud swagger. Merges meta, auth, tags, and x-tagGroups from src/cloud.yml to aggregate contracts/ref/cloud.yml. * fix: replace /functions with /scripts * feat: get swaggers from contracts/ref. Still requires copy-paste of info, tags, and auth from contracts/cloud.yml and contracts/oss.yml * feat: invocable scripts (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * feat: new section for params (#2547). * fix: swagger server url (#2547) * Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * feat: remove jq and function where there's no clear need. Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> |
||
|---|---|---|
| .circleci | ||
| .github | ||
| api-docs | ||
| assets | ||
| content | ||
| data | ||
| deploy | ||
| layouts | ||
| shared/text | ||
| static | ||
| .gitignore | ||
| .s3deploy.yml | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
| config.staging.toml | ||
| config.toml | ||
| package.json | ||
| yarn.lock | ||
README.md
InfluxDB 2.0 Documentation
This repository contains the InfluxDB 2.x documentation published at docs.influxdata.com.
Contributing
We welcome and encourage community contributions. For information about contributing to the InfluxData documentation, see Contribution guidelines.
Reporting a Vulnerability
InfluxData takes security and our users' trust very seriously. If you believe you have found a security issue in any of our open source projects, please responsibly disclose it by contacting security@influxdata.com. More details about security vulnerability reporting, including our GPG key, can be found at https://www.influxdata.com/how-to-report-security-vulnerabilities/.
Running the docs locally
-
Clone this repository to your local machine.
-
Install NodeJS, Yarn, Hugo, & Asset Pipeline Tools
The InfluxData documentation uses Hugo, a static site generator built in Go. The site uses Hugo's asset pipeline, which requires the extended version of Hugo along with NodeJS tools like PostCSS, to build and process stylesheets and javascript.
To install the required dependencies and build the assets, do the following:
-
In your terminal, from the
docs-v2directory, install the dependencies:cd docs-v2 yarn installNote: The most recent version of Hugo tested with this documentation is 0.83.1.
-
To generate the API docs, see api-docs/README.md.
-
Start the Hugo server
Hugo provides a local development server that generates the HTML pages, builds the static assets, and serves them at
localhost:1313.In your terminal, start the Hugo server:
npx hugo server -
View the docs at localhost:1313.