Applies to applications deployed in Alibaba Cloud and non-Alibaba Cloud ECS clusters.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ManageAppLog |
create |
*Application
|
None | None |
Request syntax
POST /pop/v5/log/popListLogDirs HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the application. You can call the ListApplication operation to obtain the application ID. For more information, see ListApplication. |
3616cdca-4f92-4413********** |
| Path |
string |
Yes |
The absolute path of the application log to be added to favorites. The application log path must start and end with a forward slash (
|
/temp/log/ |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The API status code or POP error code. |
200 |
| Message |
string |
The additional information. |
success |
| RequestId |
string |
The request ID. |
3616cdca-4f92-4413********** |
{ "Code": 200, "Message": "success", "RequestId": "3616cdca-4f92-4413**********" }
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "3616cdca-4f92-4413**********"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.