Wow-Compensation
  1. compensation.execution_failed
Wow-Compensation
  • wow
    • The receiving endpoint of the wait signal
    • Unified Sending Endpoint For Command Messages
    • Get Wow Metadata
    • Generate Global ID
    • Generate BI Sync Script
  • compensation.execution_failed
    • create_execution_failed
      POST
    • prepare_compensation
      PUT
    • force_prepare_compensation
      PUT
    • apply_execution_success
      PUT
    • apply_execution_failed
      PUT
    • apply_retry_spec
      PUT
    • change_function
      PUT
    • mark_recoverable
      PUT
    • Delete aggregate
      DELETE
    • Recover deleted aggregate
      PUT
    • Get Aggregate Tracing
      GET
    • Load State Aggregate
      GET
    • Load Versioned State Aggregate
      GET
    • Load Time Based State Aggregate
      GET
    • Get Snapshot
      GET
    • Regenerate Aggregate Snapshot
      PUT
    • Batch Regenerate Aggregate Snapshot
      PUT
    • Count Snapshot
      POST
    • List Query Snapshot
      POST
    • List Query Snapshot State
      POST
    • Paged Query Snapshot
      POST
    • Paged Query Snapshot State
      POST
    • Single Snapshot
      POST
    • Single Snapshot State
      POST
    • Load Event Stream
      GET
    • List Query Event Stream
      POST
    • Paged Query Event Stream
      POST
    • Count Event Stream
      POST
    • Event Compensate
      PUT
    • Resend State Event
      POST
  1. compensation.execution_failed

Get Aggregate Tracing

GET
/execution_failed/{id}/state/tracing
compensation.execution_failed

请求参数

Path 参数
id
string 
必需
aggregate id

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/execution_failed//state/tracing'

返回响应

🟢200成功
application/json
Get Aggregate Tracing
Headers
Wow-Error-Code
string 
可选
Body
array of:
id
string 
必需
The ID of the domain event stream.
>= 1 字符
contextName
string 
必需
The name of the context to which the domain event stream belongs
>= 1 字符
aggregateName
string 
必需
The name of the aggregate to which the domain event stream belongs
>= 1 字符
header
object 
可选
message header
user_agent
string 
可选
user agent
remote_ip
string 
remote ip
可选
trace_id
string 
trace id
可选
command_operator
string 
可选
command operator
local_first
boolean 
可选
local first
command_wait_endpoint
string <url>
可选
command wait endpoint
command_wait_stage
enum<string> 
可选
枚举值:
SENTPROCESSEDSNAPSHOTPROJECTEDEVENT_HANDLEDSAGA_HANDLED
默认值:
PROCESSED
额外字段
integer  | number  | string  | boolean 
可选
tenantId
string 
必需
The tenant id of the aggregate
>= 1 字符
aggregateId
string 
必需
The id of the aggregate
>= 1 字符
ownerId
string 
必需
The owner ID of the aggregate resource
默认值:
commandId
string 
可选
The ID of the command message.
>= 1 字符
requestId
string 
可选
The request ID of the command message, which is used to check the idempotency of the command message
>= 1 字符
version
integer <int32>
必需
The version of the domain event stream
body
array [object {5}] 
必需
A list of domain events for the domain event stream
>= 1 items
id
string 
必需
The ID of the domain event.
>= 1 字符
name
string 
必需
The name of the domain event
>= 1 字符
revision
string 
必需
The revision number of the domain event
bodyType
string 
必需
The fully qualified name of the domain event body
body
object 
必需
The message body of the domain event
createTime
integer <int64>
必需
The time when the domain event stream was created
firstOperator
string 
必需
The first person who operates the aggregate is the creator
firstEventTime
integer <int64>
必需
The first event time of the aggregate, which is the time it was created
state
object 
必需
The state data of the aggregate
error
object (compensation.execution_failed.ErrorDetails) 
可选
eventId
object (compensation.execution_failed.EventId) 
可选
executeAt
integer <int64>
可选
function
object (wow.api.messaging.FunctionInfoData) 
可选
id
string 
必需
recoverable
enum<string> 
可选
枚举值:
RECOVERABLEUNRECOVERABLEUNKNOWN
retrySpec
object (compensation.execution_failed.RetrySpec) 
可选
retryState
object (compensation.execution_failed.RetryState) 
可选
status
enum<string> 
可选
枚举值:
FAILEDPREPAREDSUCCEEDED
deleted
boolean 
必需
Whether the aggregate has been deleted
示例
[
    {
        "id": "string",
        "contextName": "string",
        "aggregateName": "string",
        "header": {
            "user_agent": "string",
            "remote_ip": "string",
            "trace_id": "string",
            "command_operator": "string",
            "local_first": true,
            "command_wait_endpoint": "string",
            "command_wait_stage": "PROCESSED"
        },
        "tenantId": "string",
        "aggregateId": "string",
        "ownerId": "",
        "commandId": "string",
        "requestId": "string",
        "version": 0,
        "body": [
            {
                "id": "string",
                "name": "string",
                "revision": "string",
                "bodyType": "string",
                "body": {}
            }
        ],
        "createTime": 0,
        "firstOperator": "string",
        "firstEventTime": 0,
        "state": {
            "error": {
                "bindingErrors": [
                    {
                        "msg": "string",
                        "name": "string"
                    }
                ],
                "errorCode": "string",
                "errorMsg": "string",
                "stackTrace": "string",
                "succeeded": true
            },
            "eventId": {
                "aggregateId": {
                    "contextName": "string",
                    "aggregateName": "string",
                    "tenantId": "(0)",
                    "aggregateId": "string"
                },
                "id": "string",
                "version": 0
            },
            "executeAt": 0,
            "function": {
                "contextName": "string",
                "functionKind": "COMMAND",
                "name": "string",
                "processorName": "string"
            },
            "id": "string",
            "recoverable": "RECOVERABLE",
            "retrySpec": {
                "executionTimeout": 0,
                "maxRetries": 0,
                "minBackoff": 0
            },
            "retryState": {
                "nextRetryAt": 0,
                "retries": 0,
                "retryAt": 0,
                "timeoutAt": 0
            },
            "status": "FAILED"
        },
        "deleted": true
    }
]
修改于 2025-06-12 08:09:38
上一页
Recover deleted aggregate
下一页
Load State Aggregate
Built with