Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 1 addition & 28 deletions api-docs/v2/ref.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3453,7 +3453,7 @@ components:
description: |
The schema Type. Default is `implicit`.

#### InfluxDB Cloud
#### InfluxDB Cloud v2

- Use `explicit` to enforce column names, tags, fields, and data types for
your data.
Expand Down Expand Up @@ -3513,33 +3513,6 @@ components:
Default is the server `now` time.
format: date-time
type: string
params:
additionalProperties: true
description: |
Key-value pairs passed as parameters during query execution.

To use parameters in your query, pass a _`query`_ with `params` references (in dot notation)--for example:

```json
query: "from(bucket: params.mybucket)\
|> range(start: params.rangeStart) |> limit(n:1)"
```

and pass _`params`_ with the key-value pairs--for example:

```json
params: {
"mybucket": "environment",
"rangeStart": "-30d"
}
```

During query execution, InfluxDB passes _`params`_ to your script and substitutes the values.

#### Limitations

- If you use _`params`_, you can't use _`extern`_.
type: object
query:
description: The query script to execute.
type: string
Expand Down