Adapt PUT endpoints of project, code, data, and experiment
Summary
In order to make updating of entities simpler from a client perspective, we will adapt the API models required by the PUT endpoints to only require label IDs instead of the entire label model.
Acceptance Criteria
-
PUT endpoints require only label IDs for updating -
Project -
Experiment Repository -
Code Repository -
Data Repository
-
Additional Notes / Information
Technical Information
Suggested Implementation
-
Add labelsfield toAdd<model>that only requireslabels: list[UUID] | Nonefor-
Project -
Experiment Repository -
Code Repository -
Data Repository
-
-
Refactor respective API PUT and POST endpoints
Edited by Fabian Emmerich