账户信息
Header parameters
MF-ACCESS-KEYstringRequired
API所使用的KEY,请联系@mefreenet获取。
MF-ACCESS-TIMESTAMPstringRequired
发起请求的时间(UTC),如:2020-12-08T09:08:57.715Z。
MF-ACCESS-SIGNstringRequired
使用HMAC SHA256哈希函数获得哈希值,再使用Base-64编码(请参阅签名)。
Responses
200
OK
*/*
get
GET /api/config HTTP/1.1
Host: api.mefree.net
MF-ACCESS-KEY: text
MF-ACCESS-TIMESTAMP: text
MF-ACCESS-SIGN: text
Accept: */*
200
OK
{
"code": 1,
"msg": "text",
"sub_code": "text",
"sub_msg": "text",
"data": {
"api_key": "text",
"api_secret": "text",
"recharge_address": "text",
"activate_price_sun": 1,
"hour_price_sun": 1,
"day_price_sun": 1,
"subscribe_price_sun": 1,
"multi_day_price_sun": 1,
"flash_price_sun": 1,
"bandwidth_price_sun": 1,
"total_recharge": 1,
"total_normal_consume": 1,
"total_batch_consume": 1,
"total_subscribe_consume": 1,
"total_host_consume": 1,
"total_activate_consume": 1,
"total_realtime_consume": 1,
"total_flash_consume": 1,
"total_bandwidth_consume": 1,
"total_permission_consume": 1,
"whitelist": "text",
"created_at": 1,
"updated_at": 1,
"account_balance": 1
}
}
Last updated