帮助列表 |
https://openapi.aodianyun.com/v2/RES.OpenApp
POST
access_id:安全校验ID,值为字符串。必选
示例:“access_id”:“123456789”
access_key:安全校验码,值为字符串。必选
示例:“access_key”:“ABCDEFG”
name:实例名称 不超过20个字。必选
示例:"name":"test"
maxVideoSize:配置,可传 480p,720p,1080p,480p_4,480p_8,720p_4,720p_8,1080p_4默认为480p。可选
示例:"maxVideoSize":"720p"
domain:域名 不超过20个字。可选
示例:"domain":"test"
destroyTime:销毁时间 时间戳。可选
示例:"destroyTime":1458106980
curl -X POST https://openapi.aodianyun.com/v2/RES.OpenApp -d'{"access_id":"123456789", "access_key":"ABCDEFG","name":"test"}'#注意开发时,请写成一行!
Flag:操作处理结果状态码
示例:“Flag”:100。提示:Flag=100为成功,失败为非100,失败原因在FlagString中体现。
FlagString:操作处理结果状态说明
示例:“FlagString”:“操作成功”
{ "Flag": 100, "FlagString": "操作成功", "userInfo": { "user": "29090", "name": "test", "instanceID": "i-bp1h59bz4ehaom8ddh08-381", "createTime": 1520559340, "uptime": 1520559340, "progress": 60, "status": 1, "maxVideoSize": "720p", "domain": "test", "destroyTime": 1520562600, "initConfig": "prepaid": 1, "createFrom": 1, "adytype": 3, "isPreOpen": 1, "ip": "", "paytype": 2, "lastPayTime": 1520559340, "createTimeConsume": null, "url": null, "url2": null, "port": null, "initConfigId": null, "innerip": null, "actualDestroyTime": null, "id": 50771 } }
您可以使用奥点云开放平台提供的API接口调试工具进行接口调试。
请登录:https://openapi.aodianyun.com/tools