Camunda API to get list of tasks in a process-definition

hi @aravindhrs/@tmetzke,

Thanks for your responses!

To be specific we want to display all the task/subprocess names in our UI.

For example, take a recruiting workflow as below and how could we retrieve stage names using Camunda APIs:

Thanks,
Viswanath