API to get all assessments in course

Idea created by greg.zhang on Apr 25, 2019
    Under review
    Score0

    Hi, is there any API to get all assessments in a course? someone said I can get assessmentId from content contentHandler but what I got is no assessment in the contentHandler. please help,

     

    Thanks

     

    Greg

     

     

    {

        "id": "_161025_1",

        "parentId": "_158050_1",

        "title": "Clinical Medicine 1 - Pulmonology- Requires Respondus LockDown Browser",

        "created": "2018-11-19T13:41:40.000Z",

        "position": 3,

        "hasGradebookColumns": true,

        "availability": {

            "available": "Yes",

            "allowGuests": false,

            "adaptiveRelease": {

                "start": "2018-11-19T14:00:00.000Z",

                "end": "2018-11-19T15:00:00.000Z"

            }

        },

        "contentHandler": {

            "id": "resource/x-bb-asmt-test-link"

        }

    }

    Product Version (if applicable):0