Pocro Vento Documentation

Backend: BTC certificiranje detail

GitHub Issue: #250

Last modified with commit 7a580a0 on by Aljaž.

Backend task for the BTC certificiranje detail page (GET /btc-certifications/{certificationId}) – check the header, komisija, candidates and the caller's Usmeni ispit status against the API spec and DB structure, permissions, implement, and verify against the spec.

Docs: BTC certificiranje detail Spec: GET /btc-certifications/{certificationId} (getBtcCertificationDetail), BtcCertificationDetail in api-docs/openapi.yaml DB: BtcCertifications, BtcCertificationCandidates, BtcCertificationBoardMembers, BtcCertificationGrades in api/database/create_schema.sql

The detail endpoint is also used by the edit form and for the header / candidate name on the Usmeni ispit form.

1. Double check API spec and DB structure

2. Implementation

3. Verify implementation against spec

Done when

The detail page shows the header, komisija and candidates, with the caller’s own Usmeni ispit status and “Otvori” for komisija members only.