cURL
curl --request POST \ --url http://localhost:5300/api/v1/plugins/install/local \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "code": 0, "msg": "ok", "data": { "task_id": "<string>" } }
Upload and install plugin package file
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>
Plugin package file (.lbpkg format)
Installation task created
0
"ok"
表示 子属性