For Developers

List Resources

GET https://ed.link/api/v2/my/classes/:class_id/modules/:module_id/resources

Retrieve a list of Resources that belong to a given Module. The result of this endpoint may be different for different users. This is because certain LMSs have visibility rules on modules that are based on the user's role or progress in the class. For example, certain resources may "unlock" when a student completes a milestone.

Request Parameters

This query allows for standard paging parameters.

ParameterTypeDescription
class_idstringThe UUID of the desired Class.
module_idstringThe UUID of the desired Module.

Sample Request

axios.get(`https://ed.link/api/v2/my/classes/${class_id}/modules/${module_id}/resources`, {
    headers: {
        authorization: `Bearer ${person_access_token}`
    }
});

Sample Response

{
    "$request": "00000000-0000-0000-0000-000000000000",
    "$data": [
        {
            "id": "00000000-0000-0000-0000-000000000000",
            "created_date": "2022-01-27T17:10:09.702Z",
            "updated_date": "2022-01-27T17:10:09.702Z",
            "properties": {},
            "module_id": "00000000-0000-0000-0000-000000000000",
            "type": "module",
            "target_id": "00000000-0000-0000-0000-000000000000"
        }
    ]
}