/skills/Summary: List Skills
Description: List all skills accessible to the user.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
feature |
query | No | anyOf | Filter skills by feature (e.g., 'chat', 'voice') |
x-user-id |
header | No | anyOf |
| Status Code | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
curl -X 'GET' \ 'http://localhost:8000/api/v1/skills/?feature=<feature>' \ -H 'accept: application/json' \ -H 'X-User-ID: <your_user_id>'
/skills/Summary: Create Skill
Description: Create a new skill.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
x-user-id |
header | No | anyOf |
Required: Yes
application/jsonSkillCreate (Define in Models)| Status Code | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
curl -X 'POST' \
'http://localhost:8000/api/v1/skills/' \
-H 'accept: application/json' \
-H 'X-User-ID: <your_user_id>' \
-H 'Content-Type: application/json' \
-d '{}'
/skills/{skill_id}Summary: Update Skill
Description: Update an existing skill. User must be admin or the owner.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
skill_id |
path | Yes | integer | |
x-user-id |
header | No | anyOf |
Required: Yes
application/jsonSkillUpdate (Define in Models)| Status Code | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
curl -X 'PUT' \
'http://localhost:8000/api/v1/skills/{skill_id}' \
-H 'accept: application/json' \
-H 'X-User-ID: <your_user_id>' \
-H 'Content-Type: application/json' \
-d '{}'
/skills/{skill_id}Summary: Delete Skill
Description: Delete a skill.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
skill_id |
path | Yes | integer | |
x-user-id |
header | No | anyOf |
| Status Code | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
curl -X 'DELETE' \
'http://localhost:8000/api/v1/skills/{skill_id}' \
-H 'accept: application/json' \
-H 'X-User-ID: <your_user_id>'