Teacher Portfolio Assignments

Add assignments

post

Add one or more assignments to the specified teacher portfolio.

Path parameters
portfolioIdstringRequired
Body
assignmentIdsnumber[]Required

Array of Canvas assignment IDs to add to the teacher portfolio

Responses
201

Successfully added assignments to the teacher portfolio

application/json
post
POST /v1/teacher-portfolios/{portfolioId}/assignments HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "assignmentIds": [
    1
  ]
}
201

Successfully added assignments to the teacher portfolio

{
  "uuid": "123e4567-e89b-12d3-a456-426614174000",
  "userId": "123e4567-e89b-12d3-a456-426614174000",
  "title": "text",
  "description": "text",
  "coverImageUrl": "text",
  "courseIds": [
    1
  ],
  "skills": [
    {
      "name": "text",
      "status": "not_completed",
      "mentionCount": 1
    }
  ],
  "sections": {
    "defaultSection": {
      "uuid": "123e4567-e89b-12d3-a456-426614174000",
      "title": "text",
      "requirements": [
        {
          "uuid": "123e4567-e89b-12d3-a456-426614174000",
          "userId": "123e4567-e89b-12d3-a456-426614174000",
          "title": "text",
          "description": "text",
          "reflectionQuestions": [
            "text"
          ],
          "order": 1,
          "createdAt": "2025-10-13T20:24:50.465Z",
          "updatedAt": "2025-10-13T20:24:50.465Z",
          "skills": [
            {
              "name": "text",
              "status": "not_completed",
              "mentionCount": 1
            }
          ],
          "type": "project",
          "canvasAssignmentId": 1,
          "courseId": 1,
          "courseName": "text",
          "gradingType": "text",
          "htmlUrl": "text",
          "pointsPossible": 1,
          "submissionTypes": [
            "text"
          ]
        }
      ],
      "order": 1
    },
    "userSections": [
      {
        "uuid": "123e4567-e89b-12d3-a456-426614174000",
        "title": "text",
        "requirements": [
          {
            "uuid": "123e4567-e89b-12d3-a456-426614174000",
            "userId": "123e4567-e89b-12d3-a456-426614174000",
            "title": "text",
            "description": "text",
            "reflectionQuestions": [
              "text"
            ],
            "order": 1,
            "createdAt": "2025-10-13T20:24:50.465Z",
            "updatedAt": "2025-10-13T20:24:50.465Z",
            "skills": [
              {
                "name": "text",
                "status": "not_completed",
                "mentionCount": 1
              }
            ],
            "type": "project",
            "canvasAssignmentId": 1,
            "courseId": 1,
            "courseName": "text",
            "gradingType": "text",
            "htmlUrl": "text",
            "pointsPossible": 1,
            "submissionTypes": [
              "text"
            ]
          }
        ],
        "order": 1
      }
    ]
  },
  "teacherPortfolioState": "draft"
}

Last updated

Was this helpful?