GET /api/competences

Description

Returns list of all competences defined and defined as visible for user. Not that this will not return course competences that are modules of a parent course. The modules are nested in the children attribute of the object.

Parameters

start

Int. Optional. Index to start at

limit

Int. Optional. Max length of result set

competence_group_ids

List of ints. Optional. Restricts the result to competences added to these groups.

types

List of strings. Optional. Competence types to restrict to.

term

String. Optional. Restrict result to competences matching search term.

category_ids

Array of ints. Optional. Restrict result to competences tagged with at least one of the categories.

attribute_ids

Array of ints. Optional. Restrict result to competences tagged with at least one of the attributes.

view

String. Optional. Defines either 'simple' or 'full' result type.

Return

Array of Competence objects.

Security

Superuser, manager, person

GET /api/competences/[competence_id]

Description

Returns detailed view of competence.

Parameters

view

String. Optional. Defines either 'simple' or 'full' result type.

Return

Array of one Competence object.

Security

Superuser, manager, person

GET /api/competences/[competence_id]/events

Description

Returns a list of events for this competence

/api/events?competence_id=123 will yield the same result as /api/competence/123/events.

Parameters

view

String. Optional. Defines either 'simple' or 'full' result type.

Return

Array of Event objects.

Security

Superuser, manager, person