Regarding Rest API - Courses data and Users data
Hi Team,
I am developing one LTI widget for Brightspace which requires some rest apis.
I want to fetch course complete structure like course , module/submodule , topic /activity each module progress , completion data and also each activity completion status , grade etc for enrolled users .
I can see few of data are available in different apis but for me its tough to iterate all those apis response to get aggregate data for required response as slowing my application .is there any apis available where we get these data in one two apis rather calling multiple apis ?
pleae suggest possible ways .
Answers
-
Hi Praveen,
For what you want to fetch you'll need to use the respective API's. If there is not a documented API for providing the data combinations you require unfortunately you'll have to make multiple API calls. An alternative approach is to use the Data Hub API's to retrieve the information in csv file format, process offline and thereafter making the necessary API calls. See:
- How to get started with Data Hub's APIs: Brightspace Data Sets,
- How To Get Started With Data Hub's APIs: Advanced Data Sets,
Hope that helps!
-
Thanks Chris ,
So only way forward is to call multiple apis against each course item to get status and progress .