rogerxavier's picture
Upload 258 files
0aee47a verified
raw
history blame
No virus
5.37 kB
{
"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": "获取验证信息"
}
}
}