with drip content
GET /v1/:school_id/current_user/courses/:course_id/lectures/:id
Parameters
| Name |
Description |
|
school_id
|
school_id
|
|
course_id
|
course_id
|
|
id
|
id
|
Request
Headers
Route
GET /v1/131/current_user/courses/81/lectures/20
Query Parameters
{}:
cURL
curl "http://localhost:3000/v1/131/current_user/courses/81/lectures/20" -X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Client-Token: mobile" \
-H "Sso-Token: tVcSiHpCsQJPbvMj2jE1" \
-H "Host: api.worksonmy.computer"
Response
Headers
Status
200 OK
Body
{
"lecture": {
"id": 20,
"name": "Lecture Name 19",
"is_published": true,
"position": 1,
"school_id": 131,
"course_id": 81,
"lecture_section_id": 97,
"created_at": "2019-10-31T22:00:30Z",
"updated_at": "2019-10-31T22:00:30Z",
"drip_content": {
"id": 2,
"school_id": 131,
"email_subject": "Email Subject",
"email_body": "Email body",
"created_at": "2019-10-31T22:00:30Z",
"updated_at": "2019-10-31T22:00:30Z",
"days": 10,
"is_active": true,
"open_count": 0,
"click_count": 0,
"drop_count": 0,
"bounce_count": 0,
"deliver_count": 0,
"sent_count": 0,
"release_date": null,
"is_dripped_by_date": null
},
"attachments": [
],
"primary_attachment": null
}
}