File size: 2,496 Bytes
0aee47a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
    "info": {
        "info": {
            "url": "https://app.bilibili.com/x/topic/web/details/top",
            "method": "GET",
            "params": {
                "topic_id": "int: 话题 id"
            },
            "verify": false,
            "comment": "获取话题简介"
        },
        "cards": {
            "url": "https://api.bilibili.com/x/polymer/web-dynamic/v1/feed/topic",
            "method": "GET",
            "params": {
                "topic_id": "int: 话题 id",
                "page_size": "int: 数据数量",
                "sort_by": "int: 排序方式 1推荐 2热门 3最新",
                "source": "Web",
                "features": "opusBigCover"
            },
            "verify": false,
            "comment": "获取话题详情"
        },
        "dynamic_page_topics": {
          "url": "https://app.bilibili.com/x/topic/web/dynamic/rcmd",
          "method": "GET",
          "verify": false,
          "params": {
            "page_size": "int: 数据数量"
          },
          "comment": "获取动态页话题"
        },
        "search": {
          "url": "https://app.bilibili.com/x/topic/pub/search",
          "method": "GET",
          "params": {
            "keyword": "str: 搜索关键词",
            "page_num": "int: 页码",
            "page_size": "int: 数据数量",
            "content": "Unknown",
            "upload_id": "Unknown"
          },
          "verify": false,
          "comment": "搜索话题"
        }
    },
    "operate": {
      "like": {
        "url": "https://app.bilibili.com/x/topic/like",
        "method": "POST",
        "verify": true,
        "data": {
          "topic_id": "int: 话题 id",
          "action": "str: like / cancel_like",
          "business": "str: topic",
          "up_mid": "int: 自己的 uid"
        },
        "comment": "设置点赞话题"
      },
      "add_favorite": {
        "url": "https://app.bilibili.com/x/topic/fav/sub/add",
        "method": "POST",
        "verify": true,
        "data": {
          "topic_id": "int: 话题 id"
        },
        "comment": "收藏话题"
      },
      "cancel_favorite": {
        "url": "https://app.bilibili.com/x/topic/fav/sub/cancel",
        "method": "POST",
        "verify": true,
        "params": {
          "topic_id": "int: 话题 id"
        },
        "comment": "取消收藏话题"
      }
    }
}