mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-06-07 07:26:53 +00:00
feat HomePage插件
This commit is contained in:
31
docs/HomePage.md
Normal file
31
docs/HomePage.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# HomePage自定义API
|
||||
|
||||
HomePage services.yaml配置
|
||||
|
||||
```angular2html
|
||||
- MoviePilot:
|
||||
icon: /icons/icon/MoviePilot.png
|
||||
href: http://ip:port
|
||||
ping: http://ip:port
|
||||
widget:
|
||||
type: customapi
|
||||
url: http://ip:port/api/v1/plugin/HomePage/statistic?apikey=your apikey
|
||||
method: GET
|
||||
mappings:
|
||||
- field: movie_subscribes
|
||||
label: 电影订阅
|
||||
- field: tv_subscribes
|
||||
label: 电视剧订阅
|
||||
- field: movie_count
|
||||
label: 电影数量
|
||||
- field: tv_count
|
||||
label: 电视剧数量
|
||||
```
|
||||
|
||||
### 自定义API Response
|
||||
|
||||
|
||||
|
||||
|
||||
### HomePage自定义API文档
|
||||
https://gethomepage.dev/latest/widgets/services/customapi/#custom-request-body
|
||||
Reference in New Issue
Block a user