-
Notifications
You must be signed in to change notification settings - Fork 317
API reference docs (with OpenAPI specs) for Core and Enterprise #5870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Adds basic support for core and enterprise in getswagger.sh
- Adds custom OpenAPI info for Core and Enterprise
- Validates as OpenAPI 3.0 (using Spectral)
- operationId
- tags
- Revises use of Legacy, v2
- TODO: need to check and validate in UI, adjust tags if nec.
- Add and remove components
- Update parameters
- Add examples
- Add tests for Core
…contain a .config.yml OpenAPI config
… - prevents undefined GTM object errors in dev - Stub Google Tag Manager in the test
- Adds InfluxDB 3 Core API reference - Updates scripts - Removes non-valid info.summary field from specs, replaces with description in metadata - Simplifies frontmatter generation for HTML template - Reorg of file structure to mirror the content structure. - Moves OSS v2 into v2/v2/ref.yml to follow the same pattern as others - Replaces isDefault API config field with specific aliases. - Misc. fixes. - Remove generated HTML files.
- Add a custom x-influxdata-short-description field that replaces the previous non-standard summary field used by Redocly. - Double quote the title and description vars to preserve the entire value when passing them to the CLI
- Adds the widget script to template.hbs. - Copies branding color and font styles from js/ask-ai.js - Copies position and some sizes from the configuration docs. - This will be replaced when the API uplift is completed and using the same layouts as the rest of the site.
…groups. Closes Remove tag groups from API ref docs that duplicate endpoints in the "All endpoints" tag group. #5868
- Fix broken links reported by the e2e link checker. - Add an e2e test for checking internal and external links in API reference docs. Low effort, big win.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow! That's a lot of work. Thanks for doing this. Just a few minor suggestions.
Co-authored-by: Scott Anderson <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will take some time to get through, I left a couple comments so far.
Co-authored-by: Trevor Hilton <[email protected]>
Co-authored-by: Trevor Hilton <[email protected]>
…steps: Apply suggestions from @hiltontj. List data flow steps ported from 0fdd0efa0. Use enum for field column types.
|
@sanderson Updated to add write data flow steps |
|
@peterbarnett03 FYI, publishing Core and Enterprise API references |


View on staging:
https://test2.docs.influxdata.com/influxdb3/core/reference/api/ | Diff: Core spec (ref.yml)
https://test2.docs.influxdata.com/influxdb3/enterprise/reference/api/ | Diff: Enterprise spec (ref.yml)
Adds HTTP API reference sections for Core and Monolith.
.info; haven't added anything about multi-node params (if they're relevant for the API)Adds Cypress test for link checking in API docs -- fixes a bunch of reported broken links ❤️
Restructures existing specs, configs, etc. to fall in line with
content/Updates and fixes in
getswagger.shandgenerate-api-docs.shscripts.Cleans up headings and mentions of OSS - removes them or specifies "OSS v2". Closes fix(api-refs): specify v2 in InfluxDB OSS headings #5866
Closes API docs: replace
/influxdb/latestwith/influxdb/v2#5865Closes Add Ask AI widget to API reference docs #5867
Closes Remove tag groups from API ref docs that duplicate endpoints in the "All endpoints" tag group. #5868
Misc. fixes reported by pytest.