You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1661 lines
42 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

definitions:
Model.Res:
properties:
count:
description: omitempty有值就输出没值则不输出
type: object
list:
description: omitempty有值就输出没值则不输出
type: object
message:
description: omitempty有值就输出没值则不输出
type: object
parentFlag:
description: omitempty有值就输出没值则不输出
type: object
positionList:
description: omitempty有值就输出没值则不输出
type: object
studentFlag:
description: omitempty有值就输出没值则不输出
type: object
success:
type: object
teacherFlag:
description: omitempty有值就输出没值则不输出
type: object
type: object
MySwagger.DataaccessSwag:
properties:
change_time:
example: "2020-06-22 17:26:53"
type: string
consume_orgid:
example: "-1"
type: string
consume_systemid:
example: F38BD0DB-0142-4356-8F2B-623813FC2578
type: string
consume_type:
example: -1
type: integer
create_time:
example: "2020-06-22 17:26:53"
type: string
datasource_id:
example: F38BD0DB-0142-4356-8F2B-623813FC2578
type: string
delete_flag:
example: 1
type: integer
delete_time:
example: "2020-06-22 17:26:53"
type: string
enable_flag:
example: 1
type: integer
page:
example: 1
type: integer
query_flag:
example: 1
type: integer
set_flag:
example: 1
type: integer
type: object
MySwagger.DataerrorSwag:
properties:
change_time:
example: "2020-06-22 17:26:53"
type: string
create_time:
example: "2020-06-22 17:26:53"
type: string
data_content:
type: string
data_id:
example: F38BD0DB-0142-4356-8F2B-623813FC2578
type: string
datasource_id:
example: F38BD0DB-0142-4356-8F2B-623813FC2578
type: string
delete_flag:
example: 1
type: integer
delete_time:
example: "2020-06-22 17:26:53"
type: string
enable_flag:
example: 1
type: integer
file_uri:
example: /file/url/
type: string
org_id:
example: F38BD0DB-0142-4356-8F2B-623813FC2578
type: string
page:
example: 1
type: integer
system_id:
example: F38BD0DB-0142-4356-8F2B-623813FC2578
type: string
type: object
MySwagger.DatasourceESSwag:
properties:
begin_time:
example: "2020-06-22 17:26:53"
type: string
conditions:
additionalProperties: true
type: object
datasource_code:
example: org_tree
type: string
orgids:
items:
type: string
type: array
page:
example: 1
type: integer
sort:
additionalProperties: true
type: object
type: object
MySwagger.DatasourceSwag:
properties:
collect_flag:
example: 1
type: integer
datasource_code:
example: org_tree
type: string
datasource_detail:
example: 教育主管单位、教辅单位、各级各类学校机构信息
type: string
datasource_name:
example: 组织机构信息
type: string
datastore_type:
example: 2
type: integer
delete_flag:
example: 1
type: integer
dic_id:
example: 1C0F6832-65C6-4888-BDDE-A3373B11499D
type: string
enable_flag:
example: 1
type: integer
page:
example: 1
type: integer
provide_orgid:
example: "-1"
type: string
provide_type:
example: 2
type: integer
set_flag:
example: 1
type: integer
system_id:
example: 1C0F6832-65C6-4888-BDDE-A3373B11499D
type: string
type: object
MySwagger.Jyt2012Swag:
properties:
change_time:
example: "2020-06-22 17:26:53"
type: string
create_time:
example: "2020-06-22 17:26:53"
type: string
delete_flag:
example: 1
type: integer
delete_time:
example: "2020-06-22 17:26:53"
type: string
dic_info:
example: 我是字典项说明
type: string
dic_name:
example: "10"
type: string
dic_type:
example: 1
type: integer
enable_flag:
example: 1
type: integer
id:
example: F38BD0DB-0142-4356-8F2B-623813FC2578
type: string
jyt_flag:
example: 1
type: integer
page:
example: 1
type: integer
parent_id:
example: 38BD0DB-0142-4356-8F2B-623813FC2578
type: string
root_flag:
example: 1
type: integer
type: object
MySwagger.MetadataESSwag:
properties:
index_name:
example: org_tree
type: string
type: object
MySwagger.MetadataSwag:
properties:
check_dic:
example: 1
type: integer
check_exist:
example: 1
type: integer
check_name:
example: 1
type: integer
check_pattern:
example: 1
type: integer
check_type:
example: 1
type: integer
datasource_id:
example: 0383FF67-CCBA-4256-891E-BAFD487547FA
type: string
delete_flag:
example: 1
type: integer
dic_id:
example: F38BD0DB-0142-4356-8F2B-623813FC2578
type: string
enable_flag:
example: 1
type: integer
id:
example: F38BD0DB-0142-4356-8F2B-623813FC2578
type: string
item_info:
example: 我是数据项说明
type: string
item_length:
example: 36
type: integer
item_name:
example: org_name
type: string
item_pattern:
type: string
item_type:
example: string
type: string
page:
example: 1
type: integer
type: object
MySwagger.OrgtreeSwag:
properties:
area_id:
example: 0383FF67-CCBA-4256-891E-BAFD487547FA
type: string
cat_id:
example: 0383FF67-CCBA-4256-891E-BAFD487547FA
type: string
change_time:
example: "2020-06-11 09:19:26"
type: string
city_id:
example: 0383FF67-CCBA-4256-891E-BAFD487547FA
type: string
create_time:
example: "2020-06-11 09:19:26"
type: string
delete_flag:
example: 1
type: integer
delete_time:
example: "2020-06-11 09:19:26"
type: string
enable_flag:
example: 1
type: integer
id:
example: 0383FF67-CCBA-4256-891E-BAFD487547FA
type: string
link_id:
example: 0383FF67-CCBA-4256-891E-BAFD487547FA
type: string
linksystem_id:
example: 0383FF67-CCBA-4256-891E-BAFD487547FA
type: string
org_name:
example: 开平区教育局
type: string
org_type:
example: 1
type: integer
page:
example: 1
type: integer
parent_id:
example: 0383FF67-CCBA-4256-891E-BAFD487547FA
type: string
province_id:
example: 0383FF67-CCBA-4256-891E-BAFD487547FA
type: string
type: object
MySwagger.Result:
properties:
data:
items:
additionalProperties: true
type: object
type: array
fail:
example: false
type: boolean
message:
example: 操作成功
type: string
success:
example: true
type: boolean
total:
example: 120
type: integer
type: object
host: 127.0.0.1:8005
info:
contact:
email: support@swagger.io
name: API Support
url: http://www.swagger.io/support
description: 分布式,大并发,高可用
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
title: 基础数据API
version: "1.0"
paths:
/support/accessSystem/AddAccessSystemInfo:
post:
consumes:
- application/x-www-form-urlencoded
description: 增加接入系统
parameters:
- description: 系统名称
in: formData
name: appName
required: true
type: string
- description: 系统编码
in: formData
name: appCode
required: true
type: string
- description: 排序号
in: formData
name: sortId
type: integer
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 增加接入系统
tags:
- 接入系统
x-emptylimit:
- appName
- appCode
x-lengthlimit:
- appName: 2,30
- appCode: 2,20
x-sort:
- 1
x-tablename:
- t_app_base
/support/accessSystem/DeleteAccessSystemInfo:
post:
consumes:
- application/x-www-form-urlencoded
description: 删除接入系统
parameters:
- description: 系统ID
in: formData
name: appId
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 删除接入系统
tags:
- 接入系统
x-emptylimit:
- appId
x-lengthlimit:
- appId: 36,36
x-sort:
- 3
x-tablename:
- t_app_base
/support/accessSystem/EmptyAccessSystemIntegratedInfo:
post:
consumes:
- application/x-www-form-urlencoded
description: 清空接入系统的集成信息
parameters:
- description: 系统ID
in: formData
name: appId
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 清空接入系统的集成信息
tags:
- 接入系统
x-emptylimit:
- orgId
x-lengthlimit:
- orgId: 36,36
x-sort:
- 8
x-tablename:
- t_app_base
/support/accessSystem/EmptyAccessSystemSsoInfo:
post:
consumes:
- application/x-www-form-urlencoded
description: 清空接入系统的统一认证信息
parameters:
- description: 系统ID
in: formData
name: appId
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 清空接入系统的统一认证信息
tags:
- 接入系统
x-emptylimit:
- orgId
x-lengthlimit:
- orgId: 36,36
x-sort:
- 8
x-tablename:
- t_app_base
/support/accessSystem/GetAccessSystemIdentityPositionInfo:
get:
consumes:
- application/x-www-form-urlencoded
description: 获取接入系统的身份信息和职务信息
parameters:
- description: 系统ID
in: query
name: appId
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 获取接入系统的身份信息和职务信息
tags:
- 接入系统
x-emptylimit:
- appId
x-lengthlimit:
- appId: 36,36
x-sort:
- 9
x-tablename:
- t_app_base
/support/accessSystem/GetAccessSystemIntegratedInfo:
get:
consumes:
- application/x-www-form-urlencoded
description: 获取接入系统的集成信息
parameters:
- description: 系统ID
in: query
name: appId
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 获取接入系统的集成信息
tags:
- 接入系统
x-emptylimit:
- appId
x-lengthlimit:
- appId: 36,36
x-sort:
- 6
x-tablename:
- t_app_base
/support/accessSystem/GetAccessSystemRangeInfo:
get:
consumes:
- application/x-www-form-urlencoded
description: 获取接入系统的使用范围
parameters:
- description: 系统ID
in: query
name: appId
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 获取接入系统的使用范围
tags:
- 接入系统
x-emptylimit:
- appId
x-lengthlimit:
- appId: 36,36
x-sort:
- 5
x-tablename:
- t_app_base
/support/accessSystem/GetAccessSystemSsoInfo:
get:
consumes:
- application/x-www-form-urlencoded
description: 获取接入系统的统一认证信息
parameters:
- description: 系统ID
in: query
name: appId
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 获取接入系统的统一认证信息
tags:
- 接入系统
x-emptylimit:
- appId
x-lengthlimit:
- appId: 36,36
x-sort:
- 6
x-tablename:
- t_app_base
/support/accessSystem/GetAccessSystemStageInfo:
get:
consumes:
- application/x-www-form-urlencoded
description: 获取接入系统的学段信息
parameters:
- description: 系统ID
in: query
name: appId
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 获取接入系统的学段信息
tags:
- 接入系统
x-emptylimit:
- appId
x-lengthlimit:
- appId: 36,36
x-sort:
- 9
x-tablename:
- t_app_base
/support/accessSystem/GetPositionTreeInfo:
get:
consumes:
- application/x-www-form-urlencoded
description: 获取职务树信息
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 获取职务树信息
tags:
- 接入系统
x-removeswaggerfield:
- id_int
- b_use
- last_updated_time
- postion_flag
x-sort:
- 11
post:
consumes:
- application/x-www-form-urlencoded
description: 登录
parameters:
- description: 登录名
in: formData
name: loginName
required: true
type: string
- description: 登录密码
in: formData
name: loginPwd
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 登录
tags:
- 登录
/support/accessSystem/PageAccessSystemInfo:
get:
consumes:
- application/x-www-form-urlencoded
description: 获取接入系统列表
parameters:
- description: 第几页
in: query
name: page
required: true
type: integer
- description: 一页显示多少条
in: query
name: limit
required: true
type: integer
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 获取接入系统列表
tags:
- 接入系统
x-emptylimit:
- page
- limit
x-intrangelimit:
- page: 1,1000
- limit: 1,1000
x-sort:
- 0
x-tablename:
- t_app_base
/support/accessSystem/SettingAccessSystemIdentityPositionInfo:
post:
consumes:
- application/x-www-form-urlencoded
description: 设置接入系统的身份信息和职务信息
parameters:
- description: 系统ID
in: formData
name: appId
required: true
type: string
- description: 教师身份是否可用 1可用 2不可用 3部分职位可用
in: formData
name: teacherFlag
required: true
type: integer
- description: 学生身份是否可用 1可用 2不可用
in: formData
name: studentFlag
required: true
type: integer
- description: 家长身份是否可用 1可用 2不可用
in: formData
name: parentFlag
required: true
type: integer
- description: 职务ID,多个用逗号分隔
in: formData
name: positionIds
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 设置接入系统的身份信息和职务信息
tags:
- 接入系统
x-emptylimit:
- appId
- teacherFlag
- studentFlag
- parentFlag
x-intrangelimit:
- teacherFlag: 1,3
- studentFlag: 1,2
- parentFlag: 1,2
x-lengthlimit:
- appId: 36,36
x-sort:
- 10
x-tablename:
- t_app_base
/support/accessSystem/SettingAccessSystemIntegratedInfo:
post:
consumes:
- application/x-www-form-urlencoded
description: 设置接入系统的集成信息
parameters:
- description: 系统ID
in: formData
name: appId
required: true
type: string
- description: 接入系统在集成页面的调用地址
in: formData
name: appUrl
required: true
type: string
- description: 接入系统在集成页面的图标
in: formData
name: appIcon
required: true
type: file
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 设置接入系统的集成信息
tags:
- 接入系统
x-emptylimit:
- appId
- redirectUri
x-lengthlimit:
- appId: 36,36
- redirectUri: 2,300
- logoutUri: 2,300
x-sort:
- 7
x-tablename:
- t_app_base
/support/accessSystem/SettingAccessSystemRange:
post:
consumes:
- application/x-www-form-urlencoded
description: 设置接入系统的使用范围
parameters:
- description: 系统ID
in: formData
name: appId
required: true
type: string
- description: 使用范围的行政区划码、单位ID多个用逗号分隔
in: formData
name: rangeCode
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 设置接入系统的使用范围
tags:
- 接入系统
x-emptylimit:
- orgId
- rangeCode
x-lengthlimit:
- orgId: 36,36
- rangeCode: 1,3700
x-sort:
- 4
x-tablename:
- t_app_base
/support/accessSystem/SettingAccessSystemSsoInfo:
post:
consumes:
- application/x-www-form-urlencoded
description: 设置接入系统的统一认证信息
parameters:
- description: 系统ID
in: formData
name: appId
required: true
type: string
- description: 统一认证回调地址
in: formData
name: redirectUri
required: true
type: string
- description: 统一认证登出地址
in: formData
name: logoutUri
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 设置接入系统的统一认证信息
tags:
- 接入系统
x-emptylimit:
- appId
- redirectUri
x-lengthlimit:
- appId: 36,36
- redirectUri: 2,300
- logoutUri: 2,300
x-sort:
- 7
x-tablename:
- t_app_base
/support/accessSystem/SettingAccessSystemStageInfo:
post:
consumes:
- application/x-www-form-urlencoded
description: 设置接入系统的身份信息和职务信息
parameters:
- description: 系统ID
in: formData
name: appId
required: true
type: string
- description: 学段ID,多个用逗号分隔,如果是通用传-1
in: formData
name: stageIds
required: true
type: integer
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 设置接入系统的身份信息和职务信息
tags:
- 接入系统
x-emptylimit:
- appId
- stageIds
x-intrangelimit:
- teacherFlag: 1,3
- studentFlag: 1,2
- parentFlag: 1,2
x-lengthlimit:
- appId: 36,36
x-sort:
- 10
x-tablename:
- t_app_base
/support/accessSystem/UpdateAccessSystemInfo:
post:
consumes:
- application/x-www-form-urlencoded
description: 修改接入系统
parameters:
- description: 系统ID
in: formData
name: appId
required: true
type: string
- description: 系统名称
in: formData
name: appName
required: true
type: string
- description: 系统编码
in: formData
name: appCode
required: true
type: string
- description: 排序号
in: formData
name: sortId
type: integer
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/Model.Res'
summary: 修改接入系统
tags:
- 接入系统
x-emptylimit:
- appId
- appName
- appCode
x-lengthlimit:
- appId: 36,36
- appName: 2,30
- appCode: 2,20
x-sort:
- 2
x-tablename:
- t_app_base
/v1/openapi/dataaccess/CreateDataaccess:
post:
consumes:
- application/json
description: 创建数据订阅
operationId: createDataaccess
parameters:
- description: 数据订阅
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.DataaccessSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 创建数据订阅
tags:
- dataaccess
/v1/openapi/dataaccess/DeleteDataaccess/{id}:
post:
consumes:
- application/json
description: 删除数据订阅
operationId: deleteDataaccess
parameters:
- description: 数据订阅ID
in: path
name: id
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 删除数据订阅
tags:
- dataaccess
/v1/openapi/dataaccess/ReadDataaccess:
post:
consumes:
- application/json
description: 获取元数据列表
operationId: readDataaccess
parameters:
- description: 数据订阅
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.DataaccessSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 获取数据订阅列表
tags:
- dataaccess
/v1/openapi/dataaccess/UpdateDataaccess/{id}:
post:
consumes:
- application/json
description: 修改数据订阅
operationId: updateDataaccess
parameters:
- description: 数据订阅ID
in: path
name: id
required: true
type: string
- description: 数据订阅
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.DataaccessSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 修改数据订阅
tags:
- dataaccess
/v1/openapi/dataerror/DeleteDataerror/{id}:
post:
consumes:
- application/json
description: 删除数据异常
operationId: deleteDataerror
parameters:
- description: 数据异常ID
in: path
name: id
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 删除数据异常
tags:
- dataerror
/v1/openapi/dataerror/ReadDataerror:
post:
consumes:
- application/json
description: 获取数据异常列表
operationId: readDataerror
parameters:
- description: 数据异常
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.DataerrorSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 获取数据异常列表
tags:
- dataerror
/v1/openapi/datasource/CreateDatasource:
post:
consumes:
- application/json
description: 创建数据源
operationId: createDatasource
parameters:
- description: 数据源
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.DatasourceSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 创建数据源
tags:
- datasource
/v1/openapi/datasource/DeleteDatasource/{id}:
post:
consumes:
- application/json
description: 删除数据源
operationId: deleteDatasource
parameters:
- description: 数据源ID
in: path
name: id
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 删除数据源
tags:
- datasource
/v1/openapi/datasource/ReadDatasource:
post:
consumes:
- application/json
description: 获取数据源列表
operationId: readDatasource
parameters:
- description: 数据源
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.DatasourceSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 获取数据源列表
tags:
- datasource
/v1/openapi/datasource/ReadESDoc:
post:
consumes:
- application/json
description: 获取es数据列表
operationId: readESDoc
parameters:
- description: es数据
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.DatasourceESSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 获取es数据列表
tags:
- datasource
/v1/openapi/datasource/UpdateDatasource/{id}:
post:
consumes:
- application/json
description: 修改数据源
operationId: updateDatasource
parameters:
- description: 数据源ID
in: path
name: id
required: true
type: string
- description: 数据源
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.DatasourceSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 修改数据源
tags:
- datasource
/v1/openapi/datastatistic/ReadESDocAmount:
post:
consumes:
- application/json
description: 获取数据源列表
operationId: readESDocAmount
parameters:
- description: 数据源
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.DatasourceSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 获取数据源列表
tags:
- datastatistic
/v1/openapi/jyt2012/CreateJyt2012:
post:
consumes:
- application/json
description: 创建标准字典
operationId: createJyt2012
parameters:
- description: 标准字典
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.Jyt2012Swag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 创建标准字典
tags:
- jyt2012
/v1/openapi/jyt2012/DeleteJyt2012/{id}:
post:
consumes:
- application/json
description: 删除标准字典
operationId: deleteJyt2012
parameters:
- description: 标准字典ID
in: path
name: id
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 删除标准字典
tags:
- jyt2012
/v1/openapi/jyt2012/ReadJyt2012:
post:
consumes:
- application/json
description: 获取标准字典列表
operationId: readJyt2012
parameters:
- description: 标准字典
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.Jyt2012Swag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 获取标准字典列表
tags:
- jyt2012
/v1/openapi/jyt2012/UpdateJyt2012/{id}:
post:
consumes:
- application/json
description: 修改标准字典
operationId: updateJyt2012
parameters:
- description: 标准字典ID
in: path
name: id
required: true
type: string
- description: 标准字典
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.Jyt2012Swag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 修改标准字典
tags:
- jyt2012
/v1/openapi/metadata/CreateMetadata:
post:
consumes:
- application/json
description: 创建元数据
operationId: createMetadata
parameters:
- description: 元数据
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.MetadataSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 创建元数据
tags:
- metadata
/v1/openapi/metadata/CreateMetadataES:
post:
consumes:
- application/json
description: 创建ES元数据
operationId: createMetadataES
parameters:
- description: ES元数据
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.MetadataESSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 创建ES元数据
tags:
- metadata
/v1/openapi/metadata/DeleteMetadata/{id}:
post:
consumes:
- application/json
description: 删除元数据
operationId: deleteMetadata
parameters:
- description: 元数据ID
in: path
name: id
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 删除元数据
tags:
- metadata
/v1/openapi/metadata/ReadMetadata:
post:
consumes:
- application/json
description: 获取元数据列表
operationId: readMetadata
parameters:
- description: 元数据
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.MetadataSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 获取元数据列表
tags:
- metadata
/v1/openapi/metadata/UpdateMetadata/{id}:
post:
consumes:
- application/json
description: 修改元数据
operationId: updateMetadata
parameters:
- description: 元数据ID
in: path
name: id
required: true
type: string
- description: 元数据
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.MetadataSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 修改元数据
tags:
- metadata
/v1/openapi/orgtree/CreateOrgtree:
post:
consumes:
- application/json
description: 创建机构
operationId: createOrgtree
parameters:
- description: 机构
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.OrgtreeSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 创建机构
tags:
- orgtree
/v1/openapi/orgtree/DeleteOrgtree/{id}:
post:
consumes:
- application/json
description: 删除机构
operationId: deleteOrgtree
parameters:
- description: 机构ID
in: path
name: id
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 删除机构
tags:
- orgtree
/v1/openapi/orgtree/ReadOrgtree:
post:
consumes:
- application/json
description: 获取机构列表
operationId: readOrgtree
parameters:
- description: 机构
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.OrgtreeSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 获取机构列表
tags:
- orgtree
/v1/openapi/orgtree/UpdateOrgtree/{id}:
post:
consumes:
- application/json
description: 修改机构
operationId: updateOrgtree
parameters:
- description: 机构ID
in: path
name: id
required: true
type: string
- description: 机构
in: body
name: input
required: true
schema:
$ref: '#/definitions/MySwagger.OrgtreeSwag'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/MySwagger.Result'
"400":
description: Bad Request
schema:
$ref: '#/definitions/MySwagger.Result'
summary: 修改机构
tags:
- orgtree
swagger: "2.0"