Actions57
- Course Actions
- User Actions
- Assignment Actions
- Module Actions
- Page Actions
- Discussion Actions
- File Actions
- Announcement Actions
- Quiz Actions
- Submission Actions
- Enrollment Actions
- Group Actions
- Rubric Actions
Overview
This node interacts with the Canvas LMS API to retrieve multiple quizzes associated with a specific course. The "Get Many" operation for the "Quiz" resource fetches a list of quizzes within a given course. This is useful for educators or administrators who want to automate the retrieval of quiz data for reporting, analysis, or integration with other systems.
Practical examples:
- Automatically fetching all quizzes in a course to generate a summary report.
- Integrating quiz data into an external dashboard or learning analytics platform.
- Syncing quiz metadata with another educational tool or database.
Properties
Name | Meaning |
---|---|
Course ID | ID of the course whose quizzes you want to retrieve |
Output
The output is a JSON object containing a data
field, which is an array of quiz objects retrieved from the Canvas LMS API. Each quiz object includes details such as quiz name, description, due date, and other metadata as provided by the Canvas API.
Example structure of output JSON:
{
"data": [
{
"id": 123,
"name": "Midterm Quiz",
"description": "Covers chapters 1-5",
"due_at": "2024-05-01T23:59:00Z",
...
},
{
"id": 124,
"name": "Final Quiz",
"description": "Comprehensive final exam",
"due_at": "2024-06-15T23:59:00Z",
...
}
]
}
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Canvas LMS API.
- The node uses the Canvas API base URL and access token configured in the credentials.
- Pagination is handled internally to fetch all pages of results if necessary.
Troubleshooting
Common issues:
- Invalid or missing Course ID will cause the API request to fail.
- Expired or incorrect API authentication token will result in authorization errors.
- Network connectivity issues can prevent successful API calls.
Error messages:
"Error in "quiz" operation "getAll": <message>"
: Indicates a failure during the API request; check the Course ID and API credentials.- API rate limiting or quota exceeded errors may occur if too many requests are made in a short time; consider adding delays or reducing polling frequency.
Resolutions:
- Verify that the Course ID is correct and corresponds to an existing course.
- Ensure the API key credential is valid and has sufficient permissions.
- Check network connectivity and firewall settings.
- Review Canvas API documentation for any changes or deprecations.