You can call the DescribeFlowCategory operation to query the information of a directory.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeFlowCategory |
The operation that you want to perform. This parameter is required for API requests that you create by piecing together HTTP or HTTPS URLs. Set the value to DescribeFlowCategory. |
Id | String | Yes | FC-075AB9477DAE**** |
The ID of the directory. You can call DescribeFlowCategory View data on the Member Management page. |
ProjectId | String | Yes | FP-ABD24A6163D3**** |
The ID of the project. You can call ListFlowProject View the ID of the project. |
RegionId | String | Yes | cn-hangzhou |
The region ID. You can call DescribeRegions To view the latest list of Alibaba Cloud regions. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
CategoryType | String | FILE |
The type of the object to which the directory references. Valid values:
|
GmtCreate | Long | 1542783867503 |
The creation time of the directory. |
GmtModified | Long | 1542783867503 |
The modification time of the directory. |
Id | String | FC-075AB9477DAE**** |
The ID of the directory. |
Name | String | my_category |
The name of the directory. |
ObjectId | String | F-EB3021F73E51**** |
The ID of the associated target object. For example, the ID of a workflow or a job. |
ObjectType | String | FLOW |
The type of the associated entity. Valid values:
|
ParentId | String | FC-3A749C1F5D12**** |
The ID of the parent directory. |
ProjectId | String | FP-E3F1523F8FC1**** |
The ID of the project. |
RequestId | String | BCEDC663-43F1-4202-9C49-9D3D66EA93D7 |
The ID of the request. |
Type | String | FLOW |
The type of the directory. Valid values:
|
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeFlowCategory
&Id=FC-075AB9477DAE****
&ProjectId=FP-ABD24A6163D3****
&RegionId=cn-hangzhou
&<common request parameters>
Sample success responses
XML
format
<Data>
<ParentId>FC-198D4E3ACA4F****</ParentId>
<ObjectType>FLOW</ObjectType>
<Type>FLOW</Type>
<GmtCreate>1541858202000</GmtCreate>
<RequestId>BBEB8FD9-3AA8-4D53-831C-037D9C53348E</RequestId>
<ObjectId>F-33FA7CD5E195****</ObjectId>
<ProjectId>FP-E3F1523F8FC1****</ProjectId>
<GmtModified>1541858767000</GmtModified>
<CategoryType>FILE</CategoryType>
<Id>FC-3A749C1F5D12****</Id>
<Name>myFlow</Name>
</Data>
<RequestId>BBEB8FD9-3AA8-4D53-831C-037D9C53348E</RequestId>
JSON
Syntax
{
"Data": {
"ParentId": "FC-198D4E3ACA4F****",
"ObjectType": "FLOW",
"Type": "FLOW",
"GmtCreate": 1541858202000,
"RequestId": "BBEB8FD9-3AA8-4D53-831C-037D9C53348E",
"ObjectId": "F-33FA7CD5E195****",
"ProjectId": "FP-E3F1523F8FC1****",
"GmtModified": 1541858767000,
"CategoryType": "FILE",
"Id": "FC-3A749C1F5D12****",
"Name": "myFlow"
},
"RequestId": "BBEB8FD9-3AA8-4D53-831C-037D9C53348E"
}