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

Support GET queries by list and ID #10

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

digitalpoetry
Copy link

I've added methods for getting Redash queries as a list and getting a Redash query by ID.

c.GetQueries() // corresponds with Redash's GET /api/queries
c.GetQuery(id) // corresponds with Redash's GET /api/queries/id

I'm hoping to contribute to https://github.com/snowplow-devops/terraform-provider-redash by adding support for managing queries and dashboards. This starts with adding functionality for CRUD operations on these resources from the Redash client.

In the interest of keeping PRs small, here's the first. I'll add create, update, delete operations in another PR.

Do let me know if you have any feedback. Thanks!

@jbeemster
Copy link
Member

Hi @digitalpoetry sorry for the delay in responding to you here - would you mind rebasing on master and ill take a look and get your changes merged in?

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 this pull request may close these issues.

4 participants