Skip to main content

Get Course Section

This endpoint retrieves a specific section for the course identified by {id}.

info

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

HTTP Request

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

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this course
section_idpathstringtrueA unique integer value identifying this course section

Example Request

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

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

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

Responses

StatusMeaningDescriptionSchema
200OKResponse status codeCourse Section