Send a PubSub message to Cloud Build to kickoff a deployment process
Permission Level: Read-Write
POST /tenants/deploy
Operation id: TenantService_KickoffDeployment
Tags: TenantService
Security
- Authorization (apiKey)
- Bearer token
Responses
200 — A successful response.
Content type: application/json
default — An unexpected error response.
Content type: application/json
Request body
Required: Yes
application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
topicName | string | No | |
payload | object | No |
{
"type": "object",
"properties": {
"topicName": {
"type": "string"
},
"payload": {
"type": "object",
"properties": {
"custEnv": {
"type": "string",
"enum": [
"uat",
"prd"
],
"default": "uat"
},
"region": {
"type": "string",
"enum": [
"US",
"EU"
],
"default": "US"
},
"releaseVersion": {
"type": "string"
},
"component": {
"type": "string"
}
}
}
}
}
Response models
200 — A successful response.
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
status | string | No |
{
"type": "object",
"properties": {
"status": {
"type": "string"
}
}
}
default — An unexpected error response.
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
code | integer (int32) | No | |
message | string | No | |
details | array | No |
{
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
}
}
}
}
}