Commit Graph

2 Commits (c5dc48db04c6ceb3adb2fed77ffa95faf7277b75)

Author SHA1 Message Date
Carol (Nichols || Goulding) 4ab8597f50 fix: Clarify what takes org/bucket names and what takes IDs
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.
2020-09-02 16:32:24 -04:00
Carol (Nichols || Goulding) 6223cbdc99 feat: Add an authorization token to all client requests
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!
2020-09-02 10:33:45 -04:00