getAllSkills should be used.
| Parameter | Type | Description | Default |
|---|---|---|---|
after | Cursor | Returns results that come after the specified cursor. Should be used together with first parameter. Cannot be used if before is set. | — |
before | Cursor | Returns results that come before the specified cursor. Should be used together with last parameter. Cannot be used if after is set. | — |
first | Integer | Returns up to the first N elements from the list. Required if after parameter is set. Cannot be used together with last. | — |
last | Integer | Returns up to the first N elements from the list. Required if before parameter is set. Cannot be used together with first. | — |
reverse | Boolean | Allows to reverse the order of the query results list (default order is by a skill taxonomy term title, ascending). | false |
title | String | Optional filter by a skill taxonomy term title. Works with CONTAINS operator. | — |
TaxonomyTerm objects.
Here is an example of the query execution:
Manage learner’s target skills
Target skills can be defined for user contexts by users withADMINISTRATOR scope.
To assign a target skill to a learner, assignTargetSkill mutation should be executed;
to remove a skill from the list of target ones for the user context, removeTargetSkill mutation should be used.
Both mutations accept two required arguments:
| Argument | Type | Description |
|---|---|---|
skillId | ID | ID of the skill taxonomy term that should be assigned (or removed) as a target one to the given user context. |
userContextUuid | ID | UUID of the user context to assign (or remove) the target skill. |
removeTargetSkill mutation should be executed.
Related Features
Skills are basically taxonomy terms, they can be created using UI in the backoffice or with Opigno Enterprise API:Taxonomy terms API
Check how to create, update or delete taxonomy terms using API.
Pagination
Learn how to efficiently navigate through large sets of items using cursor-based pagination.