influxdata / openapi

An OpenAPI specification for influx (cloud/oss) apis.
MIT License
17 stars 10 forks source link

api/v2/write has unintuitive ID vs name parameters #56

Open lesam opened 3 years ago

lesam commented 3 years ago

1) orgID and org are both parameters, but org will interpret a 16 character hex value as an ID instead of a name, so badfee0000000001 counts as an ID always, never as a name.

2) bucket works like org to prefer an ID and also fall back to trying the value given as a name, but there is no corresponding bucketID. Also this is not documented.

glinton commented 3 years ago

Where these issues aren't strictly related to documenting the behavior in swagger, but more the behavior itself, can you also open an issue in the appropriate cloud/oss repos?