You can call the ListFlowProject operation to query the the list of the specified projects.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ListFlowProject |
The operation that you want to perform. For API requests using the HTTP or HTTPS URL, this parameter is required. Set the value to ListFlowProject. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region. You can call DescribeRegions View the latest list of Alibaba Cloud regions. |
ProductType | String | No | EMR |
The type of the service. static field EMR. |
ProjectId | String | No | FP-7A1018ADE917**** |
The ID of the project. You can call ListFlowProject View the project ID. |
Name | String | No | my_project |
The name of the project. |
PageNumber | Integer | No | 1 |
The page number of the returned page. |
PageSize | Integer | No | 20 |
The page number of the returned page. |
ResourceGroupId | String | No | rg-bp67acfmxazb4p**** |
The IDs of the resource groups to which the EMR instances and ECS instances belong. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
PageNumber | Integer | 1 |
The page number of the returned page. |
PageSize | Integer | 20 |
The page number of the returned page. |
Projects | Array of Project |
The list of projects. |
|
Project | |||
Description | String | my project description |
The description of the project. |
GmtCreate | Long | 1540796236000 |
The creation time of the project. |
GmtModified | Long | 1540796236000 |
The modification time of the project. |
Id | String | FP-7A1018ADE917**** |
The ID of the project. |
Name | String | my_project |
The name of the project. |
UserId | String | 123456 |
The ID of the Alibaba Cloud account. |
RequestId | String | 83B256D4-4E95-454B-AD08-799DF31D5556 |
The ID of the request. |
Total | Integer | 1 |
The number of items returned. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ListFlowProject
&RegionId=cn-hangzhou
&<common request parameters>
Sample success responses
XML
format
<PageSize>1</PageSize>
<RequestId>3177EF07-34F5-48D0-9BFD-3C33E70EB260</RequestId>
<PageNumber>1</PageNumber>
<Total>34</Total>
<Projects>
<Project>
<GmtCreate>1540796236000</GmtCreate>
<Description>my project description</Description>
<UserId>123456</UserId>
<GmtModified>1540796236000</GmtModified>
<Id>FP-7A1018ADE917****</Id>
<Name>my_project</Name>
</Project>
</Projects>
JSON
{
"PageSize": 1,
"RequestId": "3177EF07-34F5-48D0-9BFD-3C33E70EB260",
"PageNumber": 1,
"Total": 34,
"Projects": {
"Project": [
{
"GmtCreate": 1540796236000,
"Description": "my project description",
"UserId": "123456",
"GmtModified": 1540796236000,
"Id": "FP-7A1018ADE917****",
"Name": "my_project"
}
]
}
}