File size: 4,685 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
    "info": {
        "info": {
            "url": "https://api.bilibili.com/pgc/freya/web/room/info",
            "method": "GET",
            "verify": true,
            "params": {
                "room_id": "int: 放映室id",
                "platform": "str: web"
            },
            "comment": "放映室信息"
        },
        "season": {
            "url": "https://api.bilibili.com/pgc/view/web/freya/season",
            "method": "GET",
            "verify": true,
            "params": {
                "season_id":"int: 番剧的 season_id",
                "ep_id": "int: 剧集的 ep_id",
                "room_id":"int: 放映室id",
                "platform": "str: web",
                "csrf": "str: csrf"
            },
            "comment": "获取正在放映的影片"
        }
    },
    "operate": {
        "match": {
            "url": "https://api.bilibili.com/pgc/freya/web/room/match",
            "method": "POST",
            "verify": true,
            "data": {
                "fail_fast": "int",
                "season_id": "int: 番剧的 season_id",
                "from_type": "int",
                "season_type": "int",
                "platform": "str: web",
                "csrf": "str: csrf"
            },
            "comment": "匹配放映室"
        },
        "create": {
            "url": "https://api.bilibili.com/pgc/freya/web/room/create",
            "method": "POST",
            "verify": true,
            "data": {
                "season_id": "int: 番剧的 season_id",
                "episode_id": "int: 剧集id",
                "is_open": "int: 是否公开 0 不公开 1 公开",
                "platform": "str: web",
                "csrf": "str: csrf"
            },
            "comment": "创建放映室"
        },
        "join": {
            "url": "https://api.bilibili.com/pgc/freya/web/room/join",
            "method": "POST",
            "verify": true,
            "data": {
                "room_id": "int: 放映室id",
                "platform": "str: web",
                "csrf": "str: csrf",
                "token": "str: 分享时的 token"
            },
            "comment": "加入放映室"
        },
        "open": {
            "url": "https://api.bilibili.com/pgc/freya/web/room/modify/info",
            "method": "POST",
            "verify": true,
            "data": {
                "room_id": "int: 放映室id",
                "is_open": "int: 是否公开 0 不公开 1 公开",
                "platform": "str: web",
                "csrf": "str: csrf"
            },
            "comment": "开启放映室"
        },
        "progress": {
            "url": "https://api.bilibili.com/pgc/freya/web/room/modify/progress",
            "method": "POST",
            "verify": true,
            "data": {
                "room_id": "int: 放映室id",
                "status": "状态 1 播放中 0 暂停中 2 已结束",
                "progress": "int: 进度 s",
                "platform": "str: web",
                "csrf": "str: csrf"
            },
            "comment": "修改放映室进度"
        },
        "kickout": {
            "url": "https://api.bilibili.com/pgc/freya/web/room/kickout",
            "method": "POST",
            "verify": true,
            "data": {
                "room_id": "int: 放映室id",
                "mid": "int: 被踢出用户uid",
                "platform": "str: web",
                "csrf": "str: csrf"
            },
            "comment": "踢出放映室"
        },
        "season": {
            "url": "https://api.bilibili.com/pgc/freya/web/room/modify/season",
            "method": "POST",
            "verify": true,
            "data": {
                "room_id": "int: 放映室id",
                "season_id": "int: 番剧的 season_id",
                "episode_id": "int: 剧集id",
                "platform": "str: web",
                "csrf": "str: csrf"
            },
            "comment": "修改放映室播放内容"
        },
        "send": {
            "url": "https://api.bilibili.com/pgc/freya/web/im/msg/send",
            "method": "POST",
            "verify": true,
            "data": {
                "room_id": "int: 放映室id",
                "content_type": "int: 0",
                "content": "str: 发送内容",
                "req_id": "int: 时间戳",
                "platform": "str: web",
                "csrf": "str: csrf"
            },
            "comment": "发送弹幕"
        }
    }
}