I have used the following query in postman
SELECT Id, ApiName,Label, ProcessType From FlowDefinitionView Where ProcessType = 'flow'
result has given me the Ids of all the flows whose processTypes are flows.
What I now want to do is, hit an endpoint (if it exists) it might take Id as parameter and get the definition of the flow.
Which means the same XML file data that I would have gotten If I would go to VsCode and manually retrieve the Flow Data from the Org Metadata.
Currently the URI is :
{{_endpoint}}/services/data/v{{version}}/query/?q=SELECT Id, ApiName,Label, ProcessType From FlowDefinitionView Where ProcessType = 'flow'
Requirement: A similar URI, which when made a Get Request returns the definition of the flow (XML file with the flow's metadata)