REST API - list Activities in a Process Definition

I’d like to get the list of activities for a given process definition. I’m really just interested in the ids for external service tasks and intermediate throw events. I need the name, id and topic name if applicable.

Thus far the only way I see is to obtain this info is to download the BPMN xml and parse it.

Hi @ddrouin,

I agree with you that you need to parse your BPMN XML.
This can be easily achieved via the Camunda Model API [1].

Cheers,
Tassilo

[1] https://docs.camunda.org/manual/7.10/user-guide/model-api/bpmn-model-api/