mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-10 10:16:09 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
a2e82e7501
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@ -9,6 +9,9 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Gradle Android
|
||||
uses: Raul6469/android-gradle-action@1.0.0
|
||||
- name: setup-android
|
||||
uses: msfjarvis/setup-android@0.2
|
||||
with:
|
||||
# Gradle tasks to run - If you want to run ./gradlew assemble, specify assemble here.
|
||||
gradleTasks: build
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
language: android
|
||||
|
||||
jdk: oraclejdk8
|
||||
### need JDK11
|
||||
|
||||
env:
|
||||
global:
|
||||
@ -24,6 +25,8 @@ before_install:
|
||||
- yes | sdkmanager "platforms;android-28"
|
||||
- yes | sdkmanager "build-tools;28.0.3"
|
||||
|
||||
### need JDK8( SDK manager thing)
|
||||
|
||||
before_cache:
|
||||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
||||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
||||
|
@ -1,3 +1,24 @@
|
||||
# mirai-api-http
|
||||
|
||||
Coroutine-based Http API adapter for Mirai.
|
||||
<b>
|
||||
Mirai-API-http provides adapter for ALL langugae to access mirai via HTTP protocol.<br>
|
||||
</b>
|
||||
|
||||
|
||||
#### Start Session-Authorize
|
||||
|
||||
```php
|
||||
Path: /auth
|
||||
Method: POST
|
||||
```
|
||||
this verify your session to one bot and you could have full access to that bot<br>
|
||||
NOTE that only 1 bot could be control under 1 session, you could have multiple session to control all bots.
|
||||
|
||||
| name | type | optional|example|note|
|
||||
| --- | --- | --- | --- | --- |
|
||||
| key | String |false|U9HSaDXl39ksd918273hU|this could be found after initialize|
|
||||
| qq | String |false|1040400290|bot QQ number you want to access|
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user