Add a new endpoint POST /constraints that works like the SenNet entity-api /constraints endpoint, EXCEPT- the only constraint that it enforces is that you need to connect an organ to a donor (Donor-->Sample-of-type-organ)-- i.e. only a sample of sample_category == organ can have a descendant of Donor.
NOTE: Do not use the x-atlas-consortia commons package as this has only very specific SenNet functionality.
Add a new endpoint
POST /constraints
that works like the SenNet entity-api /constraints endpoint, EXCEPT- the only constraint that it enforces is that you need to connect an organ to a donor (Donor-->Sample-of-type-organ)-- i.e. only a sample of sample_category == organ can have a descendant of Donor.NOTE: Do not use the x-atlas-consortia commons package as this has only very specific SenNet functionality.