XPan
  1. Schemas
XPan
  • XPAN简介
  • Tokens
    • 登录/密码重置
      POST
    • 退出登录
      DELETE
  • Users
    • 当前登录用户信息
      GET
    • 修改登录用户密码
      PUT
    • 修改个人信息
      PUT
    • 用户列表
      GET
    • 公开用户列表
      GET
    • 用户注册
      POST
    • 更新一项用户信息
      PATCH
    • 用户查询
      GET
    • 删除某一个用户
      DELETE
    • 重置某一个用户的密码
      PUT
    • 修改某一个用户的状态
      PUT
    • 修改某一个用户的存储空间
      PUT
    • 修改用户公开状态
      PUT
  • UserKeys
    • 创建秘钥
    • 查询秘钥
    • 删除秘钥
    • 重置秘钥
  • Matters
    • 文件上传
      • 1、创建文件
      • 2、上传文件
      • 3、上传完成
    • 修改文件名
    • 移动文件
    • 删除文件
    • 复制文件
    • 预览文件
    • 公开文件
    • 媒资库
  • 数据模型
    • Schemas
      • bind.BodyMatter
      • bind.BodyToken
      • bind.BodyUserCreation
      • bind.BodyUserKeyCreation
      • bind.BodyUserPassword
      • bind.BodyUserPatch
      • bind.BodyUserProfile
      • bind.BodyUserStatus
      • gin.H
      • httputil.JSONResponse
      • model.User
      • model.UserProfile
      • model.UserStorage
  1. Schemas

model.User

{
    "created": "string",
    "email": "string",
    "id": 0,
    "profile": {
        "avatar": "string",
        "bio": "string",
        "company": "string",
        "created": "string",
        "id": 0,
        "locale": "string",
        "location": "string",
        "nickname": "string",
        "uid": 0,
        "updated": "string",
        "url": "string"
    },
    "role": "string",
    "status": "string",
    "storage": {
        "created": "string",
        "id": 0,
        "max": 0,
        "uid": 0,
        "updated": "string",
        "used": 0
    },
    "ticket": "string",
    "updated": "string",
    "username": "string"
}
Built with