I believe it is no longer possible to get the resourcedata using this rest api call (404) ? : repository/deployments/{deploymentId}/resourcedata/bpm/***.bpmn20.xml
This means that the hyperlink to the recource at /repository/process-definitions/{processDefinitionId} should point to /repository/process-definitions/{processDefinitionId}/resourcedata