docs-v2/api-docs/README.md

309 lines
12 KiB
Markdown
Raw Normal View History

# API reference documentation
## TL;DR: validate and test your local `influxdata/openapi` changes
1. After you've edited `influxdata/openapi` definitions, you need to generate and validate contracts and test the API reference docs.
To create a shell alias that does this, open your `~/.profile` in an editor and add the following commands to the file:
```sh
export DOCS="$HOME/github/docs-v2"
alias gsd="cd $HOME/github/openapi && make generate-all && \
npx oats ./contracts/ref/cloud.yml && npx oats ./contracts/ref/oss.yml && \
cd $DOCS/api-docs && ./getswagger.sh all -b file:///Users/jasonstirnaman/github/openapi && \
sh ./generate-api-docs.sh"
```
2. To refresh your environment with the `~/.profile` changes, enter the following command into your terminal:
```sh
source ~/.profile
```
3. To run the alias, enter the following command into your terminal:
```sh
gsd
```
`gsd` generates the local contracts in `~/github/openapi`, validates them with OATS, bundles and lints them with `@redocly/cli`, and then generates the HTML with `@redocly/cli`.
## Update API docs for InfluxDB Cloud
1. In your `docs-v2` directory, create a branch for your changes--for example:
```sh
cd ~/github/docs-v2
git fetch -ap
git checkout -b release/api-cloud origin/master
```
2. Enter the following commands into your terminal to fetch and process the contracts:
```sh
# In your terminal, go to the `docs-v2/api-docs` directory:
cd ./api-docs
# Fetch the contracts, apply customizations, and bundle.
sh getswagger.sh cloud
```
3. To generate the HTML files for local testing, follow the instructions to [generate API docs locally](#generate-api-docs-locally).
4. To commit your updated spec files, push your branch to `influxdata/docs-v2`, and create a PR against the `master` branch.
## Update API docs for an InfluxDB OSS release
1. Go into your local `influxdata/openapi` repo directory--for example:
```sh
cd ~/github/openapi
```
2. Get the SHA for the release commit (or consult Team-Edge if you're not sure)--for example, enter the following command into your terminal to get the latest SHA for `contracts/ref/oss.yml` :
```sh
git log -n 1 --pretty=format:%h -- contracts/ref/oss.yml
```
3. Copy the SHA from the output and create a git tag by running the following command, replacing **`[SEMANTIC_VERSION]`** with the OSS release (for example, `2.3.0`) and **`COMMIT_SHA`** with the SHA from step 2:
```sh
git tag influxdb-oss-v[SEMANTIC_VERSION] COMMIT_SHA
```
4. Enter the following commands into your terminal to push the new tag to the repo:
```sh
git push tags
```
5. Enter the following commands into your terminal to update `docs-release/influxdb-oss` branch to the OSS release commit and rebase the branch to the [latest release of InfluxDB OSS](#how-to-find-the-api-spec-used-by-an-influxdb-oss-version), replacing **`OSS_RELEASE_TAG`** with the SHA from step 3.
```sh
git checkout docs-release/influxdb-oss
git rebase -i OSS_RELEASE_TAG
git push -f origin docs-release/influxdb-oss
```
6. Go into your `docs-v2` directory and create a branch for your changes--for example:
```sh
cd ~/github/docs-v2
git fetch -ap
git checkout -b release/api-oss origin/master
```
7. In `./api-docs`, create a directory for the new OSS version number--for example:
```sh
# In your terminal, go to the `docs-v2/api-docs` directory:
cd ./api-docs
# Create the directory:
mkdir v2.3
```
8. Enter the following commands into your terminal to fetch and process the contracts:
```sh
# Fetch the contracts, apply customizations, and bundle.
sh getswagger.sh oss
```
9. To generate the HTML files for local testing, follow the instructions to [generate API docs locally](#generate-api-docs-locally).
10. To commit your updated spec files, push your branch to `influxdata/docs-v2`, and create a PR against the `master` branch.
## Update API docs for OSS spec changes between releases
Follow these steps to update OSS API docs between version releases--for example, after revising description fields in `influxdata/openapi`.
1. Go into your local `influxdata/openapi` repo directory--for example:
```sh
cd ~/github/openapi
```
2. Enter the following commands into your terminal to checkout `docs-release/influxdb-oss` branch:
```sh
git fetch -ap
git checkout -t docs-release/influxdb-oss
```
3. Cherry-pick the commits with the updated description fields, and push the commits to the remote branch, replacing **`[COMMIT_SHAs]`** (one or more commit SHAs (space-separated))--for example:
```sh
git cherry-pick [COMMIT_SHAs]
git push -f origin docs-release/influxdb-oss
4. Go into your `docs-v2` directory and create a branch for your changes--for example:
```sh
cd ~/github/docs-v2
git fetch -ap
git checkout -b docs/api-oss origin/master
```
5. Go into `./api-docs` directory--for example:
```sh
# In your terminal, go to the `docs-v2/api-docs` directory:
cd ./api-docs
```
6. Enter the following commands into your terminal to fetch and process the contracts:
```sh
# Fetch the contracts, apply customizations, and bundle.
sh getswagger.sh oss
```
7. To generate the HTML files for local testing, follow the instructions to [generate API docs locally](#generate-api-docs-locally).
8. To commit your updated spec files, push your branch to `influxdata/docs-v2`, and create a PR against the `master` branch.
## Generate InfluxDB API docs
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
InfluxData uses [Redoc](https://github.com/Redocly/redoc/),
[redoc-cli](https://github.com/Redocly/redoc/blob/master/cli/README.md),
and Redocly's [OpenApi CLI](https://redoc.ly/docs/cli/) to generate
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
API documentation from the [InfluxDB OpenAPI (aka Swagger) contracts](https://github.com/influxdata/openapi).
2019-09-27 20:42:01 +00:00
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
To minimize the size of the `docs-v2` repository, the generated API documentation HTML is gitignored, therefore
not committed to the docs repo.
The InfluxDB docs deployment process uses OpenAPI specification files in the `api-docs` directory
to generate version-specific (Cloud, OSS v2.1, OSS v2.0, etc.) API documentation.
2019-09-27 20:42:01 +00:00
### Generate API docs locally
Because the API documentation HTML is gitignored, you must manually generate it
to view the API docs locally.
The `./generate.sh` script uses the Redoc CLI to generate Redocly HTML, Javascript,
and CSS for each version of the InfluxDB spec.
The script uses `npx` to download and execute the Redocly CLI.
1. Verify that you have a working `npx` (it's included with Node.js).
In your terminal, run:
```sh
npx --version
```
If `npx` returns errors, [download](https://nodejs.org/en/) and run a recent version of the Node.js installer for your OS.
2. To generate API docs for _all_ InfluxDB versions in `./openapi`, enter the following command into your terminal:
```sh
sh generate-api-docs.sh
```
To save time testing your spec changes, you can pass the `-c` flag
to regenerate HTML for only the OpenAPI files that differ from your `master` branch.
```sh
sh generate-api-docs.sh -c
```
## How we version OpenAPI contracts
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
The `api-docs` directory structure versions OpenAPI files using the following pattern:
2019-09-30 16:59:25 +00:00
```md
2019-09-30 16:16:09 +00:00
api-docs/
|-- cloud/
│ └── ref.yml
│ └── swaggerV1Compat.yml
2019-09-30 16:16:09 +00:00
├── v2.0/
│ └── ref.yml
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
│ └── swaggerV1Compat.yml
2019-09-30 16:16:09 +00:00
├── v2.1/
│ └── ref.yml
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
│ └── swaggerV1Compat.yml
2019-09-30 16:16:09 +00:00
├── v2.2/
│ └── ref.yml
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
│ └── swaggerV1Compat.yml
└── etc...
```
### InfluxDB Cloud version
InfluxDB Cloud releases are frequent and not versioned, so the Cloud API spec isn't versioned.
We regenerate API reference docs from `influxdata/openapi`
**master** branch as features are released.
### InfluxDB OSS version
Given that
`influxdata/openapi` **master** may contain OSS spec changes not implemented
in the current OSS release, we (Docs team) maintain a release branch, `influxdata/openapi`
**docs-release/influxdb-oss**, used to generate OSS reference docs.
### How to find the API spec used by an InfluxDB OSS version
`influxdata/openapi` does not version the InfluxData API.
To find the `influxdata/openapi` commit SHA used in a specific version of InfluxDB OSS,
see `/scripts/fetch-swagger.sh` in `influxdata/influxdb`--for example,
for the `influxdata/openapi` commit used in OSS v2.2.0, see https://github.com/influxdata/influxdb/blob/v2.2.0/scripts/fetch-swagger.sh#L13=.
For convenience, we tag `influxdata/influxdb` (OSS) release points in `influxdata/openapi` as
`influxdb-oss-v[OSS_VERSION]`. See <https://github.com/influxdata/openapi/tags>.
## How to use custom OpenAPI spec processing
Generally, you should manage API content in `influxdata/openapi`.
In some cases, however, you may want custom processing (e.g. collecting all Tags)
or additional content (e.g. describing the reference documentation)
specifically for the docs.
When you run `getswagger.sh`, it executes `@redocly/openapi-cli` and the plugins listed in `.redocly.yaml`.
[`./openapi/plugins`](./openapi/plugins) use
[`./openapi/plugins/decorators`](./openapi/plugins/decorators) to apply custom
processing to OpenAPI specs.
`.yml` files in [`./openapi/content`](./openapi/content) set content for sections (nodes) in the contract.
To update the content for those nodes, you only need to update the YAML files.
To add new YAML files for other nodes in the contracts,
configure the new content YAML file in [`./openapi/content/content.js`](./openapi/content/content.js).
The content structure and Markdown must be valid OAS.
Then, you'll need to write or update a decorator module for the node and configure the decorator in the plugin,
e.g. [`./openapi/plugins/docs-plugin.js`](`./openapi/plugins/docs-plugin.js).
See the [complete list of OAS v3.0 nodes](https://github.com/Redocly/openapi-cli/blob/master/packages/core/src/types/oas3.ts#L529).
`@redocly/openapi-cli` requires that modules use CommonJS `require` syntax for imports.
### How to add tag content or describe a group of paths
In API reference docs, we use OpenAPI `tags` elements for navigation and the
`x-traitTag` vendor extension to define custom content.
| Example | OpenAPI field | |
|:-------------------------------------------------------------------------------------------------------|-------------------------------------------------------|--------------------------------------------|
| [Add supplementary documentation](https://docs.influxdata.com/influxdb/cloud/api/#tag/Quick-start) | `tags: [ { name: 'Quick start', x-traitTag: true } ]` | [Source](https://github.com/influxdata/openapi/master/src/cloud/tags.yml) |
| [Group and describe related paths](https://docs.influxdata.com/influxdb/cloud/api/#tag/Authorizations) | `tags: [ { name: 'Buckets', description: '...' } ]` | [Source](https://github.com/influxdata/openapi/master/src/cloud/tags-groups.yml)) |
## How to test your spec or API reference changes
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
You can use `getswagger.sh` to fetch contracts from any URL.
For example, if you've made changes to spec files and generated new contracts in your local `openapi` repo, run `getswagger.sh` to fetch and process them.
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
To fetch contracts from your own `openapi` repo, pass the
`-b` `base_url` option and the full path to your `openapi` directory.
```sh
# Use the file:/// protocol to pass your openapi directory.
sh getswagger.sh oss -b file:///Users/me/github/openapi
```
After you fetch them, run the linter or generate HTML to test your changes before you commit them to `influxdata/openapi`.
By default, `getswagger.sh` doesn't run the linter when bundling
the specs.
Manually run the [linter rules](https://redoc.ly/docs/cli/resources/built-in-rules/) to get a report of errors and warnings.
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
```sh
npx @redocly/openapi-cli lint v2.1/ref.yml
```
### Configure OpenAPI CLI linting and bundling
base update to 2.2 (#3744) * base update to 2.2 * draft release notes * draft InfluxDB 2.2 release notes * move release notes to new PR * update api for 2.2 * fix menu items * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update data/products.yml Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * frontmatter fixes * Feat/oss v2 2 metrics (#3762) * feat: copy v2.1 metrics to v2.2. * feat: new storage metrics in v2.2 * feat: v2.2 storage metrics. * fix: revert 2.1 paths. * Update "Get started with tasks" (#3763) * update get started with tasks, closes influxdata/DAR#272 * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * update nats config options, update influxd-flags logic, related to #3766 (#3771) * updated token create API examples, closes influxdata/DAR#267 (#3773) * ported scalar values update to 2.2 * Chore/move openapicli process (#3801) * Internal measurements for monitoring Enterprise (#3698) * Add 1.21.4 (#3789) * Add 1.21.4 * Update content/telegraf/v1.21/about_the_project/release-notes-changelog.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Add apt and knot plugins Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * InfluxDB Enterprise 1.9.6 (#3650) * Document meta-node HTTP access logging (#3486) * Document `influxd-ctl backup -estimate` flag (#3484) Closes #3480 * add new option for SIGTERM (#3496) * Document `-meta-only-overwrite-force` restore flag for Enterprise (#3487) * Document `max-concurrent-deletes` option (#3697) * Update Enterprise cluster metrics: add `openConnections` (#3703) Closes #3653 * Remove marketplace offerings from Enterprise * Use bytes in certain Enterprise config examples (#3743) * InfluxDB Enterprise 1.9: remove default values from configuration headings (#3759) Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * fix: bad link. (#3793) * Update products.yml * Feat/3411 link to cloud limits (#3795) * feat: link from write error responses to related Cloud limits topics. * feat: link Troubleshooting writes to Cloud limits. * fix: grammar. * Update content/influxdb/cloud/write-data/troubleshoot.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * First updates for the new brand (#3796) * first pass with new branding, logos, fonts * updated table font sizes * removed unnecessary file * Update assets/styles/layouts/_sidebar.scss Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * a few last style updates Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * chore: move openapi-cli postprocessing to the getSwagger step. * chore: convert the content generators to functions so they're not executed on import (which broke the linter). Move the generators into the decorators and remove options args to simplify. Update and simplify the README. Update the oss v2.1 contract. * README Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> * port menu url fix from master to 2.2 * Feat/oss 2 2 config (#3774) * wip: add new server-config CLI command and /api/v2/config path. Fix Operator token doc. (#3523) * feat: document OSS-only and . Deprecate assets-path: "" (closes #3523) * chore: add toc * Replace run-time with runtime. (#3774) * Update content/influxdb/v2.2/reference/cli/influx/server-config/_index.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * formatted all flux examples in influxdb 2.2 * Fix/set tag groups (#3823) * fix: replacement of Info: in contracts. fix: add missing const declarations. fix: add a decorator to remove redundant servers with empty URLs -- all servers should be root now since paths are explicit. * fix: invalid mix of tags as strings and objects in root.tags. Convert all tags to objects with a default description. * fix: use tag objects instead of mixing strings and objects in x-tagGroups -- fixes validation errors. * port data retention and deletion updates to 2.2 * ported updated current version shortcode to 2.2 * Feat/3414 v2.2 debug pprof (#3844) * feat: update API reference for OSS v2.2. Adds /debug/pprof. * feat: add v2.2 runtime reference. * fix: update URLs. * port hardening-enabled config info, closes #3867, closes #3866 (#3873) * Fix/3855 oss2.2 (#3857) * fix: update npm example in v2.2. (#3855) * fix: cardinality for ossv2.2 (#3850) * updating placeholders in 2.2 * Document `influx remote` and `influx replication` (#3469) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * ported migration docs into 2.2 * updated edge.js * porting various minor changes into 2.2 * InfluxDB 2.2 release notes (#3745) * draft 2.2 release notes * remove flux lines; regroup other items * update link to Flux RNs * update release notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * fix frontmatter * fix link; update version * edit * revert for review clarity * Update influxdb.md * note about technical preview & feature overview * edit from Jason * Update content/influxdb/v2.2/reference/release-notes/influxdb.md * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Updates per Tim H and Sam feedback * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * changes made from feedback * changed technical preview notes * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com> * add link to OSS metrics page * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> * Add security section to influxdb/v2.2/reference/release-notes/influxdb.md (#3898) * edits from Sam * edit from sam * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.m Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> * edits * Update content/influxdb/v2.2/reference/release-notes/influxdb.md Co-authored-by: Sam Dillard <sam@influxdata.com> * edit from Sam * edit from Sam * edits from Tim Co-authored-by: lwandzura <51929958+lwandzura@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: Jamie Strandboge <jamie@strandboge.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * Recover credentials (#3915) * draft recover creds * add relate * add new option to index * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md * edit from SamA; add note * sync headers * add overview bullets; update links * context from SamA * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/influxdb/v2.2/users/recover-credentials.md Co-authored-by: Sam Dillard <sam@influxdata.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Sam Dillard <sam@influxdata.com> * update couple stray versions * add technical preview to the glossary * update release date * fix link * Add documentation for replications max-age (#3936) Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com> Co-authored-by: Scott Anderson <scott@influxdata.com> Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> Co-authored-by: noramullen1 <42354779+noramullen1@users.noreply.github.com> Co-authored-by: Sam Arnold <sarnold@influxdata.com> Co-authored-by: Sunbrye Ly <sunbryely@Sunbryes-MacBook-Pro.local> Co-authored-by: sunbryely-influxdata <101659702+sunbryely-influxdata@users.noreply.github.com> Co-authored-by: Dane Strandboge <dane@strandboge.com>
2022-04-06 22:07:21 +00:00
The `.redoc.yaml` configuration file sets options for the `@redocly/openapi-cli` [`lint`](https://redoc.ly/docs/cli/commands/lint/) and [`bundle`](https://redoc.ly/docs/cli/commands/bundle/) commands.
`./openapi/plugins` contains custom InfluxData Docs plugins composed of *rules* (for validating and linting) and *decorators* (for customizing). For more configuration options, see `@redocly/openapi-cli` [configuration file documentation](https://redoc.ly/docs/cli/configuration/configuration-file/).