Health-Informatics-UoN / Carrot-Mapper

Carrot: Convenient And Reusable Rapid Omop Transformer.
https://carrot4omop.ac.uk
MIT License
12 stars 3 forks source link

Backend API to get a Scan Reports Jobs #744

Open AndyRae opened 3 weeks ago

AndyRae commented 3 weeks ago

Summary

Create API endpoints to allow the frontend to fetch the Scan Reports Jobs.

Tasks

Summary endpoint:

scanreports/{id}/jobs Given a Scan Report, give a list of Jobs, only containing the Status, and the Stage. This should only return one Job for each stage, being the latest one.

Scan Report Table endpoint:

scanreporttables/{id}/jobs Given a Scan Report table, return a list of Jobs - containing the full model.

Acceptance Criteria