get
https://api.mitti.com/training/v2/feed/training-course-progress
Returns the course progress of each user who started a course, with lesson counts, progress, score and time spent. A user who started a course opened it, completed a lesson, or spent time in it. Use modified_after to retrieve only the records that changed since your last sync. Store the time from just before the first page request of a sync, and send it as modified_after in the next sync. Records that change while you read the pages then appear in the next sync.
Requirements
Recent training activity can take a short time to appear in the results.
Paging
- Send
limit(1 to 1000, default 25) to set the page size. To get the next page, call themetadata.next_pagepath from the previous response. - A page can contain fewer records than
limit, or no records, and still have a next page. Continue until a response has nometadata.next_page. - Use
course_idanduser_idtogether as the key of a record.
Records
modified_afterreturns every record with any change after that time. When lessons are added to or removed from a course, every record of that course can appear as modified.- A user who is enrolled and has not started a course has no record. Use Get course enrollments to get every enrolled user, with due dates and completion expiry dates.