@robotcars I'm trying to get to the endpoint you mentioned. Alternatively, I might go for the specific assignment submission so I don't have to parse through so many submissions.
Edit: I should probably mention that my role is teacher.
Code is below.
// URLS
const authenticate_url = 'https://ringling.instructure.com:443/api/v1/courses/4426/assignments/89449/submissions?include[]=user&grouped=false'
// HERE'S WHERE WE RUN THE CODE
await authenticate();
// FUNCTIONS
// Authenticate
async function authenticate() {
let response = await fetch(authenticate_url, {
method: 'GET',
authorization: `Bearer ${access_token}`,
host: 'ringling.instructure.com'
});
// let response = await fetch(authenticate_url)
console.log("authentication response", response);
}
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.