Pocro Vento Documentation

Backend: Zapisnici list

GitHub Issue: #194

Last modified with commit 374306c on by Aljaž.

Backend task for the Zapisnici list and the PDF download (GET /drivepark/records, GET /drivepark/records/{recordId}/pdf/{stage}) – check the API spec and DB structure, compute the status, search and sort, stream the stored PDFs, implement, and verify against the spec.

Docs: Zapisnici list Spec: GET /drivepark/records (getDriveParkRecords), GET /drivepark/records/{recordId}/pdf/{stage} (downloadDriveParkRecordPdf), DriveParkRecord, DriveParkRecordStatus, DriveParkRecordStage in api-docs/openapi.yaml DB: DriveParkRecords in api/database/pending_schema.sql (-- DRIVE PARK --)

1. Double check API spec and DB structure

2. Implementation

3. Verify implementation against spec

Done when

The Zapisnici list shows every record with its status and the right buttons, and the PDFs can be downloaded.