Hi, I have a noob question (apologize in advance if I’m missing something obvious!):
From https://courses.edx.org/api-docs I can successfully execute the following command, using the “Try it out” button in the website:
curl -X GET "
https://courses.edx.org/api/courses/v1/courses/
" -H "accept: application/json" -H "X-CSRFToken: i2GDpNT8yMwb3L4Z89GdgCj0WqpeAmGxTbkdyGj3uYYVFixX9ZCFJinLXy6vEfoP"
However, the following two commands, also executed with the “Try it out” button on the website, return an error:
curl -X GET "
https://courses.edx.org/api/credit/v1/courses/AdelaideX%2FHumBio101x%2F1T2015/
" -H "accept: application/json" -H "X-CSRFToken: i2GDpNT8yMwb3L4Z89GdgCj0WqpeAmGxTbkdyGj3uYYVFixX9ZCFJinLXy6vEfoP"
curl -X GET "
https://courses.edx.org/api/discussion/v1/courses/AdelaideX%2FHumBio101x%2F1T2015/settings
" -H "accept: application/json" -H "X-CSRFToken: i2GDpNT8yMwb3L4Z89GdgCj0WqpeAmGxTbkdyGj3uYYVFixX9ZCFJinLXy6vEfoP"
The error message is "You do not have permission to perform this action."
Can anyone advise how to obtain the relevant permission to perform these actions?
Thank you in advance!