2758 lines
106 KiB
JSON
Generated
2758 lines
106 KiB
JSON
Generated
{
|
||
"openapi": "3.1.0",
|
||
"info": {
|
||
"title": "LoveAC API",
|
||
"description": "LoveACAPI API",
|
||
"version": "1.0.0"
|
||
},
|
||
"paths": {
|
||
"/api/v1/user/veryfy_invite_code": {
|
||
"post": {
|
||
"summary": "验证邀请码",
|
||
"description": "验证邀请码\n:param data: InviteRequest\n:return: InviteResponse",
|
||
"operationId": "verify_invite_code_api_v1_user_veryfy_invite_code_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/InviteRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/InviteResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/user/register": {
|
||
"post": {
|
||
"summary": "注册新用户",
|
||
"description": "注册新用户\n:param data: RegisterRequest\n:return: RegisterResponse",
|
||
"operationId": "register_user_api_v1_user_register_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/RegisterRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/RegisterResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/jwc/fetch_academic_info": {
|
||
"post": {
|
||
"summary": "获取学业信息",
|
||
"description": "获取学术信息(课程数量、绩点等)",
|
||
"operationId": "fetch_academic_info_api_v1_jwc_fetch_academic_info_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AuthmeRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/AcademicInfoResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/provider__loveac__authme__AuthmeResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/ErrorResponse"
|
||
}
|
||
],
|
||
"title": "Response Fetch Academic Info Api V1 Jwc Fetch Academic Info Post"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/jwc/fetch_education_plan_info": {
|
||
"post": {
|
||
"summary": "获取培养方案信息",
|
||
"description": "获取培养方案信息",
|
||
"operationId": "fetch_education_plan_info_api_v1_jwc_fetch_education_plan_info_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AuthmeRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/TrainingPlanInfoResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/provider__loveac__authme__AuthmeResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/ErrorResponse"
|
||
}
|
||
],
|
||
"title": "Response Fetch Education Plan Info Api V1 Jwc Fetch Education Plan Info Post"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/jwc/fetch_evaluation_course_list": {
|
||
"post": {
|
||
"summary": "获取评教课程列表",
|
||
"description": "获取评教课程列表",
|
||
"operationId": "fetch_evaluation_course_list_api_v1_jwc_fetch_evaluation_course_list_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AuthmeRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/CourseListResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/provider__loveac__authme__AuthmeResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/ErrorResponse"
|
||
}
|
||
],
|
||
"title": "Response Fetch Evaluation Course List Api V1 Jwc Fetch Evaluation Course List Post"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/jwc/fetch_exam_info": {
|
||
"post": {
|
||
"summary": "获取考试信息",
|
||
"description": "获取考试信息,包括校统考和其他考试",
|
||
"operationId": "fetch_exam_info_api_v1_jwc_fetch_exam_info_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AuthmeRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/ExamInfoAPIResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/provider__loveac__authme__AuthmeResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/ErrorResponse"
|
||
}
|
||
],
|
||
"title": "Response Fetch Exam Info Api V1 Jwc Fetch Exam Info Post"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/jwc/evaluation/initialize": {
|
||
"post": {
|
||
"summary": "初始化评价任务",
|
||
"description": "初始化评价任务,获取课程列表",
|
||
"operationId": "initialize_evaluation_task_api_v1_jwc_evaluation_initialize_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AuthmeRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/InitializeResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/provider__loveac__authme__AuthmeResponse"
|
||
}
|
||
],
|
||
"title": "Response Initialize Evaluation Task Api V1 Jwc Evaluation Initialize Post"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/jwc/evaluation/start": {
|
||
"post": {
|
||
"summary": "开始评价任务",
|
||
"description": "开始评价任务",
|
||
"operationId": "start_evaluation_task_api_v1_jwc_evaluation_start_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AuthmeRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/TaskOperationResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/provider__loveac__authme__AuthmeResponse"
|
||
}
|
||
],
|
||
"title": "Response Start Evaluation Task Api V1 Jwc Evaluation Start Post"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/jwc/evaluation/terminate": {
|
||
"post": {
|
||
"summary": "终止评价任务",
|
||
"description": "终止评价任务",
|
||
"operationId": "terminate_evaluation_task_api_v1_jwc_evaluation_terminate_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AuthmeRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/TaskOperationResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/provider__loveac__authme__AuthmeResponse"
|
||
}
|
||
],
|
||
"title": "Response Terminate Evaluation Task Api V1 Jwc Evaluation Terminate Post"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/jwc/evaluation/status": {
|
||
"post": {
|
||
"summary": "获取评价任务状态",
|
||
"description": "获取评价任务状态",
|
||
"operationId": "get_evaluation_task_status_api_v1_jwc_evaluation_status_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AuthmeRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/EvaluationStatsResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/provider__loveac__authme__AuthmeResponse"
|
||
}
|
||
],
|
||
"title": "Response Get Evaluation Task Status Api V1 Jwc Evaluation Status Post"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/jwc/evaluation/current": {
|
||
"post": {
|
||
"summary": "获取当前评价课程信息",
|
||
"description": "获取当前评价课程信息",
|
||
"operationId": "get_current_course_info_api_v1_jwc_evaluation_current_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AuthmeRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/CurrentCourseInfoResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/provider__loveac__authme__AuthmeResponse"
|
||
}
|
||
],
|
||
"title": "Response Get Current Course Info Api V1 Jwc Evaluation Current Post"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/jwc/fetch_all_terms": {
|
||
"post": {
|
||
"summary": "获取所有学期信息",
|
||
"description": "获取所有可查询的学期信息",
|
||
"operationId": "fetch_all_terms_api_v1_jwc_fetch_all_terms_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AuthmeRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/AllTermsResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/provider__loveac__authme__AuthmeResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/ErrorResponse"
|
||
}
|
||
],
|
||
"title": "Response Fetch All Terms Api V1 Jwc Fetch All Terms Post"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/jwc/fetch_term_score": {
|
||
"post": {
|
||
"summary": "获取指定学期成绩",
|
||
"description": "获取指定学期的成绩信息",
|
||
"operationId": "fetch_term_score_api_v1_jwc_fetch_term_score_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/Body_fetch_term_score_api_v1_jwc_fetch_term_score_post"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/TermScoreAPIResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/provider__loveac__authme__AuthmeResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/ErrorResponse"
|
||
}
|
||
],
|
||
"title": "Response Fetch Term Score Api V1 Jwc Fetch Term Score Post"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/jwc/fetch_course_schedule": {
|
||
"post": {
|
||
"summary": "获取课表信息",
|
||
"description": "获取聚合的课表信息,包含:\n- 课程基本信息(课程名、教师、学分等)\n- 上课时间和地点信息\n- 时间段详情\n- 学期信息\n\n特殊处理:\n- 自动过滤无用字段\n- 标记没有具体时间安排的课程\n- 清理教师姓名中的特殊字符",
|
||
"operationId": "fetch_course_schedule_api_v1_jwc_fetch_course_schedule_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/Body_fetch_course_schedule_api_v1_jwc_fetch_course_schedule_post"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/ScheduleResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/provider__loveac__authme__AuthmeResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/ErrorResponse"
|
||
}
|
||
],
|
||
"title": "Response Fetch Course Schedule Api V1 Jwc Fetch Course Schedule Post"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/user/login": {
|
||
"post": {
|
||
"summary": "用户登录",
|
||
"description": "用户登录\n:param data: LoginRequest\n:return: LoginResponse",
|
||
"operationId": "login_user_api_v1_user_login_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/LoginRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/LoginResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/user/authme": {
|
||
"post": {
|
||
"summary": "验证登录状态",
|
||
"description": "验证token是否有效,返回登录状态\n:param data: AuthmeRequest\n:return: AuthmeResponse",
|
||
"operationId": "check_auth_status_api_v1_user_authme_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AuthmeRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/router__login__model__AuthmeResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/aac/fetch_score_info": {
|
||
"post": {
|
||
"summary": "获取爱安财总分信息",
|
||
"description": "获取爱安财系统的总分信息",
|
||
"operationId": "fetch_score_info_api_v1_aac_fetch_score_info_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AuthmeRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/ScoreInfoResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/provider__loveac__authme__AuthmeResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/ErrorResponse"
|
||
}
|
||
],
|
||
"title": "Response Fetch Score Info Api V1 Aac Fetch Score Info Post"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/aac/fetch_score_list": {
|
||
"post": {
|
||
"summary": "获取爱安财分数明细列表",
|
||
"description": "获取爱安财系统的分数明细列表",
|
||
"operationId": "fetch_score_list_api_v1_aac_fetch_score_list_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AuthmeRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/ScoreListResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/provider__loveac__authme__AuthmeResponse"
|
||
},
|
||
{
|
||
"$ref": "#/components/schemas/ErrorResponse"
|
||
}
|
||
],
|
||
"title": "Response Fetch Score List Api V1 Aac Fetch Score List Post"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/user/profile/get": {
|
||
"post": {
|
||
"summary": "获取用户资料",
|
||
"description": "获取用户资料\n:param data: GetUserProfileRequest\n:return: UserProfileResponse",
|
||
"operationId": "get_user_profile_api_v1_user_profile_get_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetUserProfileRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/v1/user/profile/update": {
|
||
"post": {
|
||
"summary": "更新用户资料",
|
||
"description": "更新用户资料\n:param data: UpdateUserProfileRequest\n:return: UserProfileResponse",
|
||
"operationId": "update_user_profile_api_v1_user_profile_update_post",
|
||
"requestBody": {
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateUserProfileRequest"
|
||
}
|
||
}
|
||
},
|
||
"required": true
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "Successful Response",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {}
|
||
}
|
||
}
|
||
},
|
||
"422": {
|
||
"description": "Validation Error",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/HTTPValidationError"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"components": {
|
||
"schemas": {
|
||
"AcademicInfo": {
|
||
"properties": {
|
||
"count": {
|
||
"type": "integer",
|
||
"title": "Count",
|
||
"default": 0
|
||
},
|
||
"countNotPass": {
|
||
"type": "integer",
|
||
"title": "Countnotpass",
|
||
"default": 0
|
||
},
|
||
"gpa": {
|
||
"type": "number",
|
||
"title": "Gpa",
|
||
"default": 0
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "AcademicInfo",
|
||
"description": "学术信息数据模型 - 兼容旧版API"
|
||
},
|
||
"AcademicInfoResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/AcademicInfo"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "AcademicInfoResponse",
|
||
"description": "学业信息响应"
|
||
},
|
||
"AllTermsResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"type": "object"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"title": "Data",
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "AllTermsResponse",
|
||
"description": "所有学期信息响应"
|
||
},
|
||
"AuthMeData": {
|
||
"properties": {
|
||
"authme_token": {
|
||
"type": "string",
|
||
"title": "Authme Token",
|
||
"description": "AuthMe Token"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"authme_token"
|
||
],
|
||
"title": "AuthMeData",
|
||
"description": "认证令牌数据"
|
||
},
|
||
"AuthmeRequest": {
|
||
"properties": {
|
||
"token": {
|
||
"type": "string",
|
||
"title": "Token"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"token"
|
||
],
|
||
"title": "AuthmeRequest"
|
||
},
|
||
"AuthmeStatusData": {
|
||
"properties": {
|
||
"is_logged_in": {
|
||
"type": "boolean",
|
||
"title": "Is Logged In",
|
||
"description": "是否处于登录状态"
|
||
},
|
||
"userid": {
|
||
"anyOf": [
|
||
{
|
||
"type": "string"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"title": "Userid",
|
||
"description": "用户ID"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"is_logged_in"
|
||
],
|
||
"title": "AuthmeStatusData",
|
||
"description": "认证状态数据"
|
||
},
|
||
"Body_fetch_course_schedule_api_v1_jwc_fetch_course_schedule_post": {
|
||
"properties": {
|
||
"request": {
|
||
"$ref": "#/components/schemas/FetchScheduleRequest"
|
||
},
|
||
"AuthmeRequest": {
|
||
"$ref": "#/components/schemas/AuthmeRequest"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"request",
|
||
"AuthmeRequest"
|
||
],
|
||
"title": "Body_fetch_course_schedule_api_v1_jwc_fetch_course_schedule_post"
|
||
},
|
||
"Body_fetch_term_score_api_v1_jwc_fetch_term_score_post": {
|
||
"properties": {
|
||
"request": {
|
||
"$ref": "#/components/schemas/FetchTermScoreRequest"
|
||
},
|
||
"AuthmeRequest": {
|
||
"$ref": "#/components/schemas/AuthmeRequest"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"request",
|
||
"AuthmeRequest"
|
||
],
|
||
"title": "Body_fetch_term_score_api_v1_jwc_fetch_term_score_post"
|
||
},
|
||
"Course": {
|
||
"properties": {
|
||
"id": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/CourseId"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
]
|
||
},
|
||
"questionnaire": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/Questionnaire"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
]
|
||
},
|
||
"evaluatedPeople": {
|
||
"type": "string",
|
||
"title": "Evaluatedpeople",
|
||
"default": ""
|
||
},
|
||
"isEvaluated": {
|
||
"type": "string",
|
||
"title": "Isevaluated",
|
||
"default": ""
|
||
},
|
||
"evaluationContent": {
|
||
"type": "string",
|
||
"title": "Evaluationcontent",
|
||
"default": ""
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "Course",
|
||
"description": "课程基本信息"
|
||
},
|
||
"CourseId": {
|
||
"properties": {
|
||
"evaluatedPeople": {
|
||
"type": "string",
|
||
"title": "Evaluatedpeople",
|
||
"default": ""
|
||
},
|
||
"coureSequenceNumber": {
|
||
"type": "string",
|
||
"title": "Couresequencenumber",
|
||
"default": ""
|
||
},
|
||
"evaluationContentNumber": {
|
||
"type": "string",
|
||
"title": "Evaluationcontentnumber",
|
||
"default": ""
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "CourseId",
|
||
"description": "课程ID信息"
|
||
},
|
||
"CourseInfo": {
|
||
"properties": {
|
||
"course_id": {
|
||
"type": "string",
|
||
"title": "Course Id",
|
||
"description": "课程ID",
|
||
"default": ""
|
||
},
|
||
"course_name": {
|
||
"type": "string",
|
||
"title": "Course Name",
|
||
"description": "课程名称",
|
||
"default": ""
|
||
},
|
||
"teacher_name": {
|
||
"type": "string",
|
||
"title": "Teacher Name",
|
||
"description": "教师姓名",
|
||
"default": ""
|
||
},
|
||
"is_evaluated": {
|
||
"type": "string",
|
||
"title": "Is Evaluated",
|
||
"description": "是否已评价",
|
||
"default": ""
|
||
},
|
||
"evaluation_content": {
|
||
"type": "string",
|
||
"title": "Evaluation Content",
|
||
"description": "评价内容",
|
||
"default": ""
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "CourseInfo",
|
||
"description": "课程信息响应模型"
|
||
},
|
||
"CourseListResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"items": {
|
||
"$ref": "#/components/schemas/Course"
|
||
},
|
||
"type": "array"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"title": "Data",
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "CourseListResponse",
|
||
"description": "评教课程列表响应"
|
||
},
|
||
"CourseTimeLocation": {
|
||
"properties": {
|
||
"class_day": {
|
||
"type": "integer",
|
||
"title": "Class Day",
|
||
"description": "上课星期几(1-7)"
|
||
},
|
||
"class_sessions": {
|
||
"type": "integer",
|
||
"title": "Class Sessions",
|
||
"description": "上课节次"
|
||
},
|
||
"continuing_session": {
|
||
"type": "integer",
|
||
"title": "Continuing Session",
|
||
"description": "持续节次数"
|
||
},
|
||
"class_week": {
|
||
"type": "string",
|
||
"title": "Class Week",
|
||
"description": "上课周次(24位二进制字符串)"
|
||
},
|
||
"week_description": {
|
||
"type": "string",
|
||
"title": "Week Description",
|
||
"description": "上课周次描述"
|
||
},
|
||
"campus_name": {
|
||
"type": "string",
|
||
"title": "Campus Name",
|
||
"description": "校区名称"
|
||
},
|
||
"teaching_building_name": {
|
||
"type": "string",
|
||
"title": "Teaching Building Name",
|
||
"description": "教学楼名称"
|
||
},
|
||
"classroom_name": {
|
||
"type": "string",
|
||
"title": "Classroom Name",
|
||
"description": "教室名称"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"class_day",
|
||
"class_sessions",
|
||
"continuing_session",
|
||
"class_week",
|
||
"week_description",
|
||
"campus_name",
|
||
"teaching_building_name",
|
||
"classroom_name"
|
||
],
|
||
"title": "CourseTimeLocation",
|
||
"description": "课程时间地点模型"
|
||
},
|
||
"CurrentCourseInfoData": {
|
||
"properties": {
|
||
"is_evaluating": {
|
||
"type": "boolean",
|
||
"title": "Is Evaluating",
|
||
"description": "是否正在评价",
|
||
"default": false
|
||
},
|
||
"course_name": {
|
||
"type": "string",
|
||
"title": "Course Name",
|
||
"description": "课程名称",
|
||
"default": ""
|
||
},
|
||
"teacher_name": {
|
||
"type": "string",
|
||
"title": "Teacher Name",
|
||
"description": "教师姓名",
|
||
"default": ""
|
||
},
|
||
"progress_text": {
|
||
"type": "string",
|
||
"title": "Progress Text",
|
||
"description": "进度文本",
|
||
"default": ""
|
||
},
|
||
"countdown_seconds": {
|
||
"type": "integer",
|
||
"title": "Countdown Seconds",
|
||
"description": "倒计时秒数",
|
||
"default": 0
|
||
},
|
||
"current_index": {
|
||
"type": "integer",
|
||
"title": "Current Index",
|
||
"description": "当前索引",
|
||
"default": -1
|
||
},
|
||
"total_pending": {
|
||
"type": "integer",
|
||
"title": "Total Pending",
|
||
"description": "总待评价数",
|
||
"default": 0
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "CurrentCourseInfoData",
|
||
"description": "当前评价课程信息数据模型"
|
||
},
|
||
"CurrentCourseInfoResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/CurrentCourseInfoData"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "CurrentCourseInfoResponse",
|
||
"description": "当前评价课程信息响应模型"
|
||
},
|
||
"ErrorResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"type": "null",
|
||
"title": "Data",
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "ErrorResponse",
|
||
"description": "专用错误响应模型"
|
||
},
|
||
"EvaluationStatsData": {
|
||
"properties": {
|
||
"total_courses": {
|
||
"type": "integer",
|
||
"title": "Total Courses",
|
||
"description": "总课程数",
|
||
"default": 0
|
||
},
|
||
"pending_courses": {
|
||
"type": "integer",
|
||
"title": "Pending Courses",
|
||
"description": "待评价课程数",
|
||
"default": 0
|
||
},
|
||
"success_count": {
|
||
"type": "integer",
|
||
"title": "Success Count",
|
||
"description": "成功评价数",
|
||
"default": 0
|
||
},
|
||
"fail_count": {
|
||
"type": "integer",
|
||
"title": "Fail Count",
|
||
"description": "失败评价数",
|
||
"default": 0
|
||
},
|
||
"current_index": {
|
||
"type": "integer",
|
||
"title": "Current Index",
|
||
"description": "当前评价索引",
|
||
"default": 0
|
||
},
|
||
"status": {
|
||
"$ref": "#/components/schemas/TaskStatusEnum",
|
||
"description": "任务状态",
|
||
"default": "idle"
|
||
},
|
||
"current_countdown": {
|
||
"type": "integer",
|
||
"title": "Current Countdown",
|
||
"description": "当前倒计时",
|
||
"default": 0
|
||
},
|
||
"start_time": {
|
||
"anyOf": [
|
||
{
|
||
"type": "string",
|
||
"format": "date-time"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"title": "Start Time",
|
||
"description": "开始时间"
|
||
},
|
||
"end_time": {
|
||
"anyOf": [
|
||
{
|
||
"type": "string",
|
||
"format": "date-time"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"title": "End Time",
|
||
"description": "结束时间"
|
||
},
|
||
"error_message": {
|
||
"type": "string",
|
||
"title": "Error Message",
|
||
"description": "错误消息",
|
||
"default": ""
|
||
},
|
||
"course_list": {
|
||
"items": {
|
||
"$ref": "#/components/schemas/CourseInfo"
|
||
},
|
||
"type": "array",
|
||
"title": "Course List",
|
||
"description": "课程列表"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "EvaluationStatsData",
|
||
"description": "评价统计信息数据模型"
|
||
},
|
||
"EvaluationStatsResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/EvaluationStatsData"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "EvaluationStatsResponse",
|
||
"description": "评价统计信息响应模型"
|
||
},
|
||
"ExamInfoAPIResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/ExamInfoResponse"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "ExamInfoAPIResponse",
|
||
"description": "考试信息响应"
|
||
},
|
||
"ExamInfoResponse": {
|
||
"properties": {
|
||
"exams": {
|
||
"items": {
|
||
"$ref": "#/components/schemas/UnifiedExamInfo"
|
||
},
|
||
"type": "array",
|
||
"title": "Exams"
|
||
},
|
||
"total_count": {
|
||
"type": "integer",
|
||
"title": "Total Count",
|
||
"default": 0
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "ExamInfoResponse",
|
||
"description": "考试信息统一响应模型"
|
||
},
|
||
"FetchScheduleRequest": {
|
||
"properties": {
|
||
"plan_code": {
|
||
"type": "string",
|
||
"title": "Plan Code",
|
||
"description": "培养方案代码,如:2024-2025-2-1"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"plan_code"
|
||
],
|
||
"title": "FetchScheduleRequest",
|
||
"description": "获取课表请求模型"
|
||
},
|
||
"FetchTermScoreRequest": {
|
||
"properties": {
|
||
"term_id": {
|
||
"type": "string",
|
||
"title": "Term Id",
|
||
"description": "学期ID,如:2024-2025-2-1"
|
||
},
|
||
"course_code": {
|
||
"type": "string",
|
||
"title": "Course Code",
|
||
"description": "课程代码(可选,用于筛选)",
|
||
"default": ""
|
||
},
|
||
"course_name": {
|
||
"type": "string",
|
||
"title": "Course Name",
|
||
"description": "课程名称(可选,用于筛选)",
|
||
"default": ""
|
||
},
|
||
"page_num": {
|
||
"type": "integer",
|
||
"minimum": 1.0,
|
||
"title": "Page Num",
|
||
"description": "页码,默认为1",
|
||
"default": 1
|
||
},
|
||
"page_size": {
|
||
"type": "integer",
|
||
"maximum": 100.0,
|
||
"minimum": 1.0,
|
||
"title": "Page Size",
|
||
"description": "每页大小,默认为50",
|
||
"default": 50
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"term_id"
|
||
],
|
||
"title": "FetchTermScoreRequest",
|
||
"description": "获取学期成绩请求模型"
|
||
},
|
||
"GetUserProfileRequest": {
|
||
"properties": {
|
||
"token": {
|
||
"type": "string",
|
||
"title": "Token",
|
||
"description": "用户认证token"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"token"
|
||
],
|
||
"title": "GetUserProfileRequest",
|
||
"description": "获取用户资料请求模型"
|
||
},
|
||
"HTTPValidationError": {
|
||
"properties": {
|
||
"detail": {
|
||
"items": {
|
||
"$ref": "#/components/schemas/ValidationError"
|
||
},
|
||
"type": "array",
|
||
"title": "Detail"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "HTTPValidationError"
|
||
},
|
||
"InitializeData": {
|
||
"properties": {
|
||
"total_courses": {
|
||
"type": "integer",
|
||
"title": "Total Courses",
|
||
"description": "总课程数",
|
||
"default": 0
|
||
},
|
||
"pending_courses": {
|
||
"type": "integer",
|
||
"title": "Pending Courses",
|
||
"description": "待评价课程数",
|
||
"default": 0
|
||
},
|
||
"course_list": {
|
||
"items": {
|
||
"$ref": "#/components/schemas/CourseInfo"
|
||
},
|
||
"type": "array",
|
||
"title": "Course List",
|
||
"description": "课程列表"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "InitializeData",
|
||
"description": "初始化数据模型"
|
||
},
|
||
"InitializeResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/InitializeData"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "InitializeResponse",
|
||
"description": "初始化响应模型"
|
||
},
|
||
"InviteRequest": {
|
||
"properties": {
|
||
"invite_code": {
|
||
"type": "string",
|
||
"title": "Invite Code",
|
||
"description": "邀请码"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"invite_code"
|
||
],
|
||
"title": "InviteRequest"
|
||
},
|
||
"InviteResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/InviteTokenData"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "InviteResponse",
|
||
"description": "邀请响应"
|
||
},
|
||
"InviteTokenData": {
|
||
"properties": {
|
||
"invite_token": {
|
||
"type": "string",
|
||
"title": "Invite Token",
|
||
"description": "邀请密钥"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"invite_token"
|
||
],
|
||
"title": "InviteTokenData",
|
||
"description": "邀请令牌数据"
|
||
},
|
||
"LoginRequest": {
|
||
"properties": {
|
||
"userid": {
|
||
"type": "string",
|
||
"title": "Userid",
|
||
"description": "学号"
|
||
},
|
||
"password": {
|
||
"type": "string",
|
||
"title": "Password",
|
||
"description": "密码"
|
||
},
|
||
"easyconnect_password": {
|
||
"type": "string",
|
||
"title": "Easyconnect Password",
|
||
"description": "VPN密码"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"userid",
|
||
"password",
|
||
"easyconnect_password"
|
||
],
|
||
"title": "LoginRequest"
|
||
},
|
||
"LoginResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/AuthMeData"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "LoginResponse",
|
||
"description": "登录响应"
|
||
},
|
||
"LoveACScoreCategory": {
|
||
"properties": {
|
||
"ID": {
|
||
"type": "string",
|
||
"title": "Id",
|
||
"default": ""
|
||
},
|
||
"ShowNum": {
|
||
"type": "integer",
|
||
"title": "Shownum",
|
||
"default": 0
|
||
},
|
||
"TypeName": {
|
||
"type": "string",
|
||
"title": "Typename",
|
||
"default": ""
|
||
},
|
||
"TotalScore": {
|
||
"type": "number",
|
||
"title": "Totalscore",
|
||
"default": 0.0
|
||
},
|
||
"children": {
|
||
"items": {
|
||
"$ref": "#/components/schemas/LoveACScoreItem"
|
||
},
|
||
"type": "array",
|
||
"title": "Children",
|
||
"default": []
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "LoveACScoreCategory",
|
||
"description": "爱安财分数类别"
|
||
},
|
||
"LoveACScoreInfo": {
|
||
"properties": {
|
||
"TotalScore": {
|
||
"type": "number",
|
||
"title": "Totalscore",
|
||
"default": 0.0
|
||
},
|
||
"IsTypeAdopt": {
|
||
"type": "boolean",
|
||
"title": "Istypeadopt",
|
||
"default": false
|
||
},
|
||
"TypeAdoptResult": {
|
||
"type": "string",
|
||
"title": "Typeadoptresult",
|
||
"default": ""
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "LoveACScoreInfo",
|
||
"description": "爱安财总分信息"
|
||
},
|
||
"LoveACScoreItem": {
|
||
"properties": {
|
||
"ID": {
|
||
"type": "string",
|
||
"title": "Id",
|
||
"default": ""
|
||
},
|
||
"Title": {
|
||
"type": "string",
|
||
"title": "Title",
|
||
"default": ""
|
||
},
|
||
"TypeName": {
|
||
"type": "string",
|
||
"title": "Typename",
|
||
"default": ""
|
||
},
|
||
"UserNo": {
|
||
"type": "string",
|
||
"title": "Userno",
|
||
"default": ""
|
||
},
|
||
"Score": {
|
||
"type": "number",
|
||
"title": "Score",
|
||
"default": 0.0
|
||
},
|
||
"AddTime": {
|
||
"type": "string",
|
||
"title": "Addtime",
|
||
"default": ""
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "LoveACScoreItem",
|
||
"description": "爱安财分数明细条目"
|
||
},
|
||
"Questionnaire": {
|
||
"properties": {
|
||
"questionnaireNumber": {
|
||
"type": "string",
|
||
"title": "Questionnairenumber",
|
||
"default": ""
|
||
},
|
||
"questionnaireName": {
|
||
"type": "string",
|
||
"title": "Questionnairename",
|
||
"default": ""
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "Questionnaire",
|
||
"description": "问卷信息"
|
||
},
|
||
"RegisterRequest": {
|
||
"properties": {
|
||
"userid": {
|
||
"type": "string",
|
||
"title": "Userid",
|
||
"description": "学号"
|
||
},
|
||
"password": {
|
||
"type": "string",
|
||
"title": "Password",
|
||
"description": "密码"
|
||
},
|
||
"easyconnect_password": {
|
||
"type": "string",
|
||
"title": "Easyconnect Password",
|
||
"description": "易联密码"
|
||
},
|
||
"invite_token": {
|
||
"type": "string",
|
||
"title": "Invite Token",
|
||
"description": "邀请码"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"userid",
|
||
"password",
|
||
"easyconnect_password",
|
||
"invite_token"
|
||
],
|
||
"title": "RegisterRequest"
|
||
},
|
||
"RegisterResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/AuthMeData"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "RegisterResponse",
|
||
"description": "注册响应"
|
||
},
|
||
"ScheduleCourse": {
|
||
"properties": {
|
||
"course_name": {
|
||
"type": "string",
|
||
"title": "Course Name",
|
||
"description": "课程名称"
|
||
},
|
||
"course_code": {
|
||
"type": "string",
|
||
"title": "Course Code",
|
||
"description": "课程代码"
|
||
},
|
||
"course_sequence": {
|
||
"type": "string",
|
||
"title": "Course Sequence",
|
||
"description": "课程序号"
|
||
},
|
||
"teacher_name": {
|
||
"type": "string",
|
||
"title": "Teacher Name",
|
||
"description": "授课教师"
|
||
},
|
||
"course_properties": {
|
||
"type": "string",
|
||
"title": "Course Properties",
|
||
"description": "课程性质"
|
||
},
|
||
"exam_type": {
|
||
"type": "string",
|
||
"title": "Exam Type",
|
||
"description": "考试类型"
|
||
},
|
||
"unit": {
|
||
"type": "number",
|
||
"title": "Unit",
|
||
"description": "学分"
|
||
},
|
||
"time_locations": {
|
||
"items": {
|
||
"$ref": "#/components/schemas/CourseTimeLocation"
|
||
},
|
||
"type": "array",
|
||
"title": "Time Locations",
|
||
"description": "时间地点列表"
|
||
},
|
||
"is_no_schedule": {
|
||
"type": "boolean",
|
||
"title": "Is No Schedule",
|
||
"description": "是否无具体时间安排",
|
||
"default": false
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"course_name",
|
||
"course_code",
|
||
"course_sequence",
|
||
"teacher_name",
|
||
"course_properties",
|
||
"exam_type",
|
||
"unit",
|
||
"time_locations"
|
||
],
|
||
"title": "ScheduleCourse",
|
||
"description": "课表课程模型"
|
||
},
|
||
"ScheduleData": {
|
||
"properties": {
|
||
"total_units": {
|
||
"type": "number",
|
||
"title": "Total Units",
|
||
"description": "总学分"
|
||
},
|
||
"time_slots": {
|
||
"items": {
|
||
"$ref": "#/components/schemas/TimeSlot"
|
||
},
|
||
"type": "array",
|
||
"title": "Time Slots",
|
||
"description": "时间段列表"
|
||
},
|
||
"courses": {
|
||
"items": {
|
||
"$ref": "#/components/schemas/ScheduleCourse"
|
||
},
|
||
"type": "array",
|
||
"title": "Courses",
|
||
"description": "课程列表"
|
||
},
|
||
"semester_info": {
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"type": "object",
|
||
"title": "Semester Info",
|
||
"description": "学期信息"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"total_units",
|
||
"time_slots",
|
||
"courses",
|
||
"semester_info"
|
||
],
|
||
"title": "ScheduleData",
|
||
"description": "课表数据模型"
|
||
},
|
||
"ScheduleResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/ScheduleData"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "ScheduleResponse",
|
||
"description": "课表响应模型"
|
||
},
|
||
"ScoreInfoResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/LoveACScoreInfo"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "ScoreInfoResponse",
|
||
"description": "爱安财总分信息响应"
|
||
},
|
||
"ScoreListResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"items": {
|
||
"$ref": "#/components/schemas/LoveACScoreCategory"
|
||
},
|
||
"type": "array"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"title": "Data",
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "ScoreListResponse",
|
||
"description": "爱安财分数明细列表响应"
|
||
},
|
||
"ScoreRecord": {
|
||
"properties": {
|
||
"sequence": {
|
||
"type": "integer",
|
||
"title": "Sequence",
|
||
"description": "序号",
|
||
"default": 0
|
||
},
|
||
"term_id": {
|
||
"type": "string",
|
||
"title": "Term Id",
|
||
"description": "学期ID",
|
||
"default": ""
|
||
},
|
||
"course_code": {
|
||
"type": "string",
|
||
"title": "Course Code",
|
||
"description": "课程代码",
|
||
"default": ""
|
||
},
|
||
"course_class": {
|
||
"type": "string",
|
||
"title": "Course Class",
|
||
"description": "课程班级",
|
||
"default": ""
|
||
},
|
||
"course_name_cn": {
|
||
"type": "string",
|
||
"title": "Course Name Cn",
|
||
"description": "课程名称(中文)",
|
||
"default": ""
|
||
},
|
||
"course_name_en": {
|
||
"type": "string",
|
||
"title": "Course Name En",
|
||
"description": "课程名称(英文)",
|
||
"default": ""
|
||
},
|
||
"credits": {
|
||
"type": "string",
|
||
"title": "Credits",
|
||
"description": "学分",
|
||
"default": ""
|
||
},
|
||
"hours": {
|
||
"type": "integer",
|
||
"title": "Hours",
|
||
"description": "学时",
|
||
"default": 0
|
||
},
|
||
"course_type": {
|
||
"type": "string",
|
||
"title": "Course Type",
|
||
"description": "课程性质",
|
||
"default": ""
|
||
},
|
||
"exam_type": {
|
||
"type": "string",
|
||
"title": "Exam Type",
|
||
"description": "考试性质",
|
||
"default": ""
|
||
},
|
||
"score": {
|
||
"type": "string",
|
||
"title": "Score",
|
||
"description": "成绩",
|
||
"default": ""
|
||
},
|
||
"retake_score": {
|
||
"anyOf": [
|
||
{
|
||
"type": "string"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"title": "Retake Score",
|
||
"description": "重修成绩"
|
||
},
|
||
"makeup_score": {
|
||
"anyOf": [
|
||
{
|
||
"type": "string"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"title": "Makeup Score",
|
||
"description": "补考成绩"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "ScoreRecord",
|
||
"description": "成绩记录模型"
|
||
},
|
||
"TaskOperationData": {
|
||
"properties": {
|
||
"task_status": {
|
||
"$ref": "#/components/schemas/TaskStatusEnum",
|
||
"description": "任务状态",
|
||
"default": "idle"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "TaskOperationData",
|
||
"description": "任务操作数据模型"
|
||
},
|
||
"TaskOperationResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/TaskOperationData"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "TaskOperationResponse",
|
||
"description": "任务操作响应模型"
|
||
},
|
||
"TaskStatusEnum": {
|
||
"type": "string",
|
||
"enum": [
|
||
"idle",
|
||
"initializing",
|
||
"running",
|
||
"paused",
|
||
"completed",
|
||
"failed",
|
||
"terminated"
|
||
],
|
||
"title": "TaskStatusEnum",
|
||
"description": "任务状态枚举"
|
||
},
|
||
"TermScoreAPIResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/TermScoreResponse"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "TermScoreAPIResponse",
|
||
"description": "学期成绩响应"
|
||
},
|
||
"TermScoreResponse": {
|
||
"properties": {
|
||
"page_size": {
|
||
"type": "integer",
|
||
"title": "Page Size",
|
||
"description": "每页大小",
|
||
"default": 50
|
||
},
|
||
"page_num": {
|
||
"type": "integer",
|
||
"title": "Page Num",
|
||
"description": "页码",
|
||
"default": 1
|
||
},
|
||
"total_count": {
|
||
"type": "integer",
|
||
"title": "Total Count",
|
||
"description": "总记录数",
|
||
"default": 0
|
||
},
|
||
"records": {
|
||
"items": {
|
||
"$ref": "#/components/schemas/ScoreRecord"
|
||
},
|
||
"type": "array",
|
||
"title": "Records",
|
||
"description": "成绩记录列表"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "TermScoreResponse",
|
||
"description": "学期成绩响应模型"
|
||
},
|
||
"TimeSlot": {
|
||
"properties": {
|
||
"session": {
|
||
"type": "integer",
|
||
"title": "Session",
|
||
"description": "节次"
|
||
},
|
||
"session_name": {
|
||
"type": "string",
|
||
"title": "Session Name",
|
||
"description": "节次名称"
|
||
},
|
||
"start_time": {
|
||
"type": "string",
|
||
"title": "Start Time",
|
||
"description": "开始时间,格式:HHMM"
|
||
},
|
||
"end_time": {
|
||
"type": "string",
|
||
"title": "End Time",
|
||
"description": "结束时间,格式:HHMM"
|
||
},
|
||
"time_length": {
|
||
"type": "string",
|
||
"title": "Time Length",
|
||
"description": "时长(分钟)"
|
||
},
|
||
"djjc": {
|
||
"type": "integer",
|
||
"title": "Djjc",
|
||
"description": "大节节次"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"session",
|
||
"session_name",
|
||
"start_time",
|
||
"end_time",
|
||
"time_length",
|
||
"djjc"
|
||
],
|
||
"title": "TimeSlot",
|
||
"description": "时间段模型"
|
||
},
|
||
"TrainingPlanInfo": {
|
||
"properties": {
|
||
"pyfa": {
|
||
"type": "string",
|
||
"title": "Pyfa",
|
||
"default": ""
|
||
},
|
||
"term": {
|
||
"type": "string",
|
||
"title": "Term",
|
||
"default": ""
|
||
},
|
||
"courseCount": {
|
||
"type": "integer",
|
||
"title": "Coursecount",
|
||
"default": 0
|
||
},
|
||
"major": {
|
||
"type": "string",
|
||
"title": "Major",
|
||
"default": ""
|
||
},
|
||
"grade": {
|
||
"type": "string",
|
||
"title": "Grade",
|
||
"default": ""
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "TrainingPlanInfo",
|
||
"description": "培养方案信息模型 - 兼容旧版API"
|
||
},
|
||
"TrainingPlanInfoResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/TrainingPlanInfo"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "TrainingPlanInfoResponse",
|
||
"description": "培养方案信息响应"
|
||
},
|
||
"UnifiedExamInfo": {
|
||
"properties": {
|
||
"course_name": {
|
||
"type": "string",
|
||
"title": "Course Name",
|
||
"default": ""
|
||
},
|
||
"exam_date": {
|
||
"type": "string",
|
||
"title": "Exam Date",
|
||
"default": ""
|
||
},
|
||
"exam_time": {
|
||
"type": "string",
|
||
"title": "Exam Time",
|
||
"default": ""
|
||
},
|
||
"exam_location": {
|
||
"type": "string",
|
||
"title": "Exam Location",
|
||
"default": ""
|
||
},
|
||
"exam_type": {
|
||
"type": "string",
|
||
"title": "Exam Type",
|
||
"default": ""
|
||
},
|
||
"note": {
|
||
"type": "string",
|
||
"title": "Note",
|
||
"default": ""
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "UnifiedExamInfo",
|
||
"description": "统一考试信息模型 - 对外提供的统一格式"
|
||
},
|
||
"UpdateUserProfileRequest": {
|
||
"properties": {
|
||
"token": {
|
||
"type": "string",
|
||
"title": "Token",
|
||
"description": "用户认证token"
|
||
},
|
||
"avatar": {
|
||
"anyOf": [
|
||
{
|
||
"type": "string"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"title": "Avatar",
|
||
"description": "用户头像base64编码数据"
|
||
},
|
||
"background": {
|
||
"anyOf": [
|
||
{
|
||
"type": "string"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"title": "Background",
|
||
"description": "用户背景base64编码数据"
|
||
},
|
||
"nickname": {
|
||
"anyOf": [
|
||
{
|
||
"type": "string"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"title": "Nickname",
|
||
"description": "用户昵称"
|
||
},
|
||
"settings": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/UserSettings"
|
||
},
|
||
{
|
||
"type": "string"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"title": "Settings",
|
||
"description": "用户设置对象或JSON字符串"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"token"
|
||
],
|
||
"title": "UpdateUserProfileRequest",
|
||
"description": "更新用户资料请求模型"
|
||
},
|
||
"UserSettings": {
|
||
"properties": {
|
||
"theme": {
|
||
"type": "string",
|
||
"title": "Theme",
|
||
"description": "主题模式"
|
||
},
|
||
"lightModeOpacity": {
|
||
"type": "number",
|
||
"maximum": 1.0,
|
||
"minimum": 0.0,
|
||
"title": "Lightmodeopacity",
|
||
"description": "浅色模式透明度"
|
||
},
|
||
"lightModeBrightness": {
|
||
"type": "number",
|
||
"maximum": 1.0,
|
||
"minimum": 0.0,
|
||
"title": "Lightmodebrightness",
|
||
"description": "浅色模式亮度"
|
||
},
|
||
"darkModeOpacity": {
|
||
"type": "number",
|
||
"maximum": 1.0,
|
||
"minimum": 0.0,
|
||
"title": "Darkmodeopacity",
|
||
"description": "深色模式透明度"
|
||
},
|
||
"darkModeBrightness": {
|
||
"type": "number",
|
||
"maximum": 1.0,
|
||
"minimum": 0.0,
|
||
"title": "Darkmodebrightness",
|
||
"description": "深色模式亮度"
|
||
},
|
||
"backgroundBlur": {
|
||
"type": "number",
|
||
"maximum": 1.0,
|
||
"minimum": 0.0,
|
||
"title": "Backgroundblur",
|
||
"description": "背景模糊强度"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"theme",
|
||
"lightModeOpacity",
|
||
"lightModeBrightness",
|
||
"darkModeOpacity",
|
||
"darkModeBrightness",
|
||
"backgroundBlur"
|
||
],
|
||
"title": "UserSettings",
|
||
"description": "用户设置模型"
|
||
},
|
||
"ValidationError": {
|
||
"properties": {
|
||
"loc": {
|
||
"items": {
|
||
"anyOf": [
|
||
{
|
||
"type": "string"
|
||
},
|
||
{
|
||
"type": "integer"
|
||
}
|
||
]
|
||
},
|
||
"type": "array",
|
||
"title": "Location"
|
||
},
|
||
"msg": {
|
||
"type": "string",
|
||
"title": "Message"
|
||
},
|
||
"type": {
|
||
"type": "string",
|
||
"title": "Error Type"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"loc",
|
||
"msg",
|
||
"type"
|
||
],
|
||
"title": "ValidationError"
|
||
},
|
||
"provider__loveac__authme__AuthmeResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code"
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"code",
|
||
"message"
|
||
],
|
||
"title": "AuthmeResponse"
|
||
},
|
||
"router__login__model__AuthmeResponse": {
|
||
"properties": {
|
||
"code": {
|
||
"type": "integer",
|
||
"title": "Code",
|
||
"description": "状态码",
|
||
"default": 200
|
||
},
|
||
"message": {
|
||
"type": "string",
|
||
"title": "Message",
|
||
"description": "提示信息",
|
||
"default": "成功"
|
||
},
|
||
"data": {
|
||
"anyOf": [
|
||
{
|
||
"$ref": "#/components/schemas/AuthmeStatusData"
|
||
},
|
||
{
|
||
"type": "null"
|
||
}
|
||
],
|
||
"description": "响应数据"
|
||
}
|
||
},
|
||
"type": "object",
|
||
"title": "AuthmeResponse",
|
||
"description": "AuthMe验证响应"
|
||
}
|
||
}
|
||
}
|
||
} |