-
Feature Part
-
Resolution: Fixed
-
L3 - Default
-
None
-
M
Problem definition
User Story
As a Product Manager, I want to be able to extract the information of who is the project owner for a given process definition
Solution Definition
Optimize will provide a public API endpoint (POST) under /api/process/initialowner as specified below
Optimize will save that information and associate it with the process definition as soon as the process definition data is imported
Specification of the API-call:
Http Method:
POST
Authorization:
JWT Token from the current user session. Due to scope breakdown this will be handled with OPT-6280
Endpoint:
/api/process/initial-owner
Body:
{ "processDefinitionKey": "my_process_key", "owner": "donald-duck" }Response Code:
204 if transmission succesful
401 if token is invalid
403 if token is valid but not authorized to perform that operation
500 if an internal error occurred
Please note: There will be no validation on whether the processDefinitionKey and/or the provided owner is valid, since at the time of transmission it is not guaranteed that Optimize will have the data to proof against
Response Content:
This method returns no content.