Invoke pr automation
POST/v1/api/scm/prautomations/{id}/invoke
Parameters
Responses
| Parameter | Type | Description |
|---|---|---|
idrequired | string | — |
branch | string | Branch name for the pull request (overrides default) |
contextrequired | object | Context variables to pass to the PR automation templates |
identifier | string | Repository identifier (overrides default) |
Response samples
200
{
"title": "string",
"body": "string",
"cluster_id": "string",
"creator": "string",
"id": "string",
"inserted_at": "string",
"labels": [
"string"
],
"ref": "string",
"service_id": "string",
"sha": "string",
"stack_id": "string",
"status": "open",
"updated_at": "string",
"url": "string"
}