设置直播回看证书 -- 设置成功之后30分钟以内生效
POST
https://live.jdcloud-api.com/v1/liveRestartDomainCertificate
名称 | 类型 | 是否必需 | 默认值 | 描述 |
---|---|---|---|---|
restartDomain | String | True | 直播回看域名 | |
certStatus | String | True | 直播回看证书状态 on: 开启 off: 关闭 - 当播放证书状态on(开启)时,cert和key不能为空 |
|
cert | String | False | 直播回看证书 - 取值: 最大支持4098 - 当播放证书状态on(开启)时,cert不能为空 |
|
key | String | False | 直播回看证书key - 取值: 最大支持2048 - 当播放证书状态on(开启)时,key不能为空 |
|
title | String | False | 直播回看证书别名 - 取值: 支持大小写字母和数字 长度最大256 |
名称 | 类型 | 描述 |
---|---|---|
requestId | String | requestId |
返回码 | 描述 |
---|---|
200 | OK |
400 | Invalid parameter |
401 | Authentication failed |
404 | Not found |
500 | Internal server error |
503 | Service unavailable |
POST
https://live.jdcloud-api.com/v1/liveRestartDomainCertificate
{ "cert": "xxx", "certStatus": "on", "key": "xxx", "restartDomain": "restart.yourdomain.com", "title": "restart cert" }
{ "requestId": "bgvmivir54gddpgi764se9f4kfr7ge41" }