Printago API
GET /v1/classwork/{id}/parts

List the parts referenced by a classwork item

Requires: classwork.viewerclasswork.editor

Path Parameters

id required
string
The classwork ID

Response Schema

ClassworkPart[]
Array of ClassworkPart, each with:
classworkIdrequired
string
pattern: ^[a-z0-9]{24}$
createdAtrequired
string
format: date-time
displayOrderrequired
number
idrequired
string
pattern: ^[a-z0-9]{24}$
noterequired
string
partIdrequirednullable
string
Null once the referenced part has been deleted: the row is kept (with `partName` as its memory of what it pointed at) so the teacher sees that a part went missing instead of the reference silently vanishing.
pattern: ^[a-z0-9]{24}$
partNamerequired
string
The part's name when it was referenced; the fallback label once the part is gone.
storeIdrequired
string
pattern: ^[a-z0-9]{24}$
updatedAtrequired
string
format: date-time

Example Response

200 OK — application/json
[
  {
    "classworkId": "string",
    "partId": "string",
    "partName": "string",
    "note": "string",
    "displayOrder": 1,
    "id": "string",
    "storeId": "string",
    "createdAt": "2025-01-15T12:00:00.000Z",
    "updatedAt": "2025-01-15T12:00:00.000Z"
  }
]