Submits an asynchronous lifecycle action (START, STOP) for log reader associated with pipeline within the specified project.
HTML
POST https://hostname/v1/integration/continuous/monitoring/projects/{projectId}/logreaders/triggerProcess Overview
- Validate caller has `replication-pipeline::operate` permission.
- Validate that at least logReader or pipeline is specified in the request.
- Dispatch start or stop request through the portal client.
- Build 202 response with body status (SUBMITTED if dispatch succeeded, FAILED if an internal exception occurred) and Location header to alerts.
Key Features
- Targeted log reader control (specify logReader and associating pipeline).
- Uniform 202 response; body-level status differentiates dispatch success vs failure.
- Immediate monitoring path via Location header (
/projects/{projectId}/alerts) for a successfully submitted request. - Idempotent friendly: client can safely retry on FAILED since execution had not been confirmed.
Required Permissions
replication-pipeline::operate
Request
Path parameters
| Key | Required | Type | Description |
|---|---|---|---|
| projectId | Yes | string |
Unique identifier of the project whose log readers should be acted upon. |
Request body properties
| Ancestors | Property | Required | Type | Description |
|---|---|---|---|---|
| pipeline | Yes | string |
|
|
| logReader | Yes | string |
|
|
| startOptions | No | |||
| action | Yes | string |
This property is an enumerated string type (enum) set to one of these values:
|
Request body example
"logReader":"logreader-1",
"pipeline":"orders",
"action":"START",
"startOptions": {
"warmStart":"true"
}
Response
A 202 Accepted response indicates the request was validated and dispatched (not that execution is complete). The response body contains a status field (SUBMITTED or FAILED) and the Location header points to the alerts endpoint for monitoring.
Header keys
| Key | Required | Type | Description |
|---|---|---|---|
| Location | No | string |
URL of the project alerts endpoint for monitoring post-trigger alerts. |
Response body properties
| Property | Required | Type | Description |
|---|---|---|---|
| message | No | string | |
| status | No | string |
This property is an enumerated string type (enum) set to one of these values:
|
Response examples
Example status code responses for this method are shown here.
"message": "request START submitted",
"status": "SUBMITTED"
"type": "https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.1",
"title": "Bad Request",
"status": "400",
"detail": "Validation error occurred",
"instance": "/v1/integration/continuous/monitoring/projects/{projectId}/logreaders/trigger",
"properties": {
"errorCode": "DI-ADAPTER-VAL-0000"
}
"type": "https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.2",
"title": "Unauthorized",
"status": "401",
"detail": "Authorization failed - missing or invalid credentials",
"instance": "/v1/integration/continuous/monitoring/projects/{projectId}/logreaders/trigger",
"properties": {
"errorCode": "DI-ADAPTER-AUT-0001"
}
"type": "https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.4",
"title": "Forbidden",
"status": "403",
"detail": "Authorization failed - insufficient permissions",
"instance": "/v1/integration/continuous/monitoring/projects/{projectId}/logreaders/trigger",
"properties": {
"errorCode": "DI-ADAPTER-AUT-0002"
}
"type": "https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.5",
"title": "Not Found",
"status": "404",
"detail": "Not Found - Resource does not exist",
"instance": "/v1/integration/continuous/monitoring/projects/{projectId}/logreaders/trigger",
"properties": {
"errorCode": "DI-ADAPTER-PRJ-0005"
}
"type": "https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.21",
"title": "Unprocessable Entity",
"status": "422",
"detail": "Unprocessable Entity - Request is syntactically correct but semantically invalid",
"instance": "/v1/integration/continuous/monitoring/projects/{projectId}/logreaders/trigger",
"properties": {
"errorCode": "DI-ADAPTER-VAL-0001"
}
"type": "https://datatracker.ietf.org/doc/html/rfc9110#section-15.6",
"title": "Internal Server Error",
"status": "500",
"detail": "An unexpected error occurred",
"instance": "/v1/integration/continuous/monitoring/projects/{projectId}/logreaders/trigger",
"properties": {
"errorCode": "DI-ADAPTER-CST-0004"
}