文档

AddVsPullStreamInfoConfig - 添加拉流信息配置

更新时间:

添加拉流配置信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
DomainNamestring

您的加速域名。

example.com
AppNamestring

应用名称。

xxxApp
StreamNamestring

流名称。

xxxStream
SourceUrlstring

用户的直播流所在的源站。

说明 支持多个,用英文分号(;)分隔。
up.******.com.cn
StartTimestring

拉流开始时间。

说明 UTC 时间格式,StartTime 和 EndTime 时间间隔在 7 天内。
2017-08-28T07:30:30Z
EndTimestring

拉流结束时间。

说明 UTC 时间格式,StartTime 和 EndTime 时间间隔在 7 天内,且 EndTime 必须超过当前时间。
2017-08-28T09:30:30Z

返回参数

名称类型描述示例值
object
RequestIdstring

请求 ID。

3CB843A9-DD34-4881-B8D6-B0D539D111E4

示例

正常返回示例

JSON格式

{
  "RequestId": "3CB843A9-DD34-4881-B8D6-B0D539D111E4"
}

错误码

HTTP status code错误码错误信息描述
400Param.Missing.StartTimeYou must specify StartTime.缺少参数StartTime
400InvalidEndTime.MismatchThe specified EndTime is earlier than the StartTime.结束时间早于开始时间,请检查
400Duration.ExceedThe duration between StartTime and EndTime is too long.StartTime和EndTime间隔过大
400ConfigAlreadyExistsThe specified configuration already exists.配置已存在
403Deny.TooMany.StreamThe operation is denied because the maximum number of streams is exceeded.stream数目超过上限

访问错误中心查看更多错误码。

特殊错误码

错误代码描述HTTP 状态码语义
InvalidDomain.NotFoundThe domain provided does not exist in our records.404当前账户下未查到域名。
IllegalOperationIllegal domain operate is not permitted.403不支持当前操作,如:非直播类域名。
Missing DomainNameDomainName is mandatory for this action.400缺少参数。
InternalErrorThe request processing has failed due to some unknown error.500后台发生未知错误。
InvalidStartTime.MalformedSpecified StartTime is malformed.400StartTime 格式错误。
InvalidEndTime.MalformedSpecified EndTime is malformed.400EndTime 格式错误。
InvalidEndTime.MissmatchSpecified end time does not math the specified start time or current time.400StartTime 和 EndTime 时间范围应在一周内,且 EndTime 超过当前时间。
ConfigAlreadyExistsConfig has already exist.400配置数据已存在。
PullStreamOverLimitPull stream is over limit for this domainName.400该域名拉流流量已超过流量限制。
  • 本页导读 (1)
文档反馈