Submits an asynchronous clear operation for backlog rows associated with a pipeline in a project.
HTML
POST https://hostname/v1/integration/continuous/monitoring/projects/{projectId}/backlog/triggerProcess Overview
- Validate caller has
replication-pipeline::operatepermission. - Validate that action is CLEAR and pipeline is specified.
- If
forcedis true, forcibly clear all backlog rows (may result in data loss for unreplicated rows). - Dispatch clear 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 backlog clear operation for a specific pipeline.
- Forced clear option for data loss scenarios.
- Uniform 202 response; body-level status differentiates dispatch success vs failure.
- 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 backlog rows should be cleared. |
Request body properties
| Property | Required | Type | Description |
|---|---|---|---|
| pipeline | Yes | string |
|
| forced | No | boolean |
This property may be set to |
| action | Yes | string |
This property is an enumerated string type (enum) set to one of these values:
|
Request body example
"pipeline": "orders",
"forced": "true",
"action": "CLEAR"
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 CLEAR 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}/backlog/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}/backlog/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}/backlog/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}/backlog/trigger",
"properties": {
"errorCode": "DI-ADAPTER-PRJ-0005"
}
"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}/backlog/trigger",
"properties": {
"errorCode": "DI-ADAPTER-BLT-0001"
}