InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client-apis > ListStacksRequest
Signature:
interface ListStacksRequest
Property | Modifiers | Type | Description |
---|---|---|---|
name? | string | <p>(Optional) The stack name. Finds stack events with this name and returns the stacks.</p><p>Repeatable. To filter for more than one stack name, repeat this parameter with each name–for example:</p><p>- http://localhost:8086/api/v2/stacks?&orgID=INFLUX_ORG_ID&name=project-stack-0&name=project-stack-1 </p> |
|
orgID | string | <p>The ID of the organization that owns the stacks. Only returns stacks owned by this organization.</p><p>#### InfluxDB Cloud</p><p>- Doesn’t require this parameter; InfluxDB only returns resources allowed by the API token.</p> | |
stackID? | string | <p>(Optional) The stack ID. Only returns stacks with this ID.</p><p>Repeatable. To filter for more than one stack ID, repeat this parameter with each ID–for example:</p><p>- http://localhost:8086/api/v2/stacks?&orgID=INFLUX_ORG_ID&stackID=09bd87cd33be3000&stackID=09bef35081fe3000 </p> |