ecrin-github / rms-portal-new

RMS Portal with Python backend
MIT License
0 stars 0 forks source link

API: use consistently titles rather than id #7

Open sergiocontrino opened 1 year ago

sergiocontrino commented 1 year ago

DTP and DUP use id in the url rather than titles: probably we need an additional field for a 'short title' (probably 'name') and use this. there should be code for setting a default (and unique and updatable) name given the title.

sergiocontrino commented 1 year ago

we could also use id rather than titles for the other entities, but probably good to be able to build 'manually' the url

sergiocontrino commented 4 months ago

decided to go for auto generated ids for studies and DO DSRS-seqA DSRO-seqB when coming from mdr, the id for studies will be DSRS-originalid (e.g. DSRS-NTTC.......)

sergiocontrino commented 3 months ago

for DTP and DUP: we could use something like DSRT-seqC DSRU-seqD consistent with study/object ones