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 labels field to Add<model> that only requires labels: list[UUID] | None for
    • Project
    • Experiment Repository
    • Code Repository
    • Data Repository
  • Refactor respective API PUT and POST endpoints
Edited by Fabian Emmerich