douyin
  1. 视频
douyin
  • 视频
    • 视频流
      GET
    • 上传视频
      POST
    • 视频列表
      GET
  • 用户
    • 用户注册
      POST
    • 用户登陆
      POST
    • 用户信息
      GET
  • 点赞
    • 点赞操作
      POST
    • 点赞列表
      GET
  • 评论
    • 评论操作
      POST
    • 评论列表
      GET
  • 关注
    • 关注操作
      POST
    • 关注列表
      GET
    • 粉丝列表
      GET
  1. 视频

视频列表

开发中
GET
/douyin/publish/list/
最后修改时间:2022-07-17 22:28:51

请求参数

Query 参数
token
string 
必需
示例值:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTgwOTg5NzQsImlkIjozLCJvcmlnX2lhdCI6MTY1ODA5NTM3NH0.8Y9-klVYBj4IGa8EcvnmRXr0tpev3GxLedrsFjm6sko
user_id
string 
必需
示例值:
3

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/douyin/publish/list/?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTgwOTg5NzQsImlkIjozLCJvcmlnX2lhdCI6MTY1ODA5NTM3NH0.8Y9-klVYBj4IGa8EcvnmRXr0tpev3GxLedrsFjm6sko&user_id=3'

返回响应

🟢200成功
application/json
Body
status_code
integer 
必需
status_msg
string 
必需
video_list
array [object {8}] 
必需
id
integer 
必需
author
object 
必需
play_url
string 
必需
cover_url
string 
必需
favorite_count
integer 
必需
comment_count
integer 
必需
is_favorite
boolean 
必需
title
string 
必需
示例
{
    "status_code": 0,
    "status_msg": "query video list success",
    "video_list": [
        {
            "id": 1656776254,
            "author": {
                "id": 3,
                "name": "Amy",
                "follow_count": 0,
                "follower_count": 1,
                "is_follow": false
            },
            "play_url": "http://dousheng1.oss-cn-shenzhen.aliyuncs.com/video%2F1656776254.mp4",
            "cover_url": "",
            "favorite_count": 0,
            "comment_count": 0,
            "is_favorite": false,
            "title": "身材好"
        },
        {
            "id": 1656776229,
            "author": {
                "id": 3,
                "name": "Amy",
                "follow_count": 0,
                "follower_count": 1,
                "is_follow": false
            },
            "play_url": "http://dousheng1.oss-cn-shenzhen.aliyuncs.com/video%2F1656776229.mp4",
            "cover_url": "",
            "favorite_count": 0,
            "comment_count": 0,
            "is_favorite": false,
            "title": "理发"
        },
        {
            "id": 1656776063,
            "author": {
                "id": 3,
                "name": "Amy",
                "follow_count": 0,
                "follower_count": 1,
                "is_follow": false
            },
            "play_url": "http://dousheng1.oss-cn-shenzhen.aliyuncs.com/video%2F1656776063.mp4",
            "cover_url": "",
            "favorite_count": 0,
            "comment_count": 0,
            "is_favorite": false,
            "title": "夕阳"
        },
        {
            "id": 1656776023,
            "author": {
                "id": 3,
                "name": "Amy",
                "follow_count": 0,
                "follower_count": 1,
                "is_follow": false
            },
            "play_url": "http://dousheng1.oss-cn-shenzhen.aliyuncs.com/video%2F1656776023.mp4",
            "cover_url": "",
            "favorite_count": 0,
            "comment_count": 0,
            "is_favorite": false,
            "title": "喝水"
        }
    ]
}
修改于 2022-07-17 22:28:51
上一页
上传视频
下一页
用户注册
Built with