GET /api/v1/student/{studentId}/assignments/{assignmentId}/preview

Retrieves minimal assignment metadata for preview before starting an attempt. Questions are not included.

Path parameters

  • studentId string Required

    Unique identifier of the student

  • assignmentId string Required

    Unique identifier of the assignment

Responses

  • 200

    Assignment preview retrieved successfully

  • 400

    Cannot access assignment preview (not enrolled, invalid status)

  • 404

    Student or assignment not found

GET /api/v1/student/{studentId}/assignments/{assignmentId}/preview
curl \
 --request GET 'http://localhost:3500/api/v1/student/uuid-string/assignments/uuid-string/preview'