-
Notifications
You must be signed in to change notification settings - Fork 302
Fix OSS v2 /query compatibility API specs and examples #6088
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
base: master
Are you sure you want to change the base?
Conversation
- Adds missing examples for v1-compatible /query - Fixes curl params in examples - Removes unsupported async option from examples - Updates terms for consistency with branding and influxdb3 docs - Copies the missing POST /query operation from swaggerv1compat to the v2 ref.yml - Effectively removes the separate v1-compat spec, and adds redirects and tags for v1-compat endpoints in v2/ref.yml - Updates affected links
- OSS v2 supports partial writes and returns a 422 that describes rejected points, depending on the problem. - Update API spec - Move file to content/shared for Cloud
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[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.
Pull Request Overview
This PR updates the OSS v2 /query compatibility API specs and examples, ensuring that the documentation and sample code accurately reflect the v1-compatible API endpoints and parameters. Key changes include revising endpoint and authentication details in the query examples, updating placeholder texts for clarity, and modifying port mappings in the InfluxDB 3 installation instructions.
Reviewed Changes
Copilot reviewed 24 out of 24 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
content/shared/influxdb-v2/query-data/execute-queries/influx-api.md | Revised API endpoint examples for Flux and InfluxQL queries and updated placeholder texts. |
content/shared/influxdb-v2/api-guide/influxdb-1x/query.md | Updated wording to reference v1-compatible authorization and query parameters. |
content/influxdb3/core/install.md | Changed port mapping from 9999 to 8181 for InfluxDB 3. |
content/influxdb/v2/install/upgrade/v1-to-v2/manual-upgrade.md and automatic-upgrade.md | Updated wording from "1.x-compatible" to "v1-compatible" for consistency. |
api-docs/influxdb/v2/v2/ref.yml, among other API docs | Adjusted tag names and descriptions to support the v1-compatible endpoints. |
Comments suppressed due to low confidence (1)
content/influxdb3/core/install.md:178
- Verify that the updated port mapping '8181:8181' is intentional and that all related documentation or configuration files are updated accordingly.
- 8181:8181
|
||
- {{% code-placeholder-key %}}`ORG_ID`{{% /code-placeholder-key %}} - the ID of the [organization](/influxdb/version/admin/organizations/) that owns the bucket. | ||
- {{% code-placeholder-key %}}`API_TOKEN`{{% /code-placeholder-key %}} - your [token](/influxdb/version/admin/tokens/). | ||
- {{% code-placeholder-key %}}`BUCKET_NAME`{{% /code-placeholder-key %}} - the name of the [bucket](/influxdb/version/admin/buckets/) to create. |
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.
Consider updating the placeholder description from 'to create' to 'to query' or a similar phrase to better reflect the context of executing a query request.
Copilot uses AI. Check for mistakes.
/query
examples in OSS v2