Skip to main content
POST
/
api
/
device
/
file
/
get
设备文件信息(状态)
curl --request POST \
  --url https://api.example.com/api/device/file/get \
  --header 'Authentication: <authentication>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "idSn": "<string>",
  "file": "<string>"
}
'
{}

Headers

Authentication
string
default:{{token_1}}
required

Body

application/json
idSn
string
required
file
string
required

可以是open响应的handle,也可以是文件路径如uart://ttyS1, tcp://127.0.0.1:22

Response

200 - application/json

The response is of type object.