mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-27 14:22:35 +08:00
Merge pull request #6666 from Aqr-K/feat/plugin-instance-target-enablement
feat(plugin): 插件实例默认调用目标与启停,未指定实例时不再兜底取第一个
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"disposition_counts": {
|
||||
"alternate-auth-duplicate": 11,
|
||||
"consolidated": 71,
|
||||
"gateway": 221,
|
||||
"gateway": 224,
|
||||
"provider-skill": 12,
|
||||
"stream_or_binary": 10,
|
||||
"transport_or_identity": 66,
|
||||
@@ -18,10 +18,10 @@
|
||||
"reason": "The executor validates and expands this bounded source placeholder to one of tmdb, douban, bangumi, or anilist before calling the corresponding concrete OpenAPI route."
|
||||
}
|
||||
],
|
||||
"gateway_http_route_count": 222,
|
||||
"gateway_operation_count": 224,
|
||||
"matched_gateway_http_route_count": 221,
|
||||
"openapi_operation_count": 404,
|
||||
"gateway_http_route_count": 225,
|
||||
"gateway_operation_count": 227,
|
||||
"matched_gateway_http_route_count": 224,
|
||||
"openapi_operation_count": 407,
|
||||
"operations": [
|
||||
{
|
||||
"disposition": "consolidated",
|
||||
@@ -2255,6 +2255,48 @@
|
||||
"plugin"
|
||||
]
|
||||
},
|
||||
{
|
||||
"disposition": "gateway",
|
||||
"method": "POST",
|
||||
"operation_ids": [
|
||||
"plugin.instance.set_enabled"
|
||||
],
|
||||
"owner": "moviepilot-api",
|
||||
"path": "/api/v1/plugin/instance/{instance_id}/enabled",
|
||||
"reason": "Executable through moviepilot_api; exact inputs are generated into MCP tools/list and SKILL.md.",
|
||||
"summary": "启用或停用插件实例",
|
||||
"tags": [
|
||||
"plugin"
|
||||
]
|
||||
},
|
||||
{
|
||||
"disposition": "gateway",
|
||||
"method": "DELETE",
|
||||
"operation_ids": [
|
||||
"plugin.default_target.clear"
|
||||
],
|
||||
"owner": "moviepilot-api",
|
||||
"path": "/api/v1/plugin/instances/{plugin_id}/{instance_id}/default_target",
|
||||
"reason": "Executable through moviepilot_api; exact inputs are generated into MCP tools/list and SKILL.md.",
|
||||
"summary": "清除插件实例的默认调用目标",
|
||||
"tags": [
|
||||
"plugin"
|
||||
]
|
||||
},
|
||||
{
|
||||
"disposition": "gateway",
|
||||
"method": "PUT",
|
||||
"operation_ids": [
|
||||
"plugin.default_target.set"
|
||||
],
|
||||
"owner": "moviepilot-api",
|
||||
"path": "/api/v1/plugin/instances/{plugin_id}/{instance_id}/default_target",
|
||||
"reason": "Executable through moviepilot_api; exact inputs are generated into MCP tools/list and SKILL.md.",
|
||||
"summary": "设置插件实例的默认调用目标",
|
||||
"tags": [
|
||||
"plugin"
|
||||
]
|
||||
},
|
||||
{
|
||||
"disposition": "gateway",
|
||||
"method": "GET",
|
||||
|
||||
Reference in New Issue
Block a user