cURL
curl --request POST \ --url http://localhost:5300/api/v1/plugins/install/github \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "asset_url": "<string>", "owner": "<string>", "repo": "<string>", "release_tag": "<string>" } '
{ "code": 0, "msg": "ok", "data": { "task_id": "<string>" } }
Install plugin from GitHub Release
Bearer token authentication. Can be either a user JWT token or an API key. Example: Authorization: Bearer <token_or_key>
Authorization: Bearer <token_or_key>
GitHub Release asset download URL
Repository owner
Repository name
Release tag
Installation task created
0
"ok"
表示 子属性