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 Snapshot

GET
/execution_failed/{id}/snapshot
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//snapshot'

返回响应

🟢200成功
application/json
Headers
Wow-Error-Code
string 
可选
Body
contextName
string 
必需
The name of the context to which the snapshot belongs
>= 1 字符
aggregateName
string 
必需
The name of the aggregate to which the snapshot belongs
>= 1 字符
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
默认值:
version
integer <int32>
必需
The version of the snapshot
eventId
string 
必需
The ID of the domain event stream.
>= 1 字符
firstOperator
string 
必需
The first person who operates the aggregate is the creator
operator
string 
必需
The last person who operates the aggregate
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
snapshotTime
integer <int64>
必需
The snapshot time of the aggregate
示例
{
    "contextName": "string",
    "aggregateName": "string",
    "tenantId": "string",
    "aggregateId": "string",
    "ownerId": "",
    "version": 0,
    "eventId": "string",
    "firstOperator": "string",
    "operator": "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,
            "initialized": true,
            "isInitialVersion": true
        },
        "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,
    "snapshotTime": 0
}
🟠404记录不存在
上一页
Load Time Based State Aggregate
下一页
Regenerate Aggregate Snapshot
Built with