- 用户模块
- 视频模块
- 社交模块
- 搜索模块
视频流获取
测试中
GET
/azaz/video/getVideos
请求参数
Query 参数
lastVideoId
string
必需
section
integer
必需
Header 参数
token
string
登录凭证
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://10.134.49.88:8080/azaz/video/getVideos?lastVideoId=§ion=' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
host
string | null
主机地址
code
integer
返回码
errorMessage
string
错误信息
data
object | null
通用返回对象
total
integer
本次返回的总记录数
videoList
array [object {13}] | null
视频列表
lastVideoId
string
最后一条视频的id
示例
{
"host": "string",
"code": 0,
"errorMessage": "string",
"data": {
"total": 0,
"videoList": [
{
"videoId": "string",
"coverUrl": "string",
"videoUrl": "string",
"title": "string",
"likeNum": 0,
"isLiked": true,
"commentNum": 0,
"collectNum": 0,
"isCollected": true,
"authorId": "string",
"username": "string",
"image": "string",
"createTime": "string"
}
],
"lastVideoId": "string"
}
}
修改于 2023-11-07 08:17:39