CAM-9529 I can get the variables on api rest with process instances in a single request

I read the issue:

CAM-9529
I can get the variables on api rest with process instances or tasks in a single request.

But, I do not understand very well.

This issue refers to mix the functionality of the request to:
POST /engine-rest/process-instance/
{“variableNames”:
[{“name”: “variableName”,
“operator”: “eq”,
“value”: “variableValue”
}]
}

and the request to:
GET /engine-rest/process-instance/{id}/variables

to get the process instances with their corresponding variables, I means all variables of each process instances that meets the filters?, the same for the tasks?

Thanks for your help.

Process variables and task variables are different and each has different rest api.

Below API gives you all the processvariables for the input(list of processinstance ids) in one request.
POST : /history/variable-instance

Thanks.

I understand that you tell me, I did some test about the /history/variable-instance, but then the issue [CAM-952] should be closed?

Thanks for your answer.