https://ess.api.net-japan.cn/open/partner/yss/playinfo/{vid}
GET
Parameter | Status | Description |
---|---|---|
vid | required | 视频ID 云私塾: section.replay 字段) |
Example response:
返回值 playload.PlayURL 为视频伪静态播放地址 时效24h
{
"code": 0,
"payload": {
"Status": "Normal",
"VideoId": "702ceb32d6e671efb30e6723a78f0102",
"Title":"xxxxxxxx.mp4",
"Duration": "99.9999",
"CoverURL": "xxxxxxxx.oss-cn-shanghai.xxxxx.com/702ceb32d6e671efb30e6723a78f0102/snapshots/b2cb386eac174d3ea014b1d57e9c3c78-00001.jpg?Expires=1737775391&OSSAccessKeyId=LTAI8bKSZ6dKjf44&Signature=vUu4Aek64bY4MosSxsVovWZRdjk%3D",
"Size": 5354699,
"PlayURL": "https://xxxxxxx.oss-cn-shanghai.aliyuncs.com/sv/6de28c1-19481f2dfe2/6de28c1-19481f2dfe2.mp4?Expires=1737858191&OSSAccessKeyId=LTAI8bKSZ6dKjf44&Signature=1uiQGF0vdkgV5mcCrNMMTyhYSTk%3D",
"Format": "mp4"
}
}
https://ess.api.net-japan.cn/open/partner/yss/fileauth?file=file
GET
Parameter | Type | Status | Description |
---|---|---|---|
file | string | required | 文件相对路径( 例: 24下/经济/过去问/2024冬-宏观过去问题目.pdf) |
Example response:
返回值 url字段为 URL地址 时效24h
{
"code": 0,
"url": "http://oe-storage-test.oss-cn-shanghai.aliyuncs.com/%E8%AF%BE%E4%BB%B6/%E7%A4%BE%E4%BC%9A%E5%AD%A6/2020/2018_PDF.pdf?OSSAccessKeyId=LTAI61m0ccHJ37xo&Expires=1743650535&Signature=1CHLc0K%2F7z9Lr34dKFUY5iRA9q4%3D"
}