Skip to content
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

[STORY] Implement Influx APIs #908

Closed
nkunal opened this issue May 20, 2024 · 0 comments · Fixed by #915
Closed

[STORY] Implement Influx APIs #908

nkunal opened this issue May 20, 2024 · 0 comments · Fixed by #915

Comments

@nkunal
Copy link
Contributor

nkunal commented May 20, 2024

Description

  1. GET /influx/api/v2/query?q=show databases
    Response:
    example:
    // Do ad-hoc parsing to find existing database names:
    // {"results":[{"series":[{"name":"databases","columns":["name"],"values":[["_internal"],["benchmark_db"]]}]}]}%

  2. POST /influx/api/v2/query?q=drop+database+benchmark

Response: Can be just status code=200

  1. GET /query?consistency=all&q=CREATE+DATABASE+benchmark+WITH+REPLICATION+1

Response: can be just status code=200

These APIs can be added here : https://github.com/siglens/siglens/blob/develop/pkg/server/ingest/server.go#L107

@venkateshamatam venkateshamatam linked a pull request May 31, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants