Skip to main content

Skills

API endpoints related to the Skills Matrix

GET /skills/teams/:teamid/courses

Returns a list of all courses directly assigned to the team, along with the team's average skill rating for each course.

GET /skills/weights

Get all skill rating weight types and values. Authenticated user must be an admin or team lead.

PUT /skills/weights

Update skill rating values. All values within a group must add to 1. If a group is omitted from the request body then it will not be changed. Currently limited to admin users.

POST /skills/matrix

Retrieve skills matrix data for a list of users and docs. Only guides are supported at this time, and wiki support will be added in the future. Authenticated user must be an admin or team lead.

GET /skills/ratings/{doctype}/{docid}/{userid}

Get a detailed breakdown of the training and skill rating for a user and corresponding doc. The data includes the current weighting, value assigned to the user, and calculated total. Authenticated user must be an admin or team lead.

POST /skills/ratings/supervisor

Sets the supervisor rating for multiple users and documents. Rating is on a scale from 0 to 1. If a rating already exists for the user and document, it will be updated. Authenticated user must be an admin or team lead.

POST /skills/ratings/supervisor/:doctype/:docid/:userid

Sets supervisor rating for a user on a document. Rating is on a scale from 0 to 1. If a rating already exists it will be updated. Authenticated user must be an admin or team lead.

GET /skills/courses/:wikiid/assignees

Returns a list of both assignee types, teams and users, along with the average skill rating for each.

GET /skills/guides/:guideid/assignees

Returns a list of all assignees for a specific guide, and contains the skill rating data for each individual or team. This includes the average skill rating for each assignee of the specified guide.