Deployments
Create a Deployment
post/deployments
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/deployments
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Request body
Example request
{
"ChannelId": "Channels-1",
"EnvironmentId": "Environments-1",
"ExecutionPlanLogContext": {
"Steps": [
{
"CorrelationId": "0c5a872485ac4b10857939a92d082e67"
}
]
},
"Id": "Deployments-1",
"Links": {
"Self": "/api/..."
},
"ProjectId": "Projects-1",
"ReleaseId": "Releases-1",
"SpaceId": "Spaces-1",
"TaskId": "ServerTasks-1",
"TenantId": "Tenants-1"
}Response
Created
Example response
{
"ChannelId": "Channels-1",
"EnvironmentId": "Environments-1",
"ExecutionPlanLogContext": {
"Steps": [
{
"CorrelationId": "0c5a872485ac4b10857939a92d082e67"
}
]
},
"Id": "Deployments-1",
"Links": {
"Self": "/api/..."
},
"ProjectId": "Projects-1",
"ReleaseId": "Releases-1",
"SpaceId": "Spaces-1",
"TaskId": "ServerTasks-1",
"TenantId": "Tenants-1"
}Changes
No recorded changes to this operation across all 13 revisions of this API.