capabilities.work

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

Create an assignment in the authenticated teacher's first course.

  1. Read the authenticated user to confirm the session and capture the user id.
  2. List the courses the authenticated user teaches and take the first one as the authoring target.
  3. 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.