Author in the Current User's First Course
A 3-step recipe with Canvas LMS. We can help you get access.
Recipe · 3 steps
Author in the Current User's First Course
with Canvas LMS
Create an assignment in the authenticated teacher's first course.
- Read the authenticated user to confirm the session and capture the user id.
- List the courses the authenticated user teaches and take the first one as the authoring target.
- Create the assignment in the teacher's first course.
What you'll need to have ready
- name: The name of the assignment to create.
- pointsPossible: The maximum points for the assignment.
For your developer
Arazzo workflow canvas-lms:self-courses-and-create-assignment, 3 operations: getSelf → listCourses → createAssignment. Specs on APIs.io.