Uploads a skill.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SkillName |
string |
Yes |
The name of the skill. |
polarclawhub |
| SkillVersion |
string |
Yes |
The version of the skill. |
1.0.0 |
| OSSBucket |
string |
Yes |
The name of the OSS bucket that resides in the same region as the current project. |
oss-bucket-test |
| OSSPrefix |
string |
Yes |
The prefix of the OSS object. The prefix can contain digits and letters and must be 1 to 30 characters in length. |
steelStorage |
| Title |
string |
Yes |
The title. |
PolarClawHub |
| Tags |
string |
No |
The tag details. |
['PolarDB'] |
| Summary |
string |
No |
The brief description of the skill. |
An example for managing PolarDB skills |
| RegionId |
string |
No |
The ID of the region where the parameter template resides. Note
You can call the DescribeRegions operation to query region IDs. |
cn-hangzhou |
| BucketRegionId |
string |
No |
The ID of the region where the OSS bucket that stores the skill files resides. |
cn-hangzhou |
| BucketType |
string |
No |
The type of the bucket used for skill files. UserOwned indicates a user-owned bucket. Hosted indicates a hosted bucket. You must have the required permissions to use a hosted bucket. |
UserOwned |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF |
| SkillName |
string |
The name of the skill. |
polarclawhub |
| IsUpdate |
string |
Used for system scheduled task checks. Modifications are not supported for the current scheduled task. |
true |
Examples
Success response
JSON format
{
"RequestId": "3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF",
"SkillName": "polarclawhub",
"IsUpdate": "true"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.