Skip to main content

Get Course Info

This endpoint retrieves a specific course information.

info

This operation requires authentication only if content_availability community option is false.

HTTP Request

GET /api/v2/course/{id}/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this course

Example Request

const headers = {
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};

fetch('/api/v2/course/{id}/',
{
method: 'GET',

headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKResponse status codeCourse