3 使用说明
3.1 登录
科达视讯平台API采用统一登陆方式对软件权限及用户账户进行验证,使用者仅需登陆一次,便可调用各子系统的API。
使用者需先申请一个API
License,并导入到科达视频会议系统中,其中包含软件key和密钥。
通过软件key+密钥向平台注册获取account_token
POST /api/v1/system/token HTTP/1.1
Accept-Encoding: identity
Content-Length: 58
Host: 127.0.0.1
User-Agent: Python-urllib/3.5
Content-Type: application/x-www-form-urlencoded
Connection: close
oauth_consumer_key=key&oauth_consumer_secret=12345678
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 27 Jun 2016 07:39:49 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 67
Connection: close
{"success": 1, "account_token": "6567e24b425db665a3044db69f0c6fe4"}
二次开发通过account_token + 帐号 + 密码登录
POST /api/v1/system/login HTTP/1.1
<