[APIv2] Project Controller
Project Controller
For this controller we will likely face some non-backward compatible changes. When relying on these features you can subscribe to notifications on this issue and/or engage into the discussion. Changes will be announced here.
Discussion points are classified as follows:
-
⚠ ️ May introduce breaking change. -
💡 Addition to existing interface -
❓ Open question, further discussion will be done in this thread
Discussion
ProjectDto
:
-
💡 Add"userRole":{"id":"..."}
property to have a quick access to the current users' role in the project. For public projects this should benull
if the user is not in the project.
projects
:
-
💡 add query parameter?withRoles
that gets only project where the user has one of the given roles. -
💡 add query parameter?withVisibilities
to get only projects that have one of the given visibilities.
ProjectRoleForProjectCreationDto
-
💡 /❓ Not sure if the name makes sense, suggest renaming toProjectRoleForCreationDto
-
⚠ ️ Use pattern"project": {"id":"..."}
instead ofprojectId
androleId
.
ProjectRoleForProjectManipulationDto
-
💡 /❓ Not sure if the name makes sense, I suggest renaming toProjectRoleForManipulationDto
-
⚠ ️ Use pattern"role": {"id":"..."}
instead ofroleId
.
Edited by Petar Hristov