API call to load a bar file and import into a process

I am looking through the processAPI and trying to figure out if there is a api call which takes a bar file or a path to read and deploy a bar file after reading its resources.

If you read through the chapter of the documentation

http://documentation.bonitasoft.com/product-bos-sp/engine-api

you will find all you need to load a bar file and load it,

regards