Can we modify the RESPONSE object of the REST API?

Hi

I have few process variables which I want to return in the RESPONSE Object of the REST API .Can I modify the response object of the Camunda Rest API ?

Regards

@mudit I would suggest instead of modifying existing apis provided by camunda you can add your own rest resources and register with jersey configuration

Hi,
Can you explain on how to achieve the same ?
Also, if I want to use the default API’s and add my own response can I do that ?

Hi mohit,

Unfortunately, Camunda rest API is a default API that builds in the process engine. If I was you, I will build a custom rest API to achieve that.