ื“ืœื’ ืœืชื•ื›ืŸ ื”ืจืืฉื™

Skills Endpoints

Manage organizational and employee skills.

Base Pathโ€‹

/api/skill

Endpointsโ€‹

List Skillsโ€‹

GET /api/skill
Authorization: Bearer {token}

Response:

{
"items": [
{ "id": "uuid", "name": "TypeScript", "color": "#3178C6" },
{ "id": "uuid", "name": "React", "color": "#61DAFB" }
],
"total": 25
}

Create Skillโ€‹

POST /api/skill
Authorization: Bearer {token}
{
"name": "GraphQL",
"color": "#E535AB",
"description": "GraphQL API development"
}

Update Skillโ€‹

PUT /api/skill/:id
Authorization: Bearer {token}

Delete Skillโ€‹

DELETE /api/skill/:id
Authorization: Bearer {token}

Assign Skill to Employeeโ€‹

Skills are assigned through the employee update endpoint:

PUT /api/employee/:id
{
"skills": [{ "id": "skill-uuid-1" }, { "id": "skill-uuid-2" }]
}