Task variables REST Service Internal Implementation

Hi Team,
I would like to know the internal Java code implementation for this API. Because I would like to write custom api similar like this. Could you please help me on this. ?

Get Task Variables

Retrieves all variables visible from the task. A variable is visible from the task if it is a local task variable or declared in a parent scope of the task. See documentation on visiblity of variables.

Method

GET /task/{id}/variables

Just guessing here, but maybe it might be:

1 Like