From 690b46257704de9b456215f95ee1364838c0f8ac Mon Sep 17 00:00:00 2001 From: Cosmosuperbaka <64939678+Cosmosuperbaka@users.noreply.github.com> Date: Sat, 12 Sep 2026 00:38:43 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E8=A1=A5=E5=85=85=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E4=B8=8A=E6=8A=A5=E6=8E=A5=E5=8F=A3=E7=9A=84?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=B8=8E=E7=B1=BB=E5=9E=8B=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- interface.d.ts | 4 ++++ public/docs/home.md | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/interface.d.ts b/interface.d.ts index 205e571..0952dc8 100644 --- a/interface.d.ts +++ b/interface.d.ts @@ -584,6 +584,10 @@ export function device_kickoff( export function device_list(params: RequestBaseConfig): Promise +export function deviceinfo_center_upload( + params: { deviceName: string; name?: string } & RequestBaseConfig, +): Promise + export function digitalAlbum_ordering( params: { payment: string diff --git a/public/docs/home.md b/public/docs/home.md index b1e013f..36ad52a 100644 --- a/public/docs/home.md +++ b/public/docs/home.md @@ -5856,6 +5856,18 @@ let data = encodeURIComponent( **调用例子 :** `/device/kickoff?key=00ALDFGEXXXXXXXXXXXXXXXXX&captcha=1234` +### 上报设备中心设备名称 + +说明: 登录后调用此接口, 传入 `deviceName`, 可修改当前设备在网易云登录设备管理列表里显示的名称 + +**必选参数 :** `deviceName`: 期望展示的设备名称 + +`name`: `deviceName` 的兼容别名, 二选一即可 + +**接口地址 :** `/deviceinfo/center/upload` + +**调用例子 :** `/deviceinfo/center/upload?deviceName=XXXXX` + ### 插播相似歌曲 说明: 调用此接口, 传入歌曲 id, 可获取插播相似歌曲