安装PolarClaw Skill
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
POST HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ApplicationId |
string |
是 |
应用 ID |
pa-xxx |
| Source |
string |
否 |
来源 |
clawhub |
| Slug |
string |
否 |
Skill 标识 |
alibacloud-rds-copilot |
| SkillVersion |
string |
否 |
版本号 |
1.2.0 |
| Url |
string |
否 |
URL |
https://example.com/skill.tar.gz |
| Force |
boolean |
否 |
是否强制重新安装 |
true |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
F45FFACC-xxx |
| Message |
string |
返回消息 |
success |
| Code |
integer |
返回状态码 |
200 |
| ApplicationId |
string |
应用 ID |
pa-xxx |
| Ok |
boolean |
操作是否成功 |
true |
| Slug |
string |
已安装的 Skill 标识 |
alibacloud-rds-copilot |
| Version |
string |
已安装的版本号 |
1.2.0 |
| TargetDir |
string |
安装目录 |
/home/node/.openclaw/skills/alibacloud-rds-copilot |
示例
正常返回示例
JSON格式
{
"RequestId": "F45FFACC-xxx",
"Message": "success",
"Code": 200,
"ApplicationId": "pa-xxx",
"Ok": true,
"Slug": "alibacloud-rds-copilot",
"Version": "1.2.0",
"TargetDir": "/home/node/.openclaw/skills/alibacloud-rds-copilot"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。