I need to access the entire structure, preferably in a json format, for the current course of the xblock.
Essentially, I want to know which xblocks comes before the current one in the current course.
Can someone please point me to the API that I can use to do this?