Add get_labels, private method that both labels and labels_by_org share.
Add appropiate tests and example
comment corrections
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
POST /query/ast
GET /query/suggestions
GET /query/suggestions/{name}
POST /query/analyze
POST /query
Added required models, tests & examples
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
Replace find_labes with labels
Replace find_labels_by_id with find_labels
Add base_path to test
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
List all Labels
Retrieve a label by ID
Create a Label
Update a Label
Delete a Label
Add examples and test
Add necessary models
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
- Check if database has default user, org, bucket
- Set up initial user, org and bucket
- Set up a new user, org and bucket
- Add examples and test
- Add necessary models
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
Get the readiness of an instance at startup
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Connects to influxdata/fusion#60
As far as I can tell, `/api/v2/write` uses `org` and `bucket` params
that can take org and bucket names, so just call those `org` and
`bucket` throughout and clarify in examples they can be any string.
However, `/api/v2/buckets` uses only `orgID` that must be the
organization's 16-digit hex ID, so clarify that case.
This means in examples where we create a bucket and push points into it,
we'll need both a hex ID and name for the organization.
Connects to influxdata/fusion#59. Delorean currently ignores this
header.
Also add an example of using this to connect to an InfluxDB 2 instance;
I tested this out with a locally running Influx DB 2 and I was able to
write points!