接口名称 | 获取access_token |
地址 | https://api.cnlive.com/open/api2/token |
method | post |
返回数据 | json |
参数名 | 参数类型 | 必选 | 参数说明 |
---|---|---|---|
appId | string | true | 应用ID |
secret | string | true | 获取access_token 凭证 |
{
"errorCode": 0,
"errorMessage": "OK",
"data": {
"access_token": "c2a89924-aa4c-4488-8c87-671b6c5e538c5c095ce9-72ef-4878-b3a6-6b4ce3bacba96a500103-c5bc-4565-bb00-c7d3b3c1954b",
"expires_in": 7200 //单位(秒) 2小时
}
}