🌟 本文档由 麒曦Chish 整理发布,与官方无关,不代表官方立场,仅供参考,请以官方发布为准。
curl --location --request POST '/toolbox/device/base' \
--header '1Panel-Token: {{Token}}' \
--header '1Panel-Timestamp: {{UnixTimestamp}}' \
--header 'Content-Type: application/json'{
"dns": [
"string"
],
"hostname": "string",
"hosts": [
{
"host": "string",
"ip": "string"
}
],
"localTime": "string",
"maxSize": 0,
"ntp": "string",
"swapDetails": [
{
"isNew": true,
"path": "string",
"size": 0,
"taskID": "string",
"used": "string"
}
],
"swapMemoryAvailable": 0,
"swapMemoryTotal": 0,
"swapMemoryUsed": 0,
"timeZone": "string",
"user": "string"
}