Closed prmths128 closed 2 weeks ago
Not sure about moving other project endpoints. There could a middle ground to have but if we start to follow strictly the hierarchy in the URL we'll end up with overly complicated URLs. I'll reorganize a bit and we can discuss after if we go further.
Add organization_id to Project Rework project endpoints a bit.
issue: https://github.com/orgs/mlco2/projects/4/views/1?pane=issue&itemId=67359449
Context: Rework API to have the following structure:
L'idée est de mettre un peu en évidence la hiérarchie des concepts sans compliquer les choses. Avoir une URL de type runs/{id}/projects//experiments//runs/id>/measures
serait ingérable.
Mais avoir
/organizations/<id>/projects
permet de mettre en évidence les liens entre les structuresJ'ai mis pour chaque item un accès à partir du parent ou par query param. Ex: les 2 chemins suivant reviennent au meme (uniquement pour lister les éléments pour ne pas avoir de duplication inutile):