角色详情

请求URL:

  • /getRoleDetail

请求方式:

  • POST

参数:

参数名 必选 类型 说明
appId string AppID
udid string UDID
id int 角色ID

返回示例

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 548,
    "name": "Nina Delgado",
    "description": "",
    "personality": "",
    "firstMes": "*You walk into a...?”",
    "avatar": "https://muyuhan...png",
    "scenario": "",
    "backgroundGif": "",
    "backgroundGifThumb": "",
    "backgroundThumb": "https://muyuhan...png",
    "background": "https://muyuhan...png",
    "creatorNotes": "Nina's ...",
    "descriptionNew": "Nina Delgado is ...",
    "descriptionThumb": "Nina's music is...",
    "systemPrompt": "",
    "mesExample": "",
    "tags": [
      "Female",
      "Jazz",
      "Pianist",
      "Cafe",
      "Positive",
      "Wholesome",
      "Music"
    ],
    "characterBook": null,
    "state": 1,
    "isRecommend": 0,
    "IsAudit": 1,
    "chatCount": 18,
    "chatCountVirtual": 0,
    "favoriteCount": 5,
    "isFavorite": false,
    "levelExp": 0,
    "levelExpOrigin": 0,
    "expLevel1": 0,
    "expLevel2": 0,
    "expLevel3": 0,
    "expLevel4": 0,
    "expLevel5": 0
  }
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data struct 数据体
-id int 角色ID
-name string 角色名称
-description string 角色描述
-personality string 角色个性
-firstMes string 角色第一句话
-avatar string 角色头像
-backgroundGif string 角色背景动图
-backgroundGifThumb string 角色背景动图缩略图
-backgroundThumb string 角色缩率背景图
-background string 角色背景图
-scenario string 角色故事背景
-tags Array 角色标签
-chatCount int 聊天次数
-isFavorite bool 是否已点赞
-levelExp int 当前经验值
-levelExpOrigin int 当前总经验值
-expLevel1 int 亲密度所需经验值
-expLevel2 int 亲密度所需经验值
-expLevel3 int 亲密度所需经验值
-expLevel4 int 亲密度所需经验值
-expLevel5 int 亲密度所需经验值

备注

错误码 510 系统错误 610 邮箱未注册 620 账号或密码错误

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-11-04 13:07:06

results matching ""

    No results matching ""