icgc-argo / argo-clinical

Clinical data submission for ARGO programs.
GNU Affero General Public License v3.0
2 stars 0 forks source link

Create update endpoint #1110

Closed ciaranschutte closed 5 months ago

ciaranschutte commented 5 months ago

Description of changes

Type of Change

Checklist before requesting review:

joneubank commented 5 months ago

Responding to your description of changes to the endpoints, it is clear we will need to update them for the existing exceptions as well as define new paths for the missing-entity exceptions. How about this proposal for the paths to the different types of exceptions:

Property Exceptions, program level:
/exception/property/{programId}

PropertyExceptions, entity level:
/exception/property/{programId}/entity

Missing Entity Exceptions:
/exception/missing-entity/{programId}

This is using the singular exception as you suggested, for consistency with the clinical API conventions.