Get user progress from REST API

Hello there, I am new on the Open edX platform and I am looking for ways to get the user progress on courses from the rest api.

I found the endpoint /completion/v1/subsection-completion/{username}/{course_key}/(P{subsection_id}[/]*) which always returns {completion: 0} .

I just need to know if that is possible and if I’m looking at the correct place.

Any help appreciated.

Hello @rafmsou and welcome to the community,

I don’t have idea about the user progress API but what you are looking for is not user progress. It will always return 0 or 1 as it is used for whether user has completed particular section or not. This will not give you the score of the user. You can find more detail about completion over here.

2 Likes

Thanks for pointing me there, I will look into it!