Slide 15
Slide 15 text
https://api.coursera.org/api/courses.v1?q=slug&slug=machine-learning
&fields=instructorIds,instructors.v1(title)&includes=instructorIds
response:
{
"elements": [
{
"courseType": "v2.ondemand",
"id": "Gtv4Xb1-EeS-ViIACwYKVQ",
"name": "Machine Learning",
"slug": "machine-learning",
"instructorIds": [1244]
}
],
"linked": {
"instructors.v1": [
{
"id": 1244,
"name": "Andrew Ng",
"title": "Associate Professor, Stanford University;
Chief Scientist, Baidu;
Chairman and Co-founder, Coursera"
}
]
},
"paging": {
"total": 1
}
}
request endpoint:
/api/courses.v1
request query parameters:
{
"q": "slug",
"slug": "machine-learning",
"fields": "instructorIds,
instructors.v1(title)",
"includes": "instructorIds"
}