Update content/shared/v3-core-plugins/_index.md

jts/fix-mono-get-started
Jason Stirnaman 2025-02-24 14:43:15 -06:00 committed by GitHub
parent 4f5122da92
commit 49c055fd0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -369,7 +369,10 @@ influxdb3 create trigger \
### On Request trigger
On Request plugins are triggered by a request to a specific endpoint under `/api/v3/engine`. The plugin will receive the local API, query parameters `Dict[str, str]`, request headers `Dict[str, str]`, request body (as bytes), and any arguments passed in the trigger definition. Here's an example of a simple On Request plugin:
On Request plugins are triggered by a request to a specific endpoint under `/api/v3/engine`. The plugin receives the shared API, query parameters `Dict[str, str]`, request headers `Dict[str, str]`, the request body (as bytes), and any arguments passed in the trigger definition.
#### Example: simple On Request plugin
```python
import json