Wow-Compensation
  1. wow
Wow-Compensation
  • wow
    • The receiving endpoint of the wait signal
      POST
    • Unified Sending Endpoint For Command Messages
      POST
    • Get Wow Metadata
      GET
    • Generate Global ID
      GET
    • Generate BI Sync Script
      GET
  • 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. wow

Unified Sending Endpoint For Command Messages

POST
/wow/command/send
wow

请求参数

Header 参数
Command-Type
string 
必需
The fully qualified name of the command message body
Command-Wait-Stage
enum<string> 
可选
枚举值:
SENTPROCESSEDSNAPSHOTPROJECTEDEVENT_HANDLEDSAGA_HANDLED
Command-Wait-Context
string 
可选
Command-Wait-Processor
string 
可选
Command-Wait-Timout
integer <int32>
可选
Command timeout period. Milliseconds
Command-Aggregate-Id
string 
可选
Command-Aggregate-Version
integer <int32>
可选
The version of the target aggregate, which is used to control version conflicts
Command-Request-Id
string 
可选
The request ID of the command message, which is used to check the idempotency of the command message
Command-Local-First
boolean 
可选
Whether to enable local priority mode, if false, it will be turned off, and the default is true.
Accept
enum<string> 
可选
枚举值:
application/jsontext/event-stream
默认值:
application/json
Command-Tenant-Id
string 
可选
The tenant ID of the aggregate
Command-Owner-Id
string 
可选
The owner ID of the aggregate resource
Command-Aggregate-Context
string 
可选
The name of the context to which the command message belongs
Command-Aggregate-Name
string 
可选
The name of the aggregate to which the command message belongs
Body 参数application/json
object {0}
示例
{}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/wow/command/send' \
--header 'Command-Type;' \
--header 'Content-Type: application/json' \
--data-raw '{}'

返回响应

🟢200成功
application/json
Headers
Wow-Error-Code
string 
可选
Body
aggregateId
string 
必需
bindingErrors
array[object (wow.api.BindingError) {2}] 
可选
msg
string 
必需
name
string 
必需
commandId
string 
必需
contextName
string 
必需
errorCode
string 
可选
errorMsg
string 
可选
id
string 
必需
processorName
string 
必需
requestId
string 
必需
result
object (compensation.StringObjectMap) 
可选
signalTime
integer <int64>
可选
stage
enum<string> 
必需
枚举值:
SENTPROCESSEDSNAPSHOTPROJECTEDEVENT_HANDLEDSAGA_HANDLED
tenantId
string 
必需
succeeded
boolean 
只读可选
示例
{
    "aggregateId": "string",
    "bindingErrors": [
        {
            "msg": "string",
            "name": "string"
        }
    ],
    "commandId": "string",
    "contextName": "string",
    "errorCode": "string",
    "errorMsg": "string",
    "id": "string",
    "processorName": "string",
    "requestId": "string",
    "result": {},
    "signalTime": 0,
    "stage": "SENT",
    "tenantId": "string",
    "succeeded": true
}
🟠400请求有误
🟠404记录不存在
🟠408408
🟠409409
🟠410记录不存在
🟠429429
上一页
The receiving endpoint of the wait signal
下一页
Get Wow Metadata
Built with