Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Course capstone projects, draft saves, project submissions, and automated AI code evaluations.
GET /api/v2/course/:courseId/project
Authorization: Bearer <jwt_access_token>
courseId
string
{ "success": true, "data": { "id": "proj-uuid-1", "courseId": "7a3e9c12-3456-4abc-8def-1234567890ab", "title": "Build a Decentralized Escrow Contract", "description": "Develop and deploy an EVM-compatible escrow contract with automated dispute resolution.", "allowedSubmissionTypes": ["GITHUB_REPO", "FILE_UPLOAD"], "rubric": [ { "criterion": "Reentrancy Protection", "points": 25 }, { "criterion": "Event Emission", "points": 25 }, { "criterion": "Unit Test Coverage > 80%", "points": 50 } ] } }
POST /api/v2/course/:courseId/project/draft
{ "submissionType": "GITHUB_REPO", "repositoryUrl": "https://github.com/learner/learnway-escrow-capstone", "notes": "Completed milestone 1 & 2 tests." }
{ "success": true, "data": { "id": "sub-draft-123", "status": "DRAFT", "updatedAt": "2026-08-21T23:00:00.000Z" }, "message": "Draft saved successfully" }
POST /api/v2/course/:courseId/project/submit
{ "success": true, "data": { "submissionId": "sub-12345", "status": "SUBMITTED", "aiAssessmentStatus": "PENDING" }, "message": "Project submitted for AI review" }