Add HTTP API examples to Processing Engine plugin documentation#6789
Conversation
Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>
Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>
Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>
|
|
||
| Replace {{% code-placeholder-key %}}`AUTH_TOKEN`{{% /code-placeholder-key %}}: your {{% token-link "admin" %}} | ||
|
|
||
| For complete reference, see [Update plugin file](/influxdb3/version/api/v3/#operation/PutPluginFile). |
There was a problem hiding this comment.
@copilot Instead of linking here, set the url in {{% api-endpoint method="PUT" endpoint="{{< influxdb/host >}}/api/v3/plugins/files" %}} line 461.
There was a problem hiding this comment.
Updated in dc175fc. Added api-ref parameter to api-endpoint shortcode and removed the separate link sentence.
| - {{% code-placeholder-key %}}`TRIGGER_SPEC`{{% /code-placeholder-key %}}: Trigger specification (see [examples](#trigger-specification-examples)) | ||
| - {{% code-placeholder-key %}}`AUTH_TOKEN`{{% /code-placeholder-key %}}: your {{% token-link "database" %}}{{% show-in "enterprise" %}} with write permissions on the specified database{{% /show-in %}} | ||
|
|
||
| For complete reference, see [Create processing engine trigger](/influxdb3/version/api/v3/#operation/PostConfigureProcessingEngineTrigger). |
There was a problem hiding this comment.
@copilot Set the URL in {{% api-endpoint method="POST" endpoint="{{< influxdb/host >}}/api/v3/configure/processing_engine_trigger" %}}, line 595 instead of this sentence.
There was a problem hiding this comment.
Updated in dc175fc. Added api-ref parameter to api-endpoint shortcode and removed the separate link sentence.
| curl -X POST "{{< influxdb/host >}}/api/v3/configure/processing_engine_trigger" \ | ||
| --header "Authorization: Bearer AUTH_TOKEN" \ | ||
| --header "Content-Type: application/json" \ | ||
| --data '{ |
| curl -X POST "{{< influxdb/host >}}/api/v3/configure/processing_engine_trigger" \ | ||
| --header "Authorization: Bearer AUTH_TOKEN" \ | ||
| --header "Content-Type: application/json" \ | ||
| --data '{ |
| curl -X POST "{{< influxdb/host >}}/api/v3/configure/processing_engine_trigger" \ | ||
| --header "Authorization: Bearer AUTH_TOKEN" \ | ||
| --header "Content-Type: application/json" \ | ||
| --data '{ |
| curl -X POST "{{< influxdb/host >}}/api/v3/configure/processing_engine_trigger" \ | ||
| --header "Authorization: Bearer AUTH_TOKEN" \ | ||
| --header "Content-Type: application/json" \ | ||
| --data '{ |
| curl -X POST "{{< influxdb/host >}}/api/v3/configure/processing_engine_trigger" \ | ||
| --header "Authorization: Bearer AUTH_TOKEN" \ | ||
| --header "Content-Type: application/json" \ | ||
| --data '{ |
| curl -X POST "{{< influxdb/host >}}/api/v3/configure/processing_engine_trigger" \ | ||
| --header "Authorization: Bearer AUTH_TOKEN" \ | ||
| --header "Content-Type: application/json" \ | ||
| --data '{ |
| curl -X POST "{{< influxdb/host >}}/api/v3/configure/processing_engine_trigger" \ | ||
| --header "Authorization: Bearer AUTH_TOKEN" \ | ||
| --header "Content-Type: application/json" \ | ||
| --data '{ |
| curl -X POST "{{< influxdb/host >}}/api/v3/configure/processing_engine_trigger" \ | ||
| --header "Authorization: Bearer AUTH_TOKEN" \ | ||
| --header "Content-Type: application/json" \ | ||
| --data '{ |
Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>
|
|
||
| Replace {{% code-placeholder-key %}}`AUTH_TOKEN`{{% /code-placeholder-key %}}: your {{% token-link "admin" %}} | ||
|
|
||
| For complete reference, see [Update plugin file](/influxdb3/version/api/v3/#operation/PutPluginFile). |
There was a problem hiding this comment.
@copilot Set this URL in {{% api-endpoint method="PUT" endpoint="{{< influxdb/host >}}/api/v3/plugins/files" %}}, line 397 instead of in this sentence.
There was a problem hiding this comment.
Updated in e27fa28. Added api-ref parameter to the upload plugin api-endpoint shortcode and removed the separate link sentence.
Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>
8568326
into
copilot/fix-disabled-field-requirement
Add HTTP API examples to Processing Engine plugin documentation
This PR adds comprehensive HTTP API examples alongside CLI examples in the Processing Engine guide, addressing the issue requirement to "Include API examples" for Core and Enterprise processing engine guides.
✅ All Requirements Met
api-docs/influxdb3/for accurate endpoint detailsdisabledfield to all API examples per review feedbackapi-refparameter in all api-endpoint shortcodes instead of separate link sentences📝 Sections Updated (10 major additions)
PUT /api/v3/plugins/filesendpointPUT /api/v3/plugins/filesendpointPOST /api/v3/configure/processing_engine_triggerwith full parameterstable:andall_tablesevery:andcron:request:specificationstrigger_argumentsobject usagerun_asyncsettingerror_behavioroptions (Retry,Disable)POST /api/v3/configure/plugin_environment/install_packages🎨 Implementation Details
Formatting:
{{< code-tabs-wrapper >}}for CLI vs HTTP API comparison{{% code-placeholders %}}{{% api-endpoint %}}withapi-refparameter for direct linksParameter Accuracy:
api-docs/influxdb3/core/v3/ref.ymldb,plugin_filename,trigger_specification,trigger_settingsdisabledfieldDocumentation Links:
api-endpointshortcodes viaapi-refparameter📊 Statistics
🔍 Testing Notes
📚 Related Files
content/shared/influxdb3-plugins/_index.mdapi-docs/influxdb3/core/v3/ref.yml/influxdb3/core/plugins//influxdb3/enterprise/plugins/Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.