This commit is contained in:
liujiahua123123 2019-12-15 17:14:03 +08:00
parent d3b002a65e
commit f5f11f9472

View File

@ -22,7 +22,7 @@ Request:<br>
| qq | String |false|1040400290|bot QQ number you want to access|
Response:<br>
Response if success:<br>
| name | type | example|note|
| --- | --- | --- | --- |
@ -30,6 +30,22 @@ Response:<br>
| session |String |UANSHDKSLAOISN|your session key|
Response if failed:<br>
| name | type | example|note|
| --- | --- | --- | --- |
| success |Boolean |false|if this session is authorized|
| session |String |null|your session key|
| error |int |0|error code|
Error:<br>
| code | reason|
| --- | --- |
| 0 | wrong MIRAI API HTTP key |
| 1 | unknown bot number |
without session key, you are not able to access any method below.</br>
session key should be attached to your cookies like this: