# List my training

Returns the published training modules that are relevant to the signed-in user: those they
have been assigned, plus any module the organisation has made elective so that anyone may
start it. Modules the user has been explicitly exempted from are left out, as are modules
that have not been published. Training shared down from a parent organisation is included
alongside the account's own.
Each row is the training module itself rather than the user's progress against it. To see
where the user has got to, filter on `current_user.status`, whose values are `COMPLETE`
and `INCOMPLETE` - for example `filter[0][attr]=current_user.status&filter[0][value]=INCOMPLETE`
for everything still outstanding.
The listing is only paginated when `page` is supplied. Without it every match is returned
as a flat array rather than in the paged envelope.

Endpoint: GET /api/v2/me/training
Version: 2.0.0
Security: default

## Query parameters:

  - `per_page` (integer)
    The number of results to return per page. The higher the number the longer the request may take.
It is highly recommended to use this to avoid timeouts as your data grows.
Used in conjunction with the `page` parameter to paginate results.

  - `page` (integer)
    The page of results to return. Used in conjunction with the `per_page` parameter to paginate
results. If not specified, defaults to 1.
The response's next_page_url will be null if there are no
more pages.

  - `filter` (array)
    A filter to apply to the results. Declared as an array of objects, where each object
contains an attr (attribute code), operator and value key. Examples:

?filter[0]['attr']=name&filter[0][operator]=like&filter[0][value]=luke 

?filter[0]['attr']=id&filter[0][operator]=>&filter[0][value]=265 

See the filters documentation for more details on how to use this.

  - `sort_by` (string)
    The field to sort the results by. No ordering is applied unless you specify one, so
row order is not guaranteed. Always send it when paging through a list, otherwise
records can repeat or be missed between pages.
Example: id

  - `sort_order` (string)
    The direction to sort the results by. Can be 'asc' or 'desc', default is 'asc'.

  - `_locale` (string)
    The locale to use for the response. This primarily affects the results of the `nice` field, which
contain human-readable labels and terms, as well as locale-specific date formats.,

  - `extras` (array)
    A list of extras to include in the response. These are objects or arrays that are not part of
the model's primary attributes, such as stats and counts.
For fast responses, avoid requesting them if you don't need them.

## Header parameters:

  - `Rosterfy-Platform` (string)

## Response 200 fields (application/json):

  - `current_page` (integer)

  - `data` (array)

  - `data.object` (object)

  - `data.object.id` (integer)

  - `data.object.name` (string)

  - `data.object.short_description` (string | null)

  - `data.object.thumbnail_url` (string | null)

  - `data.object.account_id` (integer)

  - `data.object.deleted_at` (string | null)

  - `data.object.created_at` (string)

  - `data.object.updated_at` (string)

  - `data.object.success_message` (string)

  - `data.object.is_archived` (integer)

  - `data.object.is_elective` (integer)

  - `data.object.estimated_complete_time` (integer)

  - `data.object.ttl` (integer)

  - `data.object.pass_score` (integer)

  - `data.object.is_library` (integer)

  - `data.object.publish` (integer)

  - `data.object.service` (string)

  - `data.object.external_id` (string | null)

  - `data.object.meta` (array)

  - `data.object.sort_order` (integer)

  - `data.object.certificate_id` (string | null)

  - `data.object.form_id` (string | null)

  - `data.object.type_id` (string | null)

  - `data.object.is_inheritable` (integer)

  - `data.nice` (object)

  - `data.nice.publish` (string)

  - `data.nice.account_id` (integer)

  - `data.nice.account_url` (string)

  - `data.nice.external` (boolean)

  - `data.nice.has_certificate` (boolean)

  - `data.nice.account_name_path` (string)

  - `data.nice.is_foreign_account` (boolean)

  - `data.nice.acts_as_native` (boolean)

  - `data.nice.number_of_steps` (string)

  - `data.nice.number_of_questions` (integer)

  - `data.relations` (array)

  - `data.permissions` (object)

  - `data.permissions.read` (boolean)

  - `data.permissions.update` (boolean)

  - `data.permissions.delete` (boolean)

  - `first_page_url` (string)

  - `from` (integer)

  - `next_page_url` (string)

  - `path` (string)

  - `per_page` (integer)

  - `prev_page_url` (string | null)

  - `to` (integer)

