Teacher Portfolio Requirements

Add Requirement

post

Add a new requirement to a teacher portfolio

Path parameters
portfolioIdstringRequired

Teacher Portfolio UUID

Body
typestring · enumRequiredPossible values:
titlestringRequired
descriptionstringOptional
reflectionQuestionsstring[] | nullableOptional
Responses
201

Successfully added requirement

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

{
  "type": "project",
  "title": "text",
  "description": "text",
  "reflectionQuestions": [
    "text"
  ],
  "skills": [
    {
      "name": "text"
    }
  ]
}
201

Successfully added requirement

{
  "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-13T21:58:40.272Z",
        "updatedAt": "2025-10-13T21:58:40.272Z",
        "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-13T21:58:40.272Z",
          "updatedAt": "2025-10-13T21:58:40.272Z",
          "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
    }
  ]
}

Last updated

Was this helpful?