Deployment API
ace-deployment-server service exposes API endpoints which are mostly used by ACE CLI commands.
This page describes stable API endpoints that can be used by external tools.
API endpoints
Deploy git workspace
This API is used to deploy workspace from git repository to production environment.
POST http://{ace-deployment-server}/deploy/workspace/git
Query parameters
merge(pass astrue) - used to merge existing workspace with a new onepackageNameoptional - used to define name of the package. Can also be used in combination with merge command to merge with corresponding existing package.
Body
repository- repository urltoken- git tokenbranch- git branch namecommitoptional - git commitusernameoptional - git usernamerepositoryWorkspacePath(default:src/ace) - path to workspace.deploymentSecretsoptional - resolution for dependency secrets specified inpackage.yamlwith${{key}}format.
Deploy workspace from zip file
This API is used to deploy workspace from zip file to production environment.
POST http://{ace-deployment-server}/deploy/workspace/zip