Skip to main content

Get User Courses

This endpoint return the list of courses the user has status joined or manager. Return only the courses that the current user can view.

info

This operation does not require authentication.

HTTP Request

GET /api/v2/user/{id}/courses/

Parameters

NameInTypeRequiredDescription
idpathintegertrueA unique integer value identifying this user

Example Request

const headers = {
'Accept':'application/json'
};

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

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

Responses

StatusMeaningDescriptionSchema
200OKResponse status codelist(Course)