-
Notifications
You must be signed in to change notification settings - Fork 54
Online Api
LeZi edited this page Mar 25, 2026
·
1 revision
Create a new user account.
Endpoint
POST /api/account/Register
Content-Type
multipart/form-data
Parameters
| Name | Type | Description |
|---|---|---|
| username | string | Username |
| password | string | Password |
| string | Email address | |
| cf-turnstile-response | string | Cloudflare Turnstile verification token |
Authenticate a user.
Endpoint
POST /api/account/Login
Content-Type
multipart/form-data
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| username | string | Username | |
| password | string | Password | |
| rememberMe | boolean | false | Keep session logged in |
Endpoint
POST /api/account/logout
Query Parameters
| Name | Type |
|---|---|
| sessionId | string |
GET /api/account/info
Returns information about the currently authenticated user.
GET /api/account/session
GET /api/account/sessions
GET /api/account/intro
| Parameter | Type | Default |
|---|---|---|
| username | string | "" |
POST /api/account/intro
Content-Type
multipart/form-data
| Parameter | Type |
|---|---|
| content | string |
GET /api/account/icon
| Parameter | Type |
|---|---|
| username | string |
GET /api/account/Recent
| Parameter | Type |
|---|---|
| username | string |
GET /api/account/verify
| Parameter | Type |
|---|---|
| otp | string |
POST /api/account/forget
Content-Type
multipart/form-data
| Parameter | Type |
|---|---|
| username | string |
| string |
PUT /api/account/forget
Content-Type
multipart/form-data
| Parameter | Type |
|---|---|
| otp | string |
| newpassword | string |
GET /api/collection/list
| Parameter | Type | Default |
|---|---|---|
| page | integer | 0 |
| pageSize | integer | 30 |
POST /api/collection/create
Content-Type
application/json
Request Body
{
"name": "string",
"description": "string",
"visibility": 0
}Visibility
| Value | Meaning |
|---|---|
| 0 | Private |
| 1 | Public |
GET /api/collection/{idStr}/hashlist
GET /api/collection/{idStr}/songlist
POST /api/collection/{idStr}/destroy
POST /api/collection/{idStr}/modify
Request Body
{
"name": "string",
"description": "string",
"visibility": 0,
"items": [
"hash1",
"hash2"
]
}GET /api/maichart/list
| Parameter | Type |
|---|---|
| sort | string |
| search | string |
| page | integer |
| isRanking | boolean |
GET /api/maichart/{chartId}/summary
GET /api/maichart/{chartId}/chart
GET /api/maichart/{chartId}/track
GET /api/maichart/{chartId}/image
| Parameter | Type | Default |
|---|---|---|
| fullImage | boolean | false |
GET /api/maichart/{chartId}/video
GET /api/maichart/{chartId}/score
POST /api/maichart/{chartId}/score
Request Body
{
"chartLevel": 0,
"hash": "string",
"dxScore": 0,
"comboState": 0,
"acc": {
"dx": 0,
"classic": 0
}
}GET /api/maichart/{chartId}/interact
POST /api/maichart/{chartId}/interact
Content-Type
multipart/form-data
| Parameter | Type |
|---|---|
| type | string |
| content | string |
| replyTo | string |
DELETE /api/maichart/{chartId}/interact
| Parameter | Type |
|---|---|
| type | string |
| commentId | string |
POST /api/machine/register
{
"name": "string",
"description": "string"
}GET /api/machine/Info
| Parameter | Type |
|---|---|
| machine-id | string |
GET /api/persist/app/{appId}/{category}
POST /api/persist/app/1096/settings
POST /api/maichart/upload
Content-Type
multipart/form-data
| Parameter | Type |
|---|---|
| formfiles | file[] |
POST /api/maichart/delete
| Parameter | Type |
|---|---|
| chartId | string |
GET /api/stats/score-sums
| Parameter | Type |
|---|---|
| uploader | string |
| page | integer |
| pageSize | integer |
Check if the API service is alive.
GET /api/utils/Ping
. -‐. : . : . : . : . :. : . : .
/: . : . : . : . : . : . : . : . : . : \....
/: . : . : . : . : . : . : . : . : . : . : . \ ::.;
/}レ': : . : . : . : . : . : . : . : . : .\: . ヽ: . : . :.ヽ
/: :/: . : . : . : . :l: :八: . : . : : \: : : :+———+ : '.:.:l:
/: :/: . : . :+———+: . :/l: :|\\: :\: : : \::.: | X.|::.:l:.::...:|:
/: ://: : . : .| X.|: / .j: :| | \\: ヽ\:ヽ\: :..+———+:.:|::|::|: .
//://|: : :l: :+———+. i斗'^ ,ィf弌ぅ 、 |:.:.l::|::|:.:|\| __ __ ______ __ ______ __ ______ __ __
//:ノ /|: :/}: : : |: l ,ィf゚う ト::)゚ィリ ヽ |:.:|:/:::|:.:| /\ "-./ \ /\ __ \ /\ \ /\ == \ /\ \ /\ __ \ /\ \_\ \
}: : /|:|:/: |: :∧:i /ん:::ハ 弋c少' |:.:|:.::.|:.:| \ \ \-./\ \ \ \ __ \ _\_\ \ \ \ _-/ \ \ \____ \ \ __ \ \ \____ \
|: / .|:|': : |: :/: :i 弋cソ 、、、、、. |:.:八:.:八:.| \ \_\ \ \_\ \ \_\ \_\ /\_____\ \ \_\ \ \_____\ \ \_\ \_\ \/\_____\
|/ l: : : :|V: : ハ 、、、、 ′ l:∧: ./ ヽ \/_/ \/_/ \/_/\/_/ \/_____/ \/_/ \/_____/ \/_/\/_/ \/_____/
八: :.∧: |: :人 r 、_ 、 ィノ:/:/\:./
∨ V}: : |: /i>}/ ,へ、 イj:V/:/ V
八: :|/ __ ! / ハ _ 斗‐{
∧! _| ' /´ 》────────--、
_/ |:::_} .|ー─--< |
/___ i }∧ ノ::::::::::::/ / |
V / }. イ l\::::::::::/ / :|
rヘ xヘ ∨ | |:| \/_/ 人
/_/ '、 _ヽ | |:| ./ - ─ - 〉
/ ヽ /// j/ 〈 / -‐ /