CreateSkill
Creates a skill.
Operation description
Before you begin
Make sure that the service provider has enabled the upgrade and downgrade feature and configured the related parameters when creating the service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenest:CreateSkill |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SkillName |
string |
No |
The skill name. |
skill-creator |
| SkillDisplayName |
string |
No |
The display name of the skill. |
appflow-chat-skill |
| SkillLabels |
array |
No |
The set of skill labels. |
["category:frontend-development"] |
|
string |
No |
The skill label. |
category:frontend-development |
|
| RequiredConnections |
array |
No |
The set of connection types on which the skill depends. |
|
|
string |
No |
The specific connection type. |
BailianApp |
|
| SkillDescription |
string |
No |
The description of the skill. |
Create new skills, modify and improve existing skills, and measure skill performance |
| SkillSpaceId |
string |
Yes |
The ID of the skill space to which the skill belongs. |
ss-xxxxx |
| SourceType |
string |
Yes |
The source type used when creating the skill. Valid values:
|
COPY |
| SourceSkillId |
string |
No |
Required when SourceType is set to COPY. The ID of the public skill. |
s-xxxxx |
| OssUrl |
string |
No |
Required when SourceType is set to UPLOAD. The OSS URL of the skill package to be uploaded. |
https://embedding-pic.oss-cn-beijing-internal.aliyuncs.com/skill-creator.zip |
| ClientToken |
string |
No |
Ensures the idempotence of the request. You can generate a value from your client to ensure that the value is unique among different requests. ClientToken supports only ASCII characters and can be up to 64 characters in length. |
123e4567-e89b-12d3-a456-426655440000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
A17F9930-E2DC-5E87-B6D6-B0BCD2B00834 |
| SkillId |
string |
Skill ID |
s-xxxxx |
Examples
Success response
JSON format
{
"RequestId": "A17F9930-E2DC-5E87-B6D6-B0BCD2B00834",
"SkillId": "s-xxxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.