Course Reports
API for accessing course reports.
A Report object looks like:
A ReportParameters object looks like:
GET /api/v1/courses/:course_id/reports/:report_type/:id
GET /api/v1/courses/:course_id/reports/:report_type/:id
Scope: url:GET|/api/v1/courses/:course_id/reports/:report_type/:id
Returns the status of a report.
Example Request:
Returns aReport object.
CourseReportsController#create
POST /api/v1/courses/:course_id/reports/:report_type
POST /api/v1/courses/:course_id/reports/:report_type
Scope: url:POST|/api/v1/courses/:course_id/reports/:report_type
Generates a report instance for the account. Note that “report” in the request must match one of the available report names.
Request Parameters:
course_id
integer
The id of the course to report on.
report_type
string
The type of report to generate.
parameters
string
The parameters will vary for each report. Note that the example parameters provided below may not be valid for every report.
parameters[section_ids[]]
integer
The sections of the course to report on. Note: this parameter has been listed to serve as an example and may not be valid for every report.
Returns aReport object.
GET /api/v1/courses/:course_id/reports/:report_type
GET /api/v1/courses/:course_id/reports/:report_type
Scope: url:GET|/api/v1/courses/:course_id/reports/:report_type
Returns the status of the last report initiated by the current user.
Example Request:
Returns aReport object.
This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated
Was this helpful?