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

Load Versioned State Aggregate

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

请求参数

Path 参数
id
string 
必需
aggregate id
version
integer <int32>
必需
aggregate version
示例值:
2147483647

示例代码

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/'

返回响应

🟢200成功
application/json
Load Versioned State Aggregate
Headers
Wow-Error-Code
string 
可选
Body
error
object (compensation.execution_failed.ErrorDetails) 
可选
bindingErrors
array[object (wow.api.BindingError) {2}] 
可选
errorCode
string 
必需
errorMsg
string 
必需
stackTrace
string 
必需
succeeded
boolean 
只读可选
eventId
object (compensation.execution_failed.EventId) 
可选
aggregateId
object (wow.api.modeling.AggregateId) 
必需
id
string 
必需
version
integer <int32>
必需
initialized
boolean 
只读可选
isInitialVersion
boolean 
只读可选
executeAt
integer <int64>
可选
function
object (wow.api.messaging.FunctionInfoData) 
可选
contextName
string 
必需
functionKind
enum<string> 
必需
枚举值:
COMMANDSOURCINGEVENTSTATE_EVENTERROR
name
string 
必需
processorName
string 
必需
id
string 
必需
recoverable
enum<string> 
可选
枚举值:
RECOVERABLEUNRECOVERABLEUNKNOWN
retrySpec
object (compensation.execution_failed.RetrySpec) 
可选
executionTimeout
integer <int32>
必需
maxRetries
integer <int32>
必需
minBackoff
integer <int32>
必需
retryState
object (compensation.execution_failed.RetryState) 
可选
nextRetryAt
integer <int64>
必需
retries
integer <int32>
必需
retryAt
integer <int64>
必需
timeoutAt
integer <int64>
必需
status
enum<string> 
可选
枚举值:
FAILEDPREPAREDSUCCEEDED
isBelowRetryThreshold
boolean 
只读可选
isRetryable
boolean 
只读可选
示例
{
    "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",
    "isBelowRetryThreshold": true,
    "isRetryable": true
}
🟠400请求有误
🟠404记录不存在
上一页
Load State Aggregate
下一页
Load Time Based State Aggregate
Built with