Queries the flow information of a schema design ticket, including the current node, whether the ticket can return to the design node, and the publishing strategy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetTableDesignProjectFlow |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
The ID of the schema design ticket. You can call the ListOrders operation to obtain the ID. |
95**** |
| Tid |
integer |
No |
The tenant ID. Note
To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic. |
3*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID, which is used for troubleshooting. |
B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| ErrorCode |
string |
The error code returned if the request failed. |
UnknownError |
| ProjectFlow |
object |
The information about the schema design process. |
|
| FlowNodeArray |
array<object> |
The nodes in the process. |
|
|
object |
|||
| NodeRole |
string |
The role of the node in the process.
|
DESIGN |
| NodeTitle |
string |
The title of the node. |
设计阶段 |
| Position |
integer |
The position of the node in the process. The value starts from 1. |
1 |
| PublishAnchor |
boolean |
Indicates whether the node is the anchor node. Each schema design process has only one anchor node, on which the schema is published. After publishing, a post-publish image is generated and the DDL metadata lock is released. |
false |
| BackToDesign |
boolean |
Indicates whether the ticket can be returned to the schema design node. Valid values:
|
1 |
| CanSkip |
boolean |
Indicates whether the current node can be skipped. Valid values:
|
0 |
| PublishStrategies |
array |
The available publishing strategies. |
|
|
string |
The publishing strategy.
|
IMMEDIATELY |
|
| CurrentPosition |
integer |
The position of the current node in the process. |
2 |
| RuleName |
string |
The name of the security rule set applied to the schema design ticket. |
mysql default |
| RuleComment |
string |
The description of the security rule set applied to the schema design ticket. |
mysql缺省规则集 |
Examples
Success response
JSON format
{
"RequestId": "B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"ProjectFlow": {
"FlowNodeArray": [
{
"NodeRole": "DESIGN",
"NodeTitle": "设计阶段",
"Position": 1,
"PublishAnchor": false,
"BackToDesign": true,
"CanSkip": true,
"PublishStrategies": [
"IMMEDIATELY"
]
}
],
"CurrentPosition": 2,
"RuleName": "mysql default",
"RuleComment": "mysql缺省规则集"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.