type

PluginEndpoint

type PluginEndpoint struct { // Method is an exact supported HTTP method such as GET or POST. Method string // Path is relative to the plugin's namespaced API prefix. Path string // Summary appears in generated OpenAPI. Summary string // MaxBodyBytes bounds the raw request body before Handler receives it. Zero // inherits HandlerOptions.MaxBodyBytes; a negative value explicitly opts a // trusted streaming endpoint out of that byte bound. MaxBodyBytes int64 // Handler is trusted compiled endpoint code. Handler PluginEndpointHandler }

One exact method-specific namespaced plugin REST endpoint.

Source core/plugin.go:189

Methodstring
An exact supported HTTP method such as GET or POST.
Pathstring
A path relative to /api/plugins/<plugin-key>/ with no traversal segments.
Summarystring
Human-readable description of the transport route.
MaxBodyBytesint64
Raw body bound; zero inherits HandlerOptions and a negative value opts trusted streaming out.
HandlerPluginEndpointHandler
Trusted compiled endpoint code.