Queries information about a specific version of a workflow.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
composer:GetVersion |
get |
*Flow
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FlowId |
string |
Yes |
The workflow ID |
lc-uf6axpwfcw4ubx |
| VersionId |
string |
Yes |
The version ID |
ve-uf6bwdtvid7o25 |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| Definition |
string |
The workflow definition corresponding to the current version |
{\"schemaVersion\":\"2018-12-12\",\"actions\":{},\"version\":\"1.0.0\",\"triggers\":{}} |
| UpdateTime |
string |
The last update time of the version |
2018-12-12T07:36:22.992Z |
| RequestId |
string |
The request ID |
ADB97A33-50E7-48A5-963D-ACBAE36D0BEC |
| VersionStatus |
string |
The version status. Enabled indicates that the version is enabled. |
Enabled |
| CreateTime |
string |
The creation time of the version |
2018-12-12T07:36:22.992Z |
| VersionId |
string |
The version ID |
ve-uf6bwdtvid7o25 |
| VersionName |
string |
The version name |
5.3.6 |
| VersionDescription |
string |
The version description |
这是版本描述 |
| FlowId |
string |
The workflow ID to which the version belongs |
lc-uf6wvbsyvvl5sy |
| RegionId |
string |
The region to which the current workflow belongs |
cn-shanghai |
Examples
Success response
JSON format
{
"Definition": "{\\\"schemaVersion\\\":\\\"2018-12-12\\\",\\\"actions\\\":{},\\\"version\\\":\\\"1.0.0\\\",\\\"triggers\\\":{}}",
"UpdateTime": "2018-12-12T07:36:22.992Z",
"RequestId": "ADB97A33-50E7-48A5-963D-ACBAE36D0BEC",
"VersionStatus": "Enabled",
"CreateTime": "2018-12-12T07:36:22.992Z",
"VersionId": "ve-uf6bwdtvid7o25",
"VersionName": "5.3.6",
"VersionDescription": "这是版本描述",
"FlowId": "lc-uf6wvbsyvvl5sy",
"RegionId": "cn-shanghai"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.