openapi: "3.0.1" info: title: "API Documentation" version: "1.0" paths: /{shortUrl:[a-zA-Z0-9]{1,6}}: get: summary: "短链接跳转" description: "短链接跳转" parameters: - name: "shortUrl" in: "path" description: "" required: true schema: type: "string" responses: "200": description: "No Content" /api/short-link/v1/create: post: summary: "创建短链接" description: "创建短链接" requestBody: content: application/json: schema: type: "object" properties: domain: type: "string" description: "域名" originUrl: type: "string" description: "原始链接" gid: type: "string" description: "分组标识" createdType: type: "integer" description: "创建类型 0:接口 1:控制台" validDateType: type: "integer" description: "有效期类型 0:永久有效 1:用户自定义" validDate: type: "string" description: "有效期" describe: type: "string" description: "描述" favicon: type: "string" description: "网站图标" description: "" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: gid: type: "string" description: "分组标识" originUrl: type: "string" description: "原始链接" fullShortUrl: type: "string" description: "完整短链接" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/v1/update: post: summary: "修改短链接" description: "修改短链接" requestBody: content: application/json: schema: type: "object" properties: oldGid: type: "string" description: "旧分组标识(用来定位)\n旧分组标识" newGid: type: "string" description: "新分组标识(修改后的值)\n新分组标识" fullShortUrl: type: "string" description: "完整短链接(用来定位)\n完整短链接" domain: type: "string" description: "域名" originUrl: type: "string" description: "原始链接" validDateType: type: "integer" description: "有效期类型 0:永久有效 1:用户自定义" validDate: type: "string" description: "有效期" describe: type: "string" description: "描述" description: "" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/v1/page: get: summary: "分页查询短链接" description: "分页查询短链接" parameters: - name: "current" in: "query" description: "当前页" required: false schema: type: "integer" format: "int64" nullable: false example: 1 default: 1 - name: "size" in: "query" description: "每页条数" required: false schema: type: "integer" format: "int64" nullable: false example: 10 default: 10 - name: "gid" in: "query" description: "分组标识" required: true schema: type: "string" nullable: false - name: "orderTag" in: "query" description: "排序标识" required: false schema: type: "string" nullable: false responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: current: type: "integer" description: "当前页码" format: "int64" size: type: "integer" description: "每页大小" format: "int64" total: type: "integer" description: "总记录数" format: "int64" records: type: "array" description: "当前页数据" items: type: "object" properties: id: type: "integer" description: "主键 ID" format: "int64" domain: type: "string" description: "域名" shortUri: type: "string" description: "短链接" fullShortUrl: type: "string" description: "完整短链接" originUrl: type: "string" description: "原始链接" clickNum: type: "integer" description: "点击量" gid: type: "string" description: "分组标识" favicon: type: "string" description: "网站图标" validDateType: type: "integer" description: "有效期类型 0:永久有效 1:用户自定义" validDate: type: "string" description: "有效期" describe: type: "string" description: "描述" createTime: type: "string" description: "创建时间" totalPv: type: "integer" description: "历史PV" todayPv: type: "integer" description: "今日PV" totalUv: type: "integer" description: "历史UV" todayUv: type: "integer" description: "今日UV" totalUip: type: "integer" description: "历史UIP" todayUip: type: "integer" description: "今日UIP" description: "cn.luowb.shortlink.project.dto.resp.LinkPageRespDTO" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/v1/group/count: get: summary: "查询短链接分组下的短链接数量" description: "查询短链接分组下的短链接数量" parameters: - name: "gidList" in: "query" description: "" required: true schema: type: "array" nullable: false items: type: "string" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "array" description: "响应数据" items: type: "object" properties: gid: type: "string" description: "分组标识" shortLinkCount: type: "integer" description: "分组下的短链接数量" description: "cn.luowb.shortlink.project.dto.resp.GroupCountQueryRespDTO" requestId: type: "string" description: "请求ID" /api/short-link/v1/trash/save: post: summary: "将链接移动到回收站" description: "将链接移动到回收站" requestBody: content: application/json: schema: type: "object" properties: gid: type: "string" description: "分组标识" fullShortUrl: type: "string" description: "完整短链接" description: "" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/v1/trash/page: get: summary: "分页查询回收站中的链接" description: "分页查询回收站中的链接" parameters: - name: "current" in: "query" description: "当前页" required: false schema: type: "integer" format: "int64" nullable: false example: 1 default: 1 - name: "size" in: "query" description: "每页条数" required: false schema: type: "integer" format: "int64" nullable: false example: 10 default: 10 - name: "gidList" in: "query" description: "分组标识\n分组标识列表" required: true schema: type: "array" nullable: false items: type: "string" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: current: type: "integer" description: "当前页码" format: "int64" size: type: "integer" description: "每页大小" format: "int64" total: type: "integer" description: "总记录数" format: "int64" records: type: "array" description: "当前页数据" items: type: "object" properties: id: type: "integer" description: "主键 ID" format: "int64" domain: type: "string" description: "域名" shortUri: type: "string" description: "短链接" fullShortUrl: type: "string" description: "完整短链接" originUrl: type: "string" description: "原始链接" clickNum: type: "integer" description: "点击量" gid: type: "string" description: "分组标识" favicon: type: "string" description: "网站图标" validDateType: type: "integer" description: "有效期类型 0:永久有效 1:用户自定义" validDate: type: "string" description: "有效期" describe: type: "string" description: "描述" createTime: type: "string" description: "创建时间" totalPv: type: "integer" description: "历史PV" todayPv: type: "integer" description: "今日PV" totalUv: type: "integer" description: "历史UV" todayUv: type: "integer" description: "今日UV" totalUip: type: "integer" description: "历史UIP" todayUip: type: "integer" description: "今日UIP" description: "cn.luowb.shortlink.project.dto.resp.LinkPageRespDTO" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/v1/trash/recover: post: summary: "从回收站中恢复链接" description: "从回收站中恢复链接" requestBody: content: application/json: schema: type: "object" properties: gid: type: "string" description: "分组标识" fullShortUrl: type: "string" description: "完整短链接" description: "恢复链接的请求参数" responses: "200": description: "操作结果" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" description: "操作结果" /api/short-link/v1/trash/delete: post: summary: "从回收站删除链接" description: "从回收站删除链接" requestBody: content: application/json: schema: type: "object" properties: gid: type: "string" description: "分组标识" fullShortUrl: type: "string" description: "完整短链接" description: "" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/v1/metadata: get: summary: "从URL中提取网站元数据" description: "从URL中提取网站元数据" parameters: - name: "url" in: "query" description: "" required: true schema: type: "string" nullable: false responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: title: type: "string" description: "网站标题" favicon: type: "string" description: "网站图标URL" description: "响应数据" requestId: type: "string" description: "请求ID" /page/notfound: get: summary: "短链接不存在跳转页面" description: "短链接不存在跳转页面" responses: "200": description: "" content: text/html: schema: type: "string" /api/short-link/v1/stats: get: summary: "访问单个短链接指定时间内监控数据" description: "访问单个短链接指定时间内监控数据" parameters: - name: "fullShortUrl" in: "query" description: "完整短链接" required: false schema: type: "string" nullable: false - name: "gid" in: "query" description: "分组标识" required: false schema: type: "string" nullable: false - name: "startDate" in: "query" description: "开始日期" required: false schema: type: "string" nullable: false - name: "endDate" in: "query" description: "结束日期" required: false schema: type: "string" nullable: false - name: "enableStatus" in: "query" description: "启用标识 0:启用 1:未启用" required: false schema: type: "integer" nullable: false default: 0 responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: pv: type: "integer" description: "访问量" uv: type: "integer" description: "独立访客数" uip: type: "integer" description: "独立IP数" daily: type: "array" description: "基础访问详情" items: type: "object" properties: date: type: "string" description: "日期" pv: type: "integer" description: "访问量" uv: type: "integer" description: "独立访客数" uip: type: "integer" description: "独立IP数" description: "短链接基础访问监控响应参数" localeCnStats: type: "array" description: "地区访问详情(仅国内)" items: type: "object" properties: cnt: type: "integer" description: "统计" locale: type: "string" description: "地区" ratio: type: "number" description: "占比" description: "短链接地区监控响应参数" hourStats: type: "array" description: "小时访问详情" items: type: "integer" topIpStats: type: "array" description: "高频访问IP详情" items: type: "object" properties: cnt: type: "integer" description: "统计" ip: type: "string" description: "IP" description: "短链接高频访问IP监控响应参数" weekdayStats: type: "array" description: "一周访问详情" items: type: "integer" browserStats: type: "array" description: "浏览器访问详情" items: type: "object" properties: cnt: type: "integer" description: "统计" browser: type: "string" description: "浏览器" ratio: type: "number" description: "占比" description: "短链接浏览器监控响应参数" osStats: type: "array" description: "操作系统访问详情" items: type: "object" properties: cnt: type: "integer" description: "统计" os: type: "string" description: "操作系统" ratio: type: "number" description: "占比" description: "短链接操作系统监控响应参数" uvTypeStats: type: "array" description: "访客访问类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" uvType: type: "string" description: "访客类型" ratio: type: "number" description: "占比" description: "短链接访客监控响应参数" deviceStats: type: "array" description: "访问设备类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" device: type: "string" description: "设备类型" ratio: type: "number" description: "占比" description: "短链接访问设备监控响应参数" networkStats: type: "array" description: "访问网络类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" network: type: "string" description: "访问网络" ratio: type: "number" description: "占比" description: "短链接访问网络监控响应参数" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/v1/stats/group: get: summary: "访问分组短链接指定时间内监控数据" description: "访问分组短链接指定时间内监控数据" parameters: - name: "gid" in: "query" description: "分组标识" required: false schema: type: "string" nullable: false - name: "startDate" in: "query" description: "开始日期" required: false schema: type: "string" nullable: false - name: "endDate" in: "query" description: "结束日期" required: false schema: type: "string" nullable: false responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: pv: type: "integer" description: "访问量" uv: type: "integer" description: "独立访客数" uip: type: "integer" description: "独立IP数" daily: type: "array" description: "基础访问详情" items: type: "object" properties: date: type: "string" description: "日期" pv: type: "integer" description: "访问量" uv: type: "integer" description: "独立访客数" uip: type: "integer" description: "独立IP数" description: "短链接基础访问监控响应参数" localeCnStats: type: "array" description: "地区访问详情(仅国内)" items: type: "object" properties: cnt: type: "integer" description: "统计" locale: type: "string" description: "地区" ratio: type: "number" description: "占比" description: "短链接地区监控响应参数" hourStats: type: "array" description: "小时访问详情" items: type: "integer" topIpStats: type: "array" description: "高频访问IP详情" items: type: "object" properties: cnt: type: "integer" description: "统计" ip: type: "string" description: "IP" description: "短链接高频访问IP监控响应参数" weekdayStats: type: "array" description: "一周访问详情" items: type: "integer" browserStats: type: "array" description: "浏览器访问详情" items: type: "object" properties: cnt: type: "integer" description: "统计" browser: type: "string" description: "浏览器" ratio: type: "number" description: "占比" description: "短链接浏览器监控响应参数" osStats: type: "array" description: "操作系统访问详情" items: type: "object" properties: cnt: type: "integer" description: "统计" os: type: "string" description: "操作系统" ratio: type: "number" description: "占比" description: "短链接操作系统监控响应参数" uvTypeStats: type: "array" description: "访客访问类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" uvType: type: "string" description: "访客类型" ratio: type: "number" description: "占比" description: "短链接访客监控响应参数" deviceStats: type: "array" description: "访问设备类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" device: type: "string" description: "设备类型" ratio: type: "number" description: "占比" description: "短链接访问设备监控响应参数" networkStats: type: "array" description: "访问网络类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" network: type: "string" description: "访问网络" ratio: type: "number" description: "占比" description: "短链接访问网络监控响应参数" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/v1/stats/access-record: get: summary: "访问单个短链接指定时间内访问记录监控数据" description: "访问单个短链接指定时间内访问记录监控数据" parameters: - name: "current" in: "query" description: "当前页" required: false schema: type: "integer" format: "int64" nullable: false example: 1 default: 1 - name: "size" in: "query" description: "每页条数" required: false schema: type: "integer" format: "int64" nullable: false example: 10 default: 10 - name: "fullShortUrl" in: "query" description: "完整短链接" required: false schema: type: "string" nullable: false - name: "gid" in: "query" description: "分组标识" required: false schema: type: "string" nullable: false - name: "startDate" in: "query" description: "开始日期" required: false schema: type: "string" nullable: false - name: "endDate" in: "query" description: "结束日期" required: false schema: type: "string" nullable: false - name: "enableStatus" in: "query" description: "启用标识 0:启用 1:未启用" required: false schema: type: "integer" nullable: false default: 0 responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: current: type: "integer" description: "当前页码" format: "int64" size: type: "integer" description: "每页大小" format: "int64" total: type: "integer" description: "总记录数" format: "int64" records: type: "array" description: "当前页数据" items: type: "object" properties: uvType: type: "string" description: "访客类型" browser: type: "string" description: "浏览器" os: type: "string" description: "操作系统" ip: type: "string" description: "ip\nIP" network: type: "string" description: "访问网络" device: type: "string" description: "访问设备" locale: type: "string" description: "地区" user: type: "string" description: "用户信息" createTime: type: "string" description: "访问时间" description: "短链接监控访问记录响应参数\n公众号:马丁玩编程,回复:加群,添加马哥微信(备注:\ link)获取项目资料" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/v1/stats/access-record/group: get: summary: "访问分组短链接指定时间内访问记录监控数据" description: "访问分组短链接指定时间内访问记录监控数据" parameters: - name: "current" in: "query" description: "当前页" required: false schema: type: "integer" format: "int64" nullable: false example: 1 default: 1 - name: "size" in: "query" description: "每页条数" required: false schema: type: "integer" format: "int64" nullable: false example: 10 default: 10 - name: "gid" in: "query" description: "分组标识" required: false schema: type: "string" nullable: false - name: "startDate" in: "query" description: "开始日期" required: false schema: type: "string" nullable: false - name: "endDate" in: "query" description: "结束日期" required: false schema: type: "string" nullable: false responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: current: type: "integer" description: "当前页码" format: "int64" size: type: "integer" description: "每页大小" format: "int64" total: type: "integer" description: "总记录数" format: "int64" records: type: "array" description: "当前页数据" items: type: "object" properties: uvType: type: "string" description: "访客类型" browser: type: "string" description: "浏览器" os: type: "string" description: "操作系统" ip: type: "string" description: "ip\nIP" network: type: "string" description: "访问网络" device: type: "string" description: "访问设备" locale: type: "string" description: "地区" user: type: "string" description: "用户信息" createTime: type: "string" description: "访问时间" description: "短链接监控访问记录响应参数\n公众号:马丁玩编程,回复:加群,添加马哥微信(备注:\ link)获取项目资料" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/create: post: summary: "创建短链接" description: "创建短链接" requestBody: content: application/json: schema: type: "object" properties: domain: type: "string" description: "域名" originUrl: type: "string" description: "原始链接" gid: type: "string" description: "分组标识" createdType: type: "integer" description: "创建类型 0:接口 1:控制台" validDateType: type: "integer" description: "有效期类型 0:永久有效 1:用户自定义" validDate: type: "string" description: "有效期" describe: type: "string" description: "描述" description: "" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: gid: type: "string" description: "分组标识" originUrl: type: "string" description: "原始链接" fullShortUrl: type: "string" description: "完整短链接" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/page: get: summary: "分页查询短链接" description: "分页查询短链接" parameters: - name: "current" in: "query" description: "当前页" required: false schema: type: "integer" format: "int64" nullable: false example: 1 default: 1 - name: "size" in: "query" description: "每页条数" required: false schema: type: "integer" format: "int64" nullable: false example: 10 default: 10 - name: "gid" in: "query" description: "分组标识" required: false schema: type: "string" nullable: false - name: "orderTag" in: "query" description: "排序标识" required: false schema: type: "string" nullable: false responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: current: type: "integer" description: "当前页码" format: "int64" size: type: "integer" description: "每页大小" format: "int64" total: type: "integer" description: "总记录数" format: "int64" records: type: "array" description: "当前页数据" items: type: "object" properties: id: type: "integer" description: "主键 ID" format: "int64" domain: type: "string" description: "域名" shortUri: type: "string" description: "短链接" fullShortUrl: type: "string" description: "完整短链接" originUrl: type: "string" description: "原始链接" clickNum: type: "integer" description: "点击量" gid: type: "string" description: "分组标识" favicon: type: "string" description: "网站图标" validDateType: type: "integer" description: "有效期类型 0:永久有效 1:用户自定义" validDate: type: "string" description: "有效期" describe: type: "string" description: "描述" createTime: type: "string" description: "创建时间" totalPv: type: "integer" description: "历史PV" todayPv: type: "integer" description: "今日PV" totalUv: type: "integer" description: "历史UV" todayUv: type: "integer" description: "今日UV" totalUip: type: "integer" description: "历史UIP" todayUip: type: "integer" description: "今日UIP" description: "cn.luowb.shortlink.admin.remote.dto.resp.LinkPageRespDTO" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/update: post: summary: "修改短链接" description: "修改短链接" requestBody: content: application/json: schema: type: "object" properties: oldGid: type: "string" description: "旧分组标识(用来定位)\n旧分组标识" newGid: type: "string" description: "新分组标识(修改后的值)\n新分组标识" fullShortUrl: type: "string" description: "完整短链接(用来定位)\n完整短链接" domain: type: "string" description: "域名" originUrl: type: "string" description: "原始链接" validDateType: type: "integer" description: "有效期类型 0:永久有效 1:用户自定义" validDate: type: "string" description: "有效期" describe: type: "string" description: "描述" description: "" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/metadata: get: summary: "从URL中提取网站元数据" description: "从URL中提取网站元数据" parameters: - name: "url" in: "query" description: "" required: true schema: type: "string" nullable: false responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: title: type: "string" description: "网站标题" favicon: type: "string" description: "网站图标URL" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/user/{username}: get: summary: "根据用户名查询用户" description: "根据用户名查询用户" parameters: - name: "username" in: "path" description: "" required: true schema: type: "string" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: id: type: "integer" description: "主键 ID" format: "int64" username: type: "string" description: "用户名" realName: type: "string" description: "真实姓名" phone: type: "string" description: "手机号(加密)" mail: type: "string" description: "邮箱(加密)" deletionTime: type: "integer" description: "注销时间戳" format: "int64" createTime: type: "string" description: "创建时间" updateTime: type: "string" description: "修改时间" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/user/register: post: summary: "用户注册" description: "用户注册" requestBody: content: application/json: schema: type: "object" properties: username: type: "string" description: "用户名" password: type: "string" description: "密码" realName: type: "string" description: "真实姓名" phone: type: "string" description: "手机号" mail: type: "string" description: "邮箱" description: "" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/user/has-username: get: summary: "检查用户名是否存在" description: "检查用户名是否存在" parameters: - name: "username" in: "query" description: "" required: true schema: type: "string" nullable: false responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "boolean" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/user: put: summary: "修改用户信息" description: "修改用户信息" requestBody: content: application/json: schema: type: "object" properties: username: type: "string" description: "用户名" password: type: "string" description: "密码" realName: type: "string" description: "真实姓名" phone: type: "string" description: "手机号" mail: type: "string" description: "邮箱" description: "" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/user/login: post: summary: "用户登录" description: "用户登录" requestBody: content: application/json: schema: type: "object" properties: username: type: "string" description: "用户名" password: type: "string" description: "密码" description: "" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: token: type: "string" description: "登录token" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/user/check-login: get: summary: "检查用户是否登录" description: "检查用户是否登录" parameters: - name: "token" in: "query" description: "" required: true schema: type: "string" nullable: false responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "boolean" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/user/logout: post: summary: "用户退出登录" description: "用户退出登录" parameters: - name: "token" in: "query" description: "" required: true schema: type: "string" nullable: false responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/group: get: summary: "查询当前用户的所有短链接分组" description: "查询当前用户的所有短链接分组" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "array" description: "响应数据" items: type: "object" properties: id: type: "integer" description: "主键 ID" format: "int64" gid: type: "string" description: "分组标识" name: type: "string" description: "分组名称" sortOrder: type: "integer" description: "分组排序" createTime: type: "string" description: "创建时间" updateTime: type: "string" description: "修改时间" shortLinkCount: type: "integer" description: "分组下的短链接数量" description: "短链接分组返回实体" requestId: type: "string" description: "请求ID" put: summary: "修改短链接分组" description: "修改短链接分组" requestBody: content: application/json: schema: type: "object" properties: gid: type: "string" description: "分组标识" name: type: "string" description: "分组名称" description: "" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" post: summary: "新增短链接分组" description: "新增短链接分组" requestBody: content: application/json: schema: type: "object" properties: name: type: "string" description: "分组名称" description: "" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/group/{gid}: delete: summary: "删除短链接分组" description: "删除短链接分组" parameters: - name: "gid" in: "path" description: "" required: true schema: type: "string" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/group/sort: put: summary: "短链接分组排序" description: "短链接分组排序" requestBody: content: application/json: schema: type: "array" description: "" items: type: "object" properties: gid: type: "string" description: "分组ID" sortOrder: type: "integer" description: "排序" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/trash/save: post: summary: "将链接移动到回收站" description: "将链接移动到回收站" requestBody: content: application/json: schema: type: "object" properties: gid: type: "string" description: "分组标识" fullShortUrl: type: "string" description: "完整短链接" description: "" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/trash/page: get: summary: "分页查询回收站中的链接" description: "分页查询回收站中的链接" parameters: - name: "current" in: "query" description: "当前页" required: false schema: type: "integer" format: "int64" nullable: false example: 1 default: 1 - name: "size" in: "query" description: "每页条数" required: false schema: type: "integer" format: "int64" nullable: false example: 10 default: 10 - name: "gidList" in: "query" description: "分组标识\n分组标识列表" required: true schema: type: "array" nullable: false items: type: "string" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: current: type: "integer" description: "当前页码" format: "int64" size: type: "integer" description: "每页大小" format: "int64" total: type: "integer" description: "总记录数" format: "int64" records: type: "array" description: "当前页数据" items: type: "object" properties: id: type: "integer" description: "主键 ID" format: "int64" domain: type: "string" description: "域名" shortUri: type: "string" description: "短链接" fullShortUrl: type: "string" description: "完整短链接" originUrl: type: "string" description: "原始链接" clickNum: type: "integer" description: "点击量" gid: type: "string" description: "分组标识" favicon: type: "string" description: "网站图标" validDateType: type: "integer" description: "有效期类型 0:永久有效 1:用户自定义" validDate: type: "string" description: "有效期" describe: type: "string" description: "描述" createTime: type: "string" description: "创建时间" totalPv: type: "integer" description: "历史PV" todayPv: type: "integer" description: "今日PV" totalUv: type: "integer" description: "历史UV" todayUv: type: "integer" description: "今日UV" totalUip: type: "integer" description: "历史UIP" todayUip: type: "integer" description: "今日UIP" description: "cn.luowb.shortlink.admin.remote.dto.resp.LinkPageRespDTO" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/trash/recover: post: summary: "从回收站中恢复链接" description: "从回收站中恢复链接" requestBody: content: application/json: schema: type: "object" properties: gid: type: "string" description: "分组标识" fullShortUrl: type: "string" description: "完整短链接" description: "恢复链接的请求参数" responses: "200": description: "操作结果" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" description: "操作结果" /api/short-link/admin/v1/trash/delete: post: summary: "从回收站删除链接" description: "从回收站删除链接" requestBody: content: application/json: schema: type: "object" properties: gid: type: "string" description: "分组标识" fullShortUrl: type: "string" description: "完整短链接" description: "" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/stats: get: summary: "查询单个短链接监控数据" description: "查询单个短链接监控数据" parameters: - name: "fullShortUrl" in: "query" description: "完整短链接" required: false schema: type: "string" nullable: false - name: "gid" in: "query" description: "分组标识" required: false schema: type: "string" nullable: false - name: "startDate" in: "query" description: "开始日期" required: false schema: type: "string" nullable: false - name: "endDate" in: "query" description: "结束日期" required: false schema: type: "string" nullable: false - name: "enableStatus" in: "query" description: "启用标识 0:启用 1:未启用" required: false schema: type: "integer" nullable: false responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: pv: type: "integer" description: "访问量" uv: type: "integer" description: "独立访客数" uip: type: "integer" description: "独立IP数" daily: type: "array" description: "基础访问详情" items: type: "object" properties: date: type: "string" description: "日期" pv: type: "integer" description: "访问量" uv: type: "integer" description: "独立访客数" uip: type: "integer" description: "独立IP数" description: "短链接基础访问监控响应参数" localeCnStats: type: "array" description: "地区访问详情(仅国内)" items: type: "object" properties: cnt: type: "integer" description: "统计" locale: type: "string" description: "地区" ratio: type: "number" description: "占比" description: "短链接地区监控响应参数" hourStats: type: "array" description: "小时访问详情" items: type: "integer" topIpStats: type: "array" description: "高频访问IP详情" items: type: "object" properties: cnt: type: "integer" description: "统计" ip: type: "string" description: "IP" description: "短链接高频访问IP监控响应参数" weekdayStats: type: "array" description: "一周访问详情" items: type: "integer" browserStats: type: "array" description: "浏览器访问详情" items: type: "object" properties: cnt: type: "integer" description: "统计" browser: type: "string" description: "浏览器" ratio: type: "number" description: "占比" description: "短链接浏览器监控响应参数" osStats: type: "array" description: "操作系统访问详情" items: type: "object" properties: cnt: type: "integer" description: "统计" os: type: "string" description: "操作系统" ratio: type: "number" description: "占比" description: "短链接操作系统监控响应参数" uvTypeStats: type: "array" description: "访客访问类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" uvType: type: "string" description: "访客类型" ratio: type: "number" description: "占比" description: "短链接访客监控响应参数" deviceStats: type: "array" description: "访问设备类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" device: type: "string" description: "设备类型" ratio: type: "number" description: "占比" description: "短链接访问设备监控响应参数" networkStats: type: "array" description: "访问网络类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" network: type: "string" description: "访问网络" ratio: type: "number" description: "占比" description: "短链接访问网络监控响应参数" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/stats/group: get: summary: "查询分组短链接监控数据" description: "查询分组短链接监控数据" parameters: - name: "gid" in: "query" description: "分组标识" required: false schema: type: "string" nullable: false - name: "startDate" in: "query" description: "开始日期" required: false schema: type: "string" nullable: false - name: "endDate" in: "query" description: "结束日期" required: false schema: type: "string" nullable: false responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: pv: type: "integer" description: "访问量" uv: type: "integer" description: "独立访客数" uip: type: "integer" description: "独立IP数" daily: type: "array" description: "基础访问详情" items: type: "object" properties: date: type: "string" description: "日期" pv: type: "integer" description: "访问量" uv: type: "integer" description: "独立访客数" uip: type: "integer" description: "独立IP数" description: "短链接基础访问监控响应参数" localeCnStats: type: "array" description: "地区访问详情(仅国内)" items: type: "object" properties: cnt: type: "integer" description: "统计" locale: type: "string" description: "地区" ratio: type: "number" description: "占比" description: "短链接地区监控响应参数" hourStats: type: "array" description: "小时访问详情" items: type: "integer" topIpStats: type: "array" description: "高频访问IP详情" items: type: "object" properties: cnt: type: "integer" description: "统计" ip: type: "string" description: "IP" description: "短链接高频访问IP监控响应参数" weekdayStats: type: "array" description: "一周访问详情" items: type: "integer" browserStats: type: "array" description: "浏览器访问详情" items: type: "object" properties: cnt: type: "integer" description: "统计" browser: type: "string" description: "浏览器" ratio: type: "number" description: "占比" description: "短链接浏览器监控响应参数" osStats: type: "array" description: "操作系统访问详情" items: type: "object" properties: cnt: type: "integer" description: "统计" os: type: "string" description: "操作系统" ratio: type: "number" description: "占比" description: "短链接操作系统监控响应参数" uvTypeStats: type: "array" description: "访客访问类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" uvType: type: "string" description: "访客类型" ratio: type: "number" description: "占比" description: "短链接访客监控响应参数" deviceStats: type: "array" description: "访问设备类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" device: type: "string" description: "设备类型" ratio: type: "number" description: "占比" description: "短链接访问设备监控响应参数" networkStats: type: "array" description: "访问网络类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" network: type: "string" description: "访问网络" ratio: type: "number" description: "占比" description: "短链接访问网络监控响应参数" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/stats/access-record: get: summary: "查询单个短链接访问记录监控数据" description: "查询单个短链接访问记录监控数据" parameters: - name: "current" in: "query" description: "当前页" required: false schema: type: "integer" format: "int64" nullable: false example: 1 default: 1 - name: "size" in: "query" description: "每页条数" required: false schema: type: "integer" format: "int64" nullable: false example: 10 default: 10 - name: "fullShortUrl" in: "query" description: "完整短链接" required: false schema: type: "string" nullable: false - name: "gid" in: "query" description: "分组标识" required: false schema: type: "string" nullable: false - name: "startDate" in: "query" description: "开始日期" required: false schema: type: "string" nullable: false - name: "endDate" in: "query" description: "结束日期" required: false schema: type: "string" nullable: false - name: "enableStatus" in: "query" description: "启用标识 0:启用 1:未启用" required: false schema: type: "integer" nullable: false responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: current: type: "integer" description: "当前页码" format: "int64" size: type: "integer" description: "每页大小" format: "int64" total: type: "integer" description: "总记录数" format: "int64" records: type: "array" description: "当前页数据" items: type: "object" properties: uvType: type: "string" description: "访客类型" browser: type: "string" description: "浏览器" os: type: "string" description: "操作系统" ip: type: "string" description: "IP" network: type: "string" description: "访问网络" device: type: "string" description: "访问设备" locale: type: "string" description: "地区" user: type: "string" description: "用户信息" createTime: type: "string" description: "访问时间" description: "短链接监控访问记录响应参数" description: "响应数据" requestId: type: "string" description: "请求ID" /api/short-link/admin/v1/stats/access-record/group: get: summary: "查询分组短链接访问记录监控数据" description: "查询分组短链接访问记录监控数据" parameters: - name: "current" in: "query" description: "当前页" required: false schema: type: "integer" format: "int64" nullable: false example: 1 default: 1 - name: "size" in: "query" description: "每页条数" required: false schema: type: "integer" format: "int64" nullable: false example: 10 default: 10 - name: "gid" in: "query" description: "分组标识" required: false schema: type: "string" nullable: false - name: "startDate" in: "query" description: "开始日期" required: false schema: type: "string" nullable: false - name: "endDate" in: "query" description: "结束日期" required: false schema: type: "string" nullable: false responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: current: type: "integer" description: "当前页码" format: "int64" size: type: "integer" description: "每页大小" format: "int64" total: type: "integer" description: "总记录数" format: "int64" records: type: "array" description: "当前页数据" items: type: "object" properties: uvType: type: "string" description: "访客类型" browser: type: "string" description: "浏览器" os: type: "string" description: "操作系统" ip: type: "string" description: "IP" network: type: "string" description: "访问网络" device: type: "string" description: "访问设备" locale: type: "string" description: "地区" user: type: "string" description: "用户信息" createTime: type: "string" description: "访问时间" description: "短链接监控访问记录响应参数" description: "响应数据" requestId: type: "string" description: "请求ID" /internal/dev/v1/origin-url-whitelist: get: summary: "查询原始链接白名单状态" description: "查询原始链接白名单状态" parameters: - name: "X-ShortLink-Dev-Token" in: "header" description: "" required: true schema: {} responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "object" properties: enabled: type: "boolean" description: "是否启用白名单校验" supportedSites: type: "array" description: "支持的网站列表" items: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" post: summary: "更新原始链接白名单状态" description: "更新原始链接白名单状态" parameters: - name: "X-ShortLink-Dev-Token" in: "header" description: "" required: true schema: {} requestBody: content: application/json: schema: type: "object" properties: enabled: type: "boolean" description: "是否启用白名单校验" description: "" responses: "200": description: "" content: application/json: schema: type: "object" properties: code: type: "string" description: "返回码" message: type: "string" description: "返回消息" data: type: "string" description: "响应数据" requestId: type: "string" description: "请求ID" components: schemas: 短链接创建响应实体: type: "object" properties: gid: type: "string" description: "分组标识" originUrl: type: "string" description: "原始链接" fullShortUrl: type: "string" description: "完整短链接" description: "响应数据" cn.luowb.shortlink.project.dto.resp.LinkPageRespDTO: type: "object" properties: id: type: "integer" description: "主键 ID" format: "int64" domain: type: "string" description: "域名" shortUri: type: "string" description: "短链接" fullShortUrl: type: "string" description: "完整短链接" originUrl: type: "string" description: "原始链接" clickNum: type: "integer" description: "点击量" gid: type: "string" description: "分组标识" favicon: type: "string" description: "网站图标" validDateType: type: "integer" description: "有效期类型 0:永久有效 1:用户自定义" validDate: type: "string" description: "有效期" describe: type: "string" description: "描述" createTime: type: "string" description: "创建时间" totalPv: type: "integer" description: "历史PV" todayPv: type: "integer" description: "今日PV" totalUv: type: "integer" description: "历史UV" todayUv: type: "integer" description: "今日UV" totalUip: type: "integer" description: "历史UIP" todayUip: type: "integer" description: "今日UIP" description: "cn.luowb.shortlink.project.dto.resp.LinkPageRespDTO" cn.luowb.shortlink.project.dto.resp.GroupCountQueryRespDTO: type: "object" properties: gid: type: "string" description: "分组标识" shortLinkCount: type: "integer" description: "分组下的短链接数量" description: "cn.luowb.shortlink.project.dto.resp.GroupCountQueryRespDTO" cn.luowb.shortlink.project.dto.resp.WebsiteMetadataRespDTO: type: "object" properties: title: type: "string" description: "网站标题" favicon: type: "string" description: "网站图标URL" description: "响应数据" 短链接基础访问监控响应参数: type: "object" properties: date: type: "string" description: "日期" pv: type: "integer" description: "访问量" uv: type: "integer" description: "独立访客数" uip: type: "integer" description: "独立IP数" description: "短链接基础访问监控响应参数" 短链接地区监控响应参数: type: "object" properties: cnt: type: "integer" description: "统计" locale: type: "string" description: "地区" ratio: type: "number" description: "占比" description: "短链接地区监控响应参数" 短链接高频访问IP监控响应参数: type: "object" properties: cnt: type: "integer" description: "统计" ip: type: "string" description: "IP" description: "短链接高频访问IP监控响应参数" 短链接浏览器监控响应参数: type: "object" properties: cnt: type: "integer" description: "统计" browser: type: "string" description: "浏览器" ratio: type: "number" description: "占比" description: "短链接浏览器监控响应参数" 短链接操作系统监控响应参数: type: "object" properties: cnt: type: "integer" description: "统计" os: type: "string" description: "操作系统" ratio: type: "number" description: "占比" description: "短链接操作系统监控响应参数" 短链接访客监控响应参数: type: "object" properties: cnt: type: "integer" description: "统计" uvType: type: "string" description: "访客类型" ratio: type: "number" description: "占比" description: "短链接访客监控响应参数" 短链接访问设备监控响应参数: type: "object" properties: cnt: type: "integer" description: "统计" device: type: "string" description: "设备类型" ratio: type: "number" description: "占比" description: "短链接访问设备监控响应参数" 短链接访问网络监控响应参数: type: "object" properties: cnt: type: "integer" description: "统计" network: type: "string" description: "访问网络" ratio: type: "number" description: "占比" description: "短链接访问网络监控响应参数" ? "短链接监控响应参数\n公众号:马丁玩编程,回复:加群,添加马哥微信(备注:link)获取项目资料" : type: "object" properties: pv: type: "integer" description: "访问量" uv: type: "integer" description: "独立访客数" uip: type: "integer" description: "独立IP数" daily: type: "array" description: "基础访问详情" items: type: "object" properties: date: type: "string" description: "日期" pv: type: "integer" description: "访问量" uv: type: "integer" description: "独立访客数" uip: type: "integer" description: "独立IP数" description: "短链接基础访问监控响应参数" localeCnStats: type: "array" description: "地区访问详情(仅国内)" items: type: "object" properties: cnt: type: "integer" description: "统计" locale: type: "string" description: "地区" ratio: type: "number" description: "占比" description: "短链接地区监控响应参数" hourStats: type: "array" description: "小时访问详情" items: type: "integer" topIpStats: type: "array" description: "高频访问IP详情" items: type: "object" properties: cnt: type: "integer" description: "统计" ip: type: "string" description: "IP" description: "短链接高频访问IP监控响应参数" weekdayStats: type: "array" description: "一周访问详情" items: type: "integer" browserStats: type: "array" description: "浏览器访问详情" items: type: "object" properties: cnt: type: "integer" description: "统计" browser: type: "string" description: "浏览器" ratio: type: "number" description: "占比" description: "短链接浏览器监控响应参数" osStats: type: "array" description: "操作系统访问详情" items: type: "object" properties: cnt: type: "integer" description: "统计" os: type: "string" description: "操作系统" ratio: type: "number" description: "占比" description: "短链接操作系统监控响应参数" uvTypeStats: type: "array" description: "访客访问类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" uvType: type: "string" description: "访客类型" ratio: type: "number" description: "占比" description: "短链接访客监控响应参数" deviceStats: type: "array" description: "访问设备类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" device: type: "string" description: "设备类型" ratio: type: "number" description: "占比" description: "短链接访问设备监控响应参数" networkStats: type: "array" description: "访问网络类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" network: type: "string" description: "访问网络" ratio: type: "number" description: "占比" description: "短链接访问网络监控响应参数" description: "响应数据" ? "短链接监控访问记录响应参数\n公众号:马丁玩编程,回复:加群,添加马哥微信(备注:link)获取项目资料" : type: "object" properties: uvType: type: "string" description: "访客类型" browser: type: "string" description: "浏览器" os: type: "string" description: "操作系统" ip: type: "string" description: "ip\nIP" network: type: "string" description: "访问网络" device: type: "string" description: "访问设备" locale: type: "string" description: "地区" user: type: "string" description: "用户信息" createTime: type: "string" description: "访问时间" description: "短链接监控访问记录响应参数\n公众号:马丁玩编程,回复:加群,添加马哥微信(备注:link)获取项目资料" cn.luowb.shortlink.admin.remote.dto.resp.LinkPageRespDTO: type: "object" properties: id: type: "integer" description: "主键 ID" format: "int64" domain: type: "string" description: "域名" shortUri: type: "string" description: "短链接" fullShortUrl: type: "string" description: "完整短链接" originUrl: type: "string" description: "原始链接" clickNum: type: "integer" description: "点击量" gid: type: "string" description: "分组标识" favicon: type: "string" description: "网站图标" validDateType: type: "integer" description: "有效期类型 0:永久有效 1:用户自定义" validDate: type: "string" description: "有效期" describe: type: "string" description: "描述" createTime: type: "string" description: "创建时间" totalPv: type: "integer" description: "历史PV" todayPv: type: "integer" description: "今日PV" totalUv: type: "integer" description: "历史UV" todayUv: type: "integer" description: "今日UV" totalUip: type: "integer" description: "历史UIP" todayUip: type: "integer" description: "今日UIP" description: "cn.luowb.shortlink.admin.remote.dto.resp.LinkPageRespDTO" cn.luowb.shortlink.admin.remote.dto.resp.WebsiteMetadataRespDTO: type: "object" properties: title: type: "string" description: "网站标题" favicon: type: "string" description: "网站图标URL" description: "响应数据" 用户返回实体: type: "object" properties: id: type: "integer" description: "主键 ID" format: "int64" username: type: "string" description: "用户名" realName: type: "string" description: "真实姓名" phone: type: "string" description: "手机号(加密)" mail: type: "string" description: "邮箱(加密)" deletionTime: type: "integer" description: "注销时间戳" format: "int64" createTime: type: "string" description: "创建时间" updateTime: type: "string" description: "修改时间" description: "响应数据" 用户登录响应参数: type: "object" properties: token: type: "string" description: "登录token" description: "响应数据" 短链接分组返回实体: type: "object" properties: id: type: "integer" description: "主键 ID" format: "int64" gid: type: "string" description: "分组标识" name: type: "string" description: "分组名称" sortOrder: type: "integer" description: "分组排序" createTime: type: "string" description: "创建时间" updateTime: type: "string" description: "修改时间" shortLinkCount: type: "integer" description: "分组下的短链接数量" description: "短链接分组返回实体" 短链接监控响应参数: type: "object" properties: pv: type: "integer" description: "访问量" uv: type: "integer" description: "独立访客数" uip: type: "integer" description: "独立IP数" daily: type: "array" description: "基础访问详情" items: type: "object" properties: date: type: "string" description: "日期" pv: type: "integer" description: "访问量" uv: type: "integer" description: "独立访客数" uip: type: "integer" description: "独立IP数" description: "短链接基础访问监控响应参数" localeCnStats: type: "array" description: "地区访问详情(仅国内)" items: type: "object" properties: cnt: type: "integer" description: "统计" locale: type: "string" description: "地区" ratio: type: "number" description: "占比" description: "短链接地区监控响应参数" hourStats: type: "array" description: "小时访问详情" items: type: "integer" topIpStats: type: "array" description: "高频访问IP详情" items: type: "object" properties: cnt: type: "integer" description: "统计" ip: type: "string" description: "IP" description: "短链接高频访问IP监控响应参数" weekdayStats: type: "array" description: "一周访问详情" items: type: "integer" browserStats: type: "array" description: "浏览器访问详情" items: type: "object" properties: cnt: type: "integer" description: "统计" browser: type: "string" description: "浏览器" ratio: type: "number" description: "占比" description: "短链接浏览器监控响应参数" osStats: type: "array" description: "操作系统访问详情" items: type: "object" properties: cnt: type: "integer" description: "统计" os: type: "string" description: "操作系统" ratio: type: "number" description: "占比" description: "短链接操作系统监控响应参数" uvTypeStats: type: "array" description: "访客访问类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" uvType: type: "string" description: "访客类型" ratio: type: "number" description: "占比" description: "短链接访客监控响应参数" deviceStats: type: "array" description: "访问设备类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" device: type: "string" description: "设备类型" ratio: type: "number" description: "占比" description: "短链接访问设备监控响应参数" networkStats: type: "array" description: "访问网络类型详情" items: type: "object" properties: cnt: type: "integer" description: "统计" network: type: "string" description: "访问网络" ratio: type: "number" description: "占比" description: "短链接访问网络监控响应参数" description: "响应数据" 短链接监控访问记录响应参数: type: "object" properties: uvType: type: "string" description: "访客类型" browser: type: "string" description: "浏览器" os: type: "string" description: "操作系统" ip: type: "string" description: "IP" network: type: "string" description: "访问网络" device: type: "string" description: "访问设备" locale: type: "string" description: "地区" user: type: "string" description: "用户信息" createTime: type: "string" description: "访问时间" description: "短链接监控访问记录响应参数" 原始链接白名单状态响应: type: "object" properties: enabled: type: "boolean" description: "是否启用白名单校验" supportedSites: type: "array" description: "支持的网站列表" items: type: "string" description: "响应数据"