v1
latestOpenAPI 3.0.02026-08-04265791.1 MBLessons
Get
Get a lesson for the given id.
get/public/api/lessons/{id}
Path parameters
idstring required
The id of the lesson
Headers
Acceptstring
e.g. application/json
Response
OK
Example response
{
"paging": {
"total": 2,
"skip": 0,
"limit": 1000
},
"data": [
{
"lesson_id": "5c7004c1b31ec3003a56af4e",
"title": "Feedback",
"type": "lesson",
"campaign_id": "5c582b8f4a35650044aea049",
"plan_id": "5bf2d58ae553190041467eef",
"course_id": "5bf4448528b7420041ba9b62",
"user_id": "5beee3717fc4d50043801a97",
"status": "finished",
"score": {
"total": 0,
"value": 0
},
"duration": 2.3,
"validated": true,
"tenant": "testproductv6_boost",
"created_date": "2019-02-22T14:18:41.667Z",
"updated_date": "2019-02-22T14:18:41.667Z",
"answers": [
{
"question_id": "e886902d-ddef-43c1-8894-c9f5f101fa56",
"question_type": "feedback",
"question": "Feedback",
"page_number": 1,
"question_number": 1,
"answer": 3
}
]
}
]
}