mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-06 15:46:37 +08:00
migrate
This commit is contained in:
@@ -285,7 +285,6 @@ const docTemplate = `{
|
|||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
|
||||||
"description": "认证源 ID 或名称",
|
"description": "认证源 ID 或名称",
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"in": "path",
|
"in": "path",
|
||||||
@@ -363,7 +362,6 @@ const docTemplate = `{
|
|||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
|
||||||
"description": "认证源 ID 或名称",
|
"description": "认证源 ID 或名称",
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"in": "path",
|
"in": "path",
|
||||||
@@ -431,7 +429,6 @@ const docTemplate = `{
|
|||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
|
||||||
"description": "认证源 ID 或名称",
|
"description": "认证源 ID 或名称",
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"in": "path",
|
"in": "path",
|
||||||
@@ -1342,7 +1339,6 @@ const docTemplate = `{
|
|||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
|
||||||
"description": "通道ID",
|
"description": "通道ID",
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"in": "path",
|
"in": "path",
|
||||||
@@ -1396,7 +1392,6 @@ const docTemplate = `{
|
|||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
|
||||||
"description": "通道ID",
|
"description": "通道ID",
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"in": "path",
|
"in": "path",
|
||||||
@@ -3349,7 +3344,6 @@ const docTemplate = `{
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
|
||||||
"description": "上传用户 ID",
|
"description": "上传用户 ID",
|
||||||
"name": "user_id",
|
"name": "user_id",
|
||||||
"in": "query"
|
"in": "query"
|
||||||
@@ -4243,7 +4237,6 @@ const docTemplate = `{
|
|||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
|
||||||
"description": "外部帐号绑定记录 ID",
|
"description": "外部帐号绑定记录 ID",
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"in": "path",
|
"in": "path",
|
||||||
@@ -6471,11 +6464,6 @@ const docTemplate = `{
|
|||||||
"UploadStatusPending": "待使用",
|
"UploadStatusPending": "待使用",
|
||||||
"UploadStatusUsed": "已使用"
|
"UploadStatusUsed": "已使用"
|
||||||
},
|
},
|
||||||
"x-enum-descriptions": [
|
|
||||||
"待使用",
|
|
||||||
"已使用",
|
|
||||||
"已删除"
|
|
||||||
],
|
|
||||||
"x-enum-varnames": [
|
"x-enum-varnames": [
|
||||||
"UploadStatusPending",
|
"UploadStatusPending",
|
||||||
"UploadStatusUsed",
|
"UploadStatusUsed",
|
||||||
|
|||||||
@@ -278,7 +278,6 @@
|
|||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
|
||||||
"description": "认证源 ID 或名称",
|
"description": "认证源 ID 或名称",
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"in": "path",
|
"in": "path",
|
||||||
@@ -356,7 +355,6 @@
|
|||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
|
||||||
"description": "认证源 ID 或名称",
|
"description": "认证源 ID 或名称",
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"in": "path",
|
"in": "path",
|
||||||
@@ -424,7 +422,6 @@
|
|||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
|
||||||
"description": "认证源 ID 或名称",
|
"description": "认证源 ID 或名称",
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"in": "path",
|
"in": "path",
|
||||||
@@ -1335,7 +1332,6 @@
|
|||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
|
||||||
"description": "通道ID",
|
"description": "通道ID",
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"in": "path",
|
"in": "path",
|
||||||
@@ -1389,7 +1385,6 @@
|
|||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
|
||||||
"description": "通道ID",
|
"description": "通道ID",
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"in": "path",
|
"in": "path",
|
||||||
@@ -3342,7 +3337,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
|
||||||
"description": "上传用户 ID",
|
"description": "上传用户 ID",
|
||||||
"name": "user_id",
|
"name": "user_id",
|
||||||
"in": "query"
|
"in": "query"
|
||||||
@@ -4236,7 +4230,6 @@
|
|||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
|
||||||
"description": "外部帐号绑定记录 ID",
|
"description": "外部帐号绑定记录 ID",
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"in": "path",
|
"in": "path",
|
||||||
@@ -6464,11 +6457,6 @@
|
|||||||
"UploadStatusPending": "待使用",
|
"UploadStatusPending": "待使用",
|
||||||
"UploadStatusUsed": "已使用"
|
"UploadStatusUsed": "已使用"
|
||||||
},
|
},
|
||||||
"x-enum-descriptions": [
|
|
||||||
"待使用",
|
|
||||||
"已使用",
|
|
||||||
"已删除"
|
|
||||||
],
|
|
||||||
"x-enum-varnames": [
|
"x-enum-varnames": [
|
||||||
"UploadStatusPending",
|
"UploadStatusPending",
|
||||||
"UploadStatusUsed",
|
"UploadStatusUsed",
|
||||||
|
|||||||
@@ -672,10 +672,6 @@ definitions:
|
|||||||
UploadStatusDeleted: 已删除
|
UploadStatusDeleted: 已删除
|
||||||
UploadStatusPending: 待使用
|
UploadStatusPending: 待使用
|
||||||
UploadStatusUsed: 已使用
|
UploadStatusUsed: 已使用
|
||||||
x-enum-descriptions:
|
|
||||||
- 待使用
|
|
||||||
- 已使用
|
|
||||||
- 已删除
|
|
||||||
x-enum-varnames:
|
x-enum-varnames:
|
||||||
- UploadStatusPending
|
- UploadStatusPending
|
||||||
- UploadStatusUsed
|
- UploadStatusUsed
|
||||||
@@ -1560,7 +1556,6 @@ paths:
|
|||||||
description: 删除指定认证源及其关联的所有外部帐号绑定记录,警告:删除后相关用户将无法通过该源登录,需要管理员权限
|
description: 删除指定认证源及其关联的所有外部帐号绑定记录,警告:删除后相关用户将无法通过该源登录,需要管理员权限
|
||||||
parameters:
|
parameters:
|
||||||
- description: 认证源 ID 或名称
|
- description: 认证源 ID 或名称
|
||||||
format: int64
|
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
required: true
|
required: true
|
||||||
@@ -1600,7 +1595,6 @@ paths:
|
|||||||
description: 更新指定 ID 的认证源配置。若 client_secret 字段为空,则保留原有密钥不变,需要管理员权限
|
description: 更新指定 ID 的认证源配置。若 client_secret 字段为空,则保留原有密钥不变,需要管理员权限
|
||||||
parameters:
|
parameters:
|
||||||
- description: 认证源 ID 或名称
|
- description: 认证源 ID 或名称
|
||||||
format: int64
|
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
required: true
|
required: true
|
||||||
@@ -1651,7 +1645,6 @@ paths:
|
|||||||
description: 启用或禁用指定认证源。尝试启用时将验证 Client ID 和 Client Secret 是否已配置,需要管理员权限
|
description: 启用或禁用指定认证源。尝试启用时将验证 Client ID 和 Client Secret 是否已配置,需要管理员权限
|
||||||
parameters:
|
parameters:
|
||||||
- description: 认证源 ID 或名称
|
- description: 认证源 ID 或名称
|
||||||
format: int64
|
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
required: true
|
required: true
|
||||||
@@ -2148,7 +2141,6 @@ paths:
|
|||||||
description: 根据ID删除消息通道,需要管理员权限
|
description: 根据ID删除消息通道,需要管理员权限
|
||||||
parameters:
|
parameters:
|
||||||
- description: 通道ID
|
- description: 通道ID
|
||||||
format: int64
|
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
required: true
|
required: true
|
||||||
@@ -2171,7 +2163,6 @@ paths:
|
|||||||
description: 修改消息通道配置,需要管理员权限
|
description: 修改消息通道配置,需要管理员权限
|
||||||
parameters:
|
parameters:
|
||||||
- description: 通道ID
|
- description: 通道ID
|
||||||
format: int64
|
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
required: true
|
required: true
|
||||||
@@ -3392,7 +3383,6 @@ paths:
|
|||||||
name: extension
|
name: extension
|
||||||
type: string
|
type: string
|
||||||
- description: 上传用户 ID
|
- description: 上传用户 ID
|
||||||
format: int64
|
|
||||||
in: query
|
in: query
|
||||||
name: user_id
|
name: user_id
|
||||||
type: integer
|
type: integer
|
||||||
@@ -3969,7 +3959,6 @@ paths:
|
|||||||
description: 解除当前登录用户与指定外部帐号的绑定关系,需要登录
|
description: 解除当前登录用户与指定外部帐号的绑定关系,需要登录
|
||||||
parameters:
|
parameters:
|
||||||
- description: 外部帐号绑定记录 ID
|
- description: 外部帐号绑定记录 ID
|
||||||
format: int64
|
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
Reference in New Issue
Block a user