Creates a skill.
Operation description
Creates a skill.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:CreateDigitalEmployeeSkill |
create |
*DigitalEmployeeSkill
|
None | None |
Request syntax
POST /digitalEmployee/{name}/skill HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| name |
string |
Yes |
The name of the digital employee. |
test |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| skillName |
string |
Yes |
The name of the skill. |
skill |
| displayName |
string |
No |
The display name of the skill. |
test |
| description |
string |
No |
The description of the skill. |
test |
| enable |
boolean |
No |
Specifies whether to enable the skill. |
true |
| files |
array<object> |
Yes |
The list of skill files. |
|
|
object |
No |
A skill file. |
||
| name |
string |
No |
The name of the file. |
SKILL.md |
| content |
string |
No |
The content of the file. |
--- name: skill description: description --- # skill skill test |
| remark |
string |
No |
The remarks. |
remark |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The ID of the request. |
8FDE2569-626B-5176-9844-28877A***** |
| skillName |
string |
The name of the skill. |
skill |
Examples
Success response
JSON format
{
"requestId": "8FDE2569-626B-5176-9844-28877A*****",
"skillName": "skill"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.