influxdata / influxdata/influxdb

Support query parameters in the `/query` API

Open
#24,805 0 comments 0 reactions 0 assignees View on GitHub
security security/misc v3
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

This issue is for adding support to the v1 `/query` to handle `params`, if it is needed for backward compatibility.

### Additional Info

* The `params` option is documented [here](https://docs.influxdata.com/influxdb/v1/tools/api/#bind-parameters).
* The original handler code for processing parameters is [here](https://github.com/influxdata/influxdb/blob/bc80e881fa34aef4145007aa510ffe3e78d3e7ab/services/httpd/handler.go#L602-L630).

Contributor guide

Open the contributing guide

Research direction

Start with the v1 `/query` API and the documented `params` option, then compare its expected behavior with the original parameter-processing code in `services/httpd/handler.go` lines 602-630. Done means the endpoint handles `params` with behavior compatible with the v1 API.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, rust
Domain
api, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.