AnsweredAssumed Answered

How to get the url of the report using the API

Question asked by Fabio Cunha on Oct 23, 2019
Latest reply on Oct 24, 2019 by Fabio Cunha

Hi everybody,

I was trying to get the url of a file to be able to read the contents of the file using the following API endpoint

 

https://myeducationcompany.instructure.com/api/v1/courses/5468/quizzes/32472/reports/8283?include=[file,progress]

 

and I receive the response below:

 

{
"id": 8283,
"report_type": "student_analysis",
"readable_type": "Análise do aluno",
"includes_all_versions": false,
"includes_sis_ids": true,
"generatable": true,
"anonymous": true,
"created_at": "2019-10-16T20:02:17Z",
"updated_at": "2019-10-16T20:02:17Z",
"quiz_id": 32472
}
I think the "url" value returned will be a csv/txt file that I could download it, but it just returns the same value that I use it to call. How can I get the url of the file that contains the report ?
Regards,
Fabio

Outcomes