Prechecks a skill.
Operation description
Request description
This operation prechecks a skill before it is uploaded to a PolarClaw instance.
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 number of the skill. |
0.0.0 |
| Title |
string |
No |
The title. |
PolarClawHub |
| Tags |
string |
No |
The tag details. |
['PolarDB','programming'] |
| Summary |
string |
No |
The brief description of the skill. |
An example for managing PolarDB skills |
| OSSBucket |
string |
No |
The name of the OSS bucket to be unbound. |
oss-bucket-test |
| RegionId |
string |
No |
The region ID. |
cn-beijing |
| BucketRegionId |
string |
No |
The region ID of the OSS bucket where the skill files are stored. |
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. |
EBEAA83D-1734-42E3-85E3-E25F6E****** |
| Message |
array |
The returned message. |
|
|
string |
The returned message. |
Successful |
|
| Success |
boolean |
The request result. Valid values:
|
true |
| OSSBucket |
string |
The name of the OSS bucket where the skill files are stored. |
oss-bucket-test |
| OSSRegionId |
string |
The region ID of the OSS bucket where the skill files are stored. |
cn-hangzhou |
Examples
Success response
JSON format
{
"RequestId": "EBEAA83D-1734-42E3-85E3-E25F6E******",
"Message": [
"Successful"
],
"Success": true,
"OSSBucket": "oss-bucket-test",
"OSSRegionId": "cn-hangzhou"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.