cancel
Showing results for 
Search instead for 
Did you mean: 

REST process definition

tmichel
Champ in-the-making
Champ in-the-making
Hi Folks,

I am finalizing tests for the new pyactiviti, Python wrapper for Activiti REST API, and I noticed that the process definition API has no router. After looking at source code, it seems that the java class resource is missing for this service.

May be some core developers could highlight me on that ?

PS/ pyactiviti will be available on SourceForge this night and released under GPL

Thanks a lot

Thierry Michel
senior developer @ xtensive.com
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Hi,

Great. I don't understand your remark though.
In the ActivitiRestApplication class I see for example:

router.attach("/process-definitions", ProcessDefinitionsResource.class);

Could you explain what you mean?

Best regards,

tmichel
Champ in-the-making
Champ in-the-making
Hi,

Yep the ending 's' is confusing us, I was talking about this REST API :


Request: GET /process-definition/{processDefinitionId}
API: ProcessEngines.getProcessEngine(configuredProcessEngineName).getRepositoryService().createProcessDefinitionQuery().processDefinitionId(processDefinitionId)

Thanks,

trademak
Star Contributor
Star Contributor
Hi,

Right, this REST service is not available.
You can already do this via the /process-definitions REST service and use the query parameters of your choice.
Is that a problem?

Best regards,