File size: 5,367 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 133 134 135 136 137 138 139 140 |
{
"qrcode": {
"web": {
"get_qrcode_and_token": {
"url": "https://passport.bilibili.com/x/passport-login/web/qrcode/generate?source=main-fe-header",
"method": "GET",
"verify": false,
"comment": "请求二维码及登录密钥"
},
"get_events": {
"url": "https://passport.bilibili.com/x/passport-login/web/qrcode/poll",
"method": "GET",
"verify": false,
"params": {
"qrcode_key": "str: 登陆密钥",
"source": "main-fe-header"
},
"comment": "获取最新信息"
}
},
"old": {
"get_qrcode_and_token": {
"url": "https://passport.bilibili.com/qrcode/getLoginUrl",
"method": "GET",
"verify": false,
"comment": "旧请求二维码及登录密钥"
},
"get_events": {
"url": "https://passport.bilibili.com/qrcode/getLoginInfo",
"method": "POST",
"verify": false,
"data": {
"oauthKey": "str: 登陆密钥"
},
"comment": "旧获取最新信息"
}
},
"tv": {
"get_qrcode_and_auth_code": {
"url": "https://passport.bilibili.com/x/passport-tv-login/qrcode/auth_code",
"method": "POST",
"verify": false,
"data": {
"appkey": "str: appkey",
"sign": "str: 签名",
"ts": "str: 时间戳",
"local_id": "int: 0"
},
"comment": "tv 请求二维码及登录密钥"
},
"get_events": {
"url": "https://passport.bilibili.com/x/passport-tv-login/qrcode/poll",
"method": "POST",
"verify": false,
"data": {
"appkey": "str: appkey",
"sign": "str: 签名",
"ts": "str: 时间戳",
"local_id": "int: 0",
"auth_code": "str: 登陆密钥"
},
"comment": "tv 获取最新信息"
}
}
},
"password": {
"get_token": {
"url": "https://passport.bilibili.com/x/passport-login/web/key",
"method": "GET",
"verify": false,
"comment": "获取登录盐值、加密公钥"
},
"captcha": {
"url": "https://passport.bilibili.com/x/passport-login/captcha",
"method": "GET",
"verify": false,
"comment": "获取极验信息"
},
"login": {
"url": "https://passport.bilibili.com/x/passport-login/web/login",
"method": "POST",
"verify": false,
"data": {
"username": "string: 账号",
"password": "string: 加密的密码",
"keep": "bool: true",
"key": "string: 密钥",
"token": "string: 极验信息中的登陆密钥 token",
"challenge": "string: 极验 challenge",
"validate": "string: 极验 validate",
"seccode": "string: 极验 seccode"
},
"comment": "登录"
}
},
"sms": {
"send": {
"url": "https://passport.bilibili.com/x/passport-login/web/sms/send",
"method": "POST",
"verify": false,
"data": {
"tel": "string: 手机号码",
"cid": "int: 地区对应的 id (contries_codes.json 中对应的一个地区的 id 项,不是 country_id。",
"source": "string: main_web",
"token": "string: 极验信息中的登陆密钥 token",
"challenge": "string: 极验 challenge",
"validate": "string: 极验 validate",
"seccode": "string: 极验 seccode"
},
"comment": "发送验证码"
},
"login": {
"url": "https://passport.bilibili.com/x/passport-login/web/login/sms",
"method": "POST",
"verify": false,
"data": {
"tel": "string: 手机号码",
"cid": "int: 地区对应的 id (contries_codes.json 中对应的一个地区的 id 项,不是 country_id。",
"code": "string: 验证码",
"source": "string: main_web",
"captcha_key": "string: 发送验证码时产生的返回值",
"keep": "bool: true",
"go_url": "跳转 url"
},
"comment": "验证码登录"
}
},
"safecenter": {
"check_info": {
"url": "https://api.bilibili.com/x/safecenter/user/info",
"method": "GET",
"verify": false,
"params": {
"tmp_code": "str: 验证标记代码"
},
"comment": "获取验证信息"
}
}
}
|