Obtaining the Cloud-Edge Authentication Token
Function
Obtains the token used by MEF Center and MEF Edge for cloud-edge authentication.
Syntax
Operation type: GET
URL: https://{ip}:{port}/edgemanager/v1/token
Usage Example
Request:
GET https://10.10.10.10:30035/edgemanager/v1/token
Response:
{
"status": "00000000",
"msg": "export token success",
"data": "xxxxxxxxxxxxxxxxxxxx..."
}
Response status code: 200
Output Description
Parameter |
Type |
Description |
|---|---|---|
status |
String |
Error code |
msg |
String |
Description |
data |
String |
Cloud-edge authentication token, which is valid for seven days and automatically expires after the valid period. |
Parent topic: Configuration APIs