# Rest API Extension deployment

**URL:** <https://community.ofelia.com/t/rest-api-extension-deployment/9250>\
**Category:** Q&A\
**Created:** [3 September 2018 09:54 UTC](https://community.ofelia.com/t/rest-api-extension-deployment/9250 "2018-09-03T09:54:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![p.clainchard](https://avatars.discourse-cdn.com/v4/letter/p/e68b1a/32.png) [@p.clainchard](https://community.ofelia.com/u/p.clainchard)\
**Post date:** [3 September 2018 09:54 UTC](https://community.ofelia.com/t/rest-api-extension-deployment/9250/1 "2018-09-03T09:54:28Z")

</div>

Hi guys,  
We were wondering if there is a way to deploy all the REST API Extensions at once for the Studio ?

Use Case : I import my workspace in a new local repository, I have 10 REST API Extensions.  
For now I have to select the Extensions one by one, and select Deploy…

Can we do a global maven build ? How can I know the Maven Phase executed by the Studio when you click on Deploy… ?

Cheers 🙂  
Pierre

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [5 September 2018 18:54 UTC](https://community.ofelia.com/t/rest-api-extension-deployment/9250/2 "2018-09-05T18:54:07Z")

</div>

Hello,

Today it is not possible to do such thing, at least not that I know. Your point is totally valid and it is seriously considered for the platform roadmap: we are trying to make the deployment much efficient from the Studio to the embedded Server.

In the meantime, the workaround could be to create a script that removes, builds and deploys REST API Extension resources for a given workspace/repository using Maven and Bonita APIs (REST or Java). Maven would be used to build (mvn install works well on my side) and Bonita APIs to remove and/or deploy artifacts.

HIH,

---

<div class="post-metadata">

**Author:** ![p.clainchard](https://avatars.discourse-cdn.com/v4/letter/p/e68b1a/32.png) [@p.clainchard](https://community.ofelia.com/u/p.clainchard)\
**Post date:** [7 September 2018 09:01 UTC](https://community.ofelia.com/t/rest-api-extension-deployment/9250/3 "2018-09-07T09:01:44Z")

</div>

Hi Pierrick,  
I’ll have to try to do it, but after my holidays 😛  
Thank you for your response, I’ll give an update if I make any progress !  
++
