Pocro Vento Documentation

Backend: Assessment forms

GitHub Issue: #219

Last modified with commit 7a580a0 on by Aljaž.

Backend task for the shared form endpoint (GET/POST /assessments/{assessmentId}/forms/{activity}) – check the API spec and DB structure, access rules, the replace-on-save behaviour, implement, and verify against the spec.

Docs: Assessment forms Spec: GET / POST /assessments/{assessmentId}/forms/{activity} (getAssessmentForm, saveAssessmentForm), AssessmentForm, AssessmentFormSaveRequest, AssessmentFormGrade, AssessmentFormNote in api-docs/openapi.yaml DB: AssessmentGrades, AssessmentNotes in api/database/create_schema.sql

The one endpoint pair that every form uses. Each form’s own rules (keys, status) are in the Backend: Form – … tasks.

1. Double check API spec and DB structure

2. Implementation

3. Verify implementation against spec

Done when

Any form can be loaded and saved through this endpoint pair. Each form’s own rules are added through the form tasks.