Hello,
We're trying to automate the creation of packages and the deployment of those using Atlassian Bamboo and the Mendix Deploy API.
The automation was working fine until we had to create branches and not use trunk.
We are using a method like this in a powershell script called by Bamboo:
irm -Headers $headers https://cloudportal.mendixcloud.com/api/1/apps/$appName/branches/$branchName
where $branchName was "trunk" before, but now is "branches/development"
And that's the problem, when we use that slash symbol, Bamboo doesn't understand. We have tried to HTML escape the character and use "branches%2Fdevelopment", but Bamboo's web based powershell ignores the HTML escaping and finally transforms it into "branches/development"
As the use of that slash is quite conflicting, is there a possibility that in your API you also accept other type of character, like "branches_development", or that when you use "branches/development", the API knows what I'm talking about and returns the information of that branch? Or that I can remove one of the "branches", and when I say "branches/trunk" or "branches/development" (instead of "branches/branches/development"), it is understood?