Endpoint: POST /api/v1/projects/{id}/deploy
Prerequisites
- The caller must provide a project id.
Authorization
- API key (via the
X-API-KEY header).
Parameters
Path Parameters
| Field name | Description | Format |
| id | The ID of the project | UUID |
Query Parameters
| Field name | Description | Format |
| version | The project version | String |
| deployer | The deployer | String |
| profile | The deployer profile | String |
Request Body
| Field name | Description | Format |
| environmentType | The deployment environment type | String |
| activeProfiles | Active profiles | Array |
| configurationVariables | Configuration variables | Array |
| applicationName | The deployment application name | String |
Configuration Variable Structure
| Field name | Description | Format |
| name | The configuration name | String |
| type | The configuration type | String |
| default | The configuration default | Object |
Response Body
| Field name | Description | Format |
| id | The ID of the deployment service | UUID |
| status | The deployment status | String |
Examples
Project
```json
{
"environmentType": "TEST",
"activeProfiles": [
"$default"
],
"configurationVariables": [
{
"name": "VARIABLE",
"type": "INTEGER",
"default": 0
}
],
"applicationName": "deployment-name"
}
json
{
"id": "00000000-0000-0000-0000-000000004444",
"status": "STARTED"
}
```