Hi,
i was trying to access the endpoint shown in the attached image, and i can’t see course_id in the parameters list, why am i getting this error?
is that the course id the user rolled in?
thanks
Hi,
i was trying to access the endpoint shown in the attached image, and i can’t see course_id in the parameters list, why am i getting this error?
is that the course id the user rolled in?
thanks
Hi,
A lot of our API endpoints are not yet fully configured for browsing via the docs interface (Swagger UI). You cropped the screenshot to just show the parameters form, but it you look above that you can see the docstring clearly says that course_id
is required. Unfortunately this means is is not possible to test this endpoint from the Swagger UI at the moment, but it will still work programmatically. PRs to fix that would be very welcome.
It’s the course whose blocks you want to retrieve. If you’re a regular user, you must be enrolled. Admins can request the blocks (outline+content) of any course on the system.
Thanks for ideas
Thanks @braden ,
Got it, I was a bit confused why the parameters doesn’t exist i didn’t know the api endpoints aren’t fully configured, I saw that endpoint fully, i didn’t mean to crop intentionally.
thank you.