InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client-apis > PostQueryRequest
Signature:
interface PostQueryRequest
Property | Modifiers | Type | Description |
---|---|---|---|
body | Query | Flux query or specification to execute | |
org? | string | <p>(Optional) The name or ID of the organization executing the query.</p><p>#### InfluxDB Cloud</p><p>- Doesn’t use org or orgID . - Queries the bucket in the organization associated with the authorization (API token).</p><p>#### InfluxDB OSS</p><p>- Requires either org or orgID .</p> |
|
orgID? | string | <p>(Optional) The ID of the organization executing the query.</p><p>#### InfluxDB Cloud</p><p>- Doesn’t use org or orgID . - Queries the bucket in the organization associated with the authorization (API token).</p><p>#### InfluxDB OSS</p><p>- Requires either org or orgID .</p> |