We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 058526e commit 826dcb7Copy full SHA for 826dcb7
1 file changed
src/api/v1/user.md
@@ -222,4 +222,44 @@ message Medal_info {
222
uint64 id = 5; // 勋章ID? 不确定
223
}
224
```
225
-:::
+:::
226
+
227
+## 更改用户名称
228
229
+POST /v1/user/edit-nickname
230
231
+请求头:
232
233
+|名称|必须|备注|
234
+|-----|-----|-----|
235
+|token|是|空|
236
237
+请求体:
238
+```ProtoBuf
239
+name: "用户名称"
240
+```
241
+::: details ProtoBuf数据结构
242
+```proto
243
+message edit_nickname_send {
244
+ string name = 3;
245
+}
246
247
248
249
+响应体:
250
251
+status {
252
+ number: 114514
253
+ code: 1
254
+ msg: "success"
255
256
257
258
259
260
+// 更改名称状态信息
261
+message medal {
262
+ Status status = 1; // 状态信息
263
264
265
0 commit comments