Content
View differences
Updated by Oleksii Borysenko 3 months ago
<mention class="mention" data-id="70047" data-type="work_package" data-text="###70047">###70047</mention> is introducing a crucial API change that helps us fix <mention class="mention" data-id="67299" data-type="work_package" data-text="###67299">###67299</mention>. But, to do so we need to rework the input received through the application differentiating between:
* Places where we will only receive `Users` and therefore use `"type": "User"`.
* Places where we can receive `Users` and/or `Groups` and therefore use `"type": "Principal"`.
UPD: after discussion with Jan Sandbrink we clarified where should we add changes in the mobile app. This answer is: we can get Users or Groups in all places where we get `schema` (includind for example endpoints like `workpackage/form`, where we have schema as well). In all other places we can safely use `User` type.
* Places where we will only receive `Users` and therefore use `"type": "User"`.
* Places where we can receive `Users` and/or `Groups` and therefore use `"type": "Principal"`.
UPD: after discussion with Jan Sandbrink we clarified where should we add changes in the mobile app. This answer is: we can get Users or Groups in all places where we get `schema` (includind for example endpoints like `workpackage/form`, where we have schema as well). In all other places we can safely use `User` type.