-
Sub-task
-
Resolution: Done
-
L3 - Default
-
None
-
None
-
Not defined
Currently, our api is only sortable by name since we have to values for the owner. We need to extend this after the owner property is being returned correctly so that the sortability can be applied to both name and owner. We also need to include both the ID and the name of the owner in the response from now
GET /api/process/goals/
*Parameters: *
SortBy: 'owner', // or name sortOrder: 'asc' //desc
Response body:
[ { "processDefinitionKey" : "..." "processName" : "...", "durationGoals": {}, "owner": { "id": "someId", "name": "someName" } // can be null } ... ]
AT:
- The endpoint for returning the processes along with their goals offers the possibility to sort by the owner AND the name
- API Docs are updated