All Products
Search
Document Center

Data Management:GetTableDesignProjectFlow

Last Updated:Oct 21, 2024

Queries the information about a schema design ticket, such as the current node of the ticket, whether the ticket can be returned to the schema design node, and the publishing strategy.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
OrderIdlongYes

The ID of the schema design ticket. You can call the ListOrders operation to obtain the ID.

95****
TidlongNo

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 parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID. You can use the request ID to query logs and troubleshoot issues.

B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
ErrorMessagestring

The error message returned if the request failed.

UnknownError
ErrorCodestring

The error code returned if the request failed.

UnknownError
ProjectFlowobject

The information about the schema design process.

FlowNodeArrayarray<object>

The nodes in the process.

FlowNodeArrayobject
NodeRolestring

The role of the node in the process.

  • START: The ticket was created.
  • DESIGN: The schema is being created.
  • PUBLISH: The schema is published.
  • END: The ticket is complete.
DESIGN
NodeTitlestring

The title of the node.

Positioninteger

The position of the node in the process. The value starts from 1.

1
PublishAnchorboolean

Indicates whether the node is the anchor node. A schema design process has only one anchor node, on which the schema is published. After the schema is published on the anchor node, a post-publish image is generated and the DDL metadata lock is released.

false
BackToDesignboolean

Indicates whether the ticket can be returned to the schema design node. Valid values:

  • 1: The ticket can be returned to the schema design node.
  • 0: The ticket cannot be returned to the schema design node. This value can be returned only for the PUBLISH node.
1
CanSkipboolean

Indicates whether the current node can be skipped. Valid values:

  • 1: The current node can be skipped.
  • 0: The current node cannot be skipped. This value can be returned only for the PUBLISH node.
0
PublishStrategiesarray

The available publishing strategies.

PublishStrategiesstring

The publishing strategy.

  • IMMEDIATELY: immediately publish the schema.
  • REGULARLY: publish the schema at the scheduled time.
IMMEDIATELY
CurrentPositioninteger

The position of the current node in the process.

2
RuleNamestring

The name of the security rule set that is applied to the schema design ticket.

mysql default
RuleCommentstring

The description of the security rule set that is applied to the schema design ticket.

mysq_test

Examples

Sample success responses

JSONformat

{
  "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": "mysq_test"
  }
}

Error codes

For a list of error codes, visit the Service error codes.