更改交易¶
描述¶
description: |
Alter a transaction with a list of actions such as setting status or properties.
The server should either succeed and apply all actions, or fail and apply no action.
请求模式¶
AlterTransactionRequest:
type: object
description: |
Alter a transaction with a list of actions.
The server should either succeed and apply all actions, or fail and apply no action.
required:
- actions
properties:
id:
type: array
items:
type: string
actions:
type: array
minItems: 1
items:
$ref: '#/components/schemas/AlterTransactionAction'
设置状态操作
minimum: 0
InsertIntoTableRequest:
type: object
description: |
Request for inserting records into a table, excluding the Arrow IPC stream.
MergeInsertIntoTableRequest:
type: object
description: |
Request for merging or inserting records into a table, excluding the Arrow IPC stream.
properties:
id:
type: array
items:
响应模式¶
AlterTransactionResponse:
type: object
required:
- status
properties:
status:
$ref: '#/components/schemas/TransactionStatus'
properties:
type: object
additionalProperties:
type: string
相关组件架构¶
设置状态操作¶
AlterTransactionSetStatus:
type: object
properties:
status:
$ref: '#/components/schemas/TransactionStatus'
设置属性操作¶
AlterTransactionSetProperty:
type: object
properties:
key:
type: string
value:
type: string
mode:
$ref: '#/components/schemas/SetPropertyMode'