Downloading Logs
Function
This interface is used to download logs.
Syntax
Operation type: POST
URL: https://device_ip/redfish/v1/EdgeSystem/LogServices/download
Request header:
X-Auth-Token: auth_value
Content-Type: header_type
Request message body:
{
"name": resourceID}
Parameters
Parameter |
Description |
Value |
---|---|---|
device_ip |
IP address for logging in to a device. |
An IPv4 or IPv6 address |
auth_value |
Authentication parameter contained in the request. |
You can obtain the value from the session created by using /redfish/v1/SessionService/Sessions. |
header_type |
Request format. |
Supported formats include:
|
name |
ID of a log service resource. |
The options are as follows:
|
Usage Guidelines
None
Example
Request:
POST https://10.10.10.10//redfish/v1/EdgeSystem/LogServices/download
Request header:
X-Auth-Token: 6599174c38c36838737d9749179e1ee1
header_type: application/json
Request message body:
{
"name":"MCU NPU uboot iBMAEdge OSDivers WebEdge KubeEdge"
}
Response: None
Response code: 200
Output Description
None