Documentation
¶
Overview ¶
Package plugins provides API types and handlers for the dev.toolhive/plugins extension endpoints.
Package plugins provides API types and handlers for the dev.toolhive/plugins extension endpoints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ListPluginsQuery ¶
type ListPluginsQuery struct {
Search string
Status string // comma-separated for IN filtering, e.g. "active,deprecated"
Limit int // default 50, max 100
Cursor string
}
ListPluginsQuery holds parsed query parameters for GET /plugins (list).
type PluginListMetadata ¶
type PluginListMetadata struct {
Count int `json:"count"`
NextCursor string `json:"nextCursor,omitempty"`
}
PluginListMetadata is the metadata object in list responses.
type PluginListResponse ¶
type PluginListResponse struct {
Plugins []thvregistry.Plugin `json:"plugins"`
Metadata PluginListMetadata `json:"metadata"`
}
PluginListResponse is the response for GET /plugins (list).
Click to show internal directories.
Click to hide internal directories.