VocaStar
  1. quiz
VocaStar
  • auth
    • Login
      POST
    • Register
      POST
    • Logout
      POST
  • user
    • resetpw
      POST
    • profile
      GET
    • Set Profile
      POST
    • Upload Avatar
      POST
  • quiz
    • Start Quiz
      POST
    • Get Profile
      GET
    • Save Profile
      POST
    • Get Questions
      GET
    • Answer Questions
      POST
    • Submit Quiz
      POST
    • Get Report
      GET
  • career
    • Get Careers
      GET
    • Get Career Detail By ID
      GET
    • Get Career Recommendations List
      GET
    • Get Career Galaxies List
      GET
  • cosplay
    • 列出可用的 Cosplay 剧本
      GET
    • 获取指定 Cosplay 剧本详情
      GET
    • 创建或恢复 Cosplay 会话
      POST
    • 获取 Cosplay 会话当前状态
      GET
    • 在当前场景中选择一个选项
      POST
    • 获取 Cosplay 会话最终报告
      GET
  • home
    • 首页聚合信息
  • profile
    • Get My Profile
    • Set My Profile
    • Get My Dashboard
    • List Explorations
    • Upsert Explorations
    • List Favorites
    • Add Favorite
    • List Wrongbook
  • 数据模型
    • Schemas
      • Body_login_api_auth_login_post
      • AbilityScore
      • CosplayChoiceResponse
      • HTTPValidationError
      • Body_upload_avatar_api_user_avatar_post
      • AddFavoriteRequest
      • ActionRoadMap
      • RegisterRequest
      • UserResetPasswordRequest
      • CareerDetail
      • ValidationError
      • UserSetProfileRequest
      • QuestionActivityEntry
      • CareerListResponse
      • CareerExploreFilters
      • UserInfoResponse
      • QuestionDimensionEntry
      • CareerSummary
      • CareerExploreGalaxy
      • QuestionScaleConfig
      • CareerExplorePlanet
      • QuestionSettings
      • CareerExploreResponse
      • QuizAllocationAnswer
      • CareerExploreSalaryRange
      • QuizAnswerRequest
      • QuizAnswerResponse
      • QuizMetricsAnswer
      • CosplayAbilityDescriptor
      • CareerRecommendationItem
      • QuizMultipleChoiceAnswer
      • CosplayChoiceRequest
      • QuizOption
      • CosplayHistoryRecord
      • CareerOverview
      • QuizQuestion
      • CosplayOptionView
      • CareerSuggestion
      • QuizQuestionsResponse
      • CosplayReportPayload
      • QuizRatingAnswer
      • CosplaySceneView
      • QuizRecommendation
      • QuizProfileRequest
      • CosplayScriptDetail
      • CompetencyRequirements
      • QuizReportData
      • QuizProfileResponse
      • CosplayScriptDetailResponse
      • QuizReportResponse
      • CosplayScriptSummary
      • QuizSingleChoiceAnswer
      • CosplaySessionListResponse
      • QuizStartResponse
      • CosplaySessionResumeRequest
      • QuizSubmitRequest
      • CosplaySessionState
      • CosplaySessionStateResponse
      • HomeSummaryResponse
      • PersonalOverview
      • DashboardRecommendation
      • PlanetProgress
      • DashboardResponse
      • PointEntry
      • ExplorationItem
      • ExplorationListResponse
      • ExplorationRecord
      • ExplorationUpsertRequest
      • FavoriteListResponse
      • FavoriteRecord
      • QuizClassicScenarioAnswer
      • HollandPortrait
      • QuizImagePreferenceAnswer
      • QuizLegacyAllocationAnswer
      • QuizLegacyMetricsAnswer
      • HollandReport
      • QuizLegacyMultipleChoiceAnswer
      • QuizLegacySingleChoiceAnswer
      • KnowledgeBackground
      • QuizTimeAllocationAnswer
      • QuizValueBalanceAnswer
      • QuizWordChoiceAnswer
      • TodayPointsSummary
      • UserProfileSummary
      • SmallGoal
      • WrongbookItem
      • SalaryAndDistribution
      • WrongbookListResponse
      • SkillEnhancementStage
      • SkillMap
  1. quiz

Get Questions

GET
/api/quiz/questions
通过 session_id 获取到该评测的所有题目。

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Query 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/quiz/questions?session_id=bde8ea9473c648889307c233c3a15116' \
--header 'Authorization: Bearer <token>'

返回响应

🟢200成功
application/json
Successful Response
Body

示例
{
    "session_id": "dcafcab7af8a4295aae23be8852e656e",
    "questions": [
        {
            "question_id": 9,
            "type": "classic_scenario",
            "title": "荒岛求生",
            "content": "情景:你和朋友们意外漂流到一座荒岛,岛上资源丰富但充满未知。",
            "options": [
                {
                    "id": 33,
                    "text": "动手搭建坚固的住所和生存工具",
                    "dimension": "R",
                    "image_url": null
                },
                {
                    "id": 34,
                    "text": "研究探索岛上的动植物生态系统",
                    "dimension": "I",
                    "image_url": null
                },
                {
                    "id": 35,
                    "text": "设计创作独特的求救信号和地图",
                    "dimension": "A",
                    "image_url": null
                },
                {
                    "id": 36,
                    "text": "照顾安抚大家的情绪,组织集体活动",
                    "dimension": "S",
                    "image_url": null
                }
            ],
            "selected_option_id": null,
            "selected_option_ids": null,
            "rating_value": null,
            "metric_values": null,
            "allocations": null,
            "settings": {}
        },
        {
            "question_id": 10,
            "type": "classic_scenario",
            "title": "神秘发明",
            "content": "情景:你发现了一个神奇的发明工具箱,可以创造任何实用的装置。",
            "options": [
                {
                    "id": 37,
                    "text": "规划商业用途并组织团队生产",
                    "dimension": "E",
                    "image_url": null
                },
                {
                    "id": 38,
                    "text": "分类整理所有工具建立管理系统",
                    "dimension": "C",
                    "image_url": null
                },
                {
                    "id": 39,
                    "text": "拆解研究每个工具的原理和功能",
                    "dimension": "R",
                    "image_url": null
                },
                {
                    "id": 40,
                    "text": "实验测试不同组合的科学效果",
                    "dimension": "I",
                    "image_url": null
                }
            ],
            "selected_option_id": null,
            "selected_option_ids": null,
            "rating_value": null,
            "metric_values": null,
            "allocations": null,
            "settings": {}
        },
        {
            "question_id": 11,
            "type": "classic_scenario",
            "title": "社区庆典",
            "content": "情景:社区要举办大型庆典活动,邀请居民共同参与策划。",
            "options": [
                {
                    "id": 41,
                    "text": "策划表演节目和艺术装饰设计",
                    "dimension": "A",
                    "image_url": null
                },
                {
                    "id": 42,
                    "text": "组织志愿者服务参与活动的居民",
                    "dimension": "S",
                    "image_url": null
                },
                {
                    "id": 43,
                    "text": "统筹规划整个活动的流程和宣传",
                    "dimension": "E",
                    "image_url": null
                },
                {
                    "id": 44,
                    "text": "管理预算和物资确保顺利举办",
                    "dimension": "C",
                    "image_url": null
                }
            ],
            "selected_option_id": null,
            "selected_option_ids": null,
            "rating_value": null,
            "metric_values": null,
            "allocations": null,
            "settings": {}
        },
        {
            "question_id": 12,
            "type": "classic_scenario",
            "title": "未来科技展",
            "content": "情景:参观未来科技展览,你对哪个领域最感兴趣?",
            "options": [
                {
                    "id": 45,
                    "text": "体验操作最新的机器人和技术设备",
                    "dimension": "R",
                    "image_url": null
                },
                {
                    "id": 46,
                    "text": "深入了解人工智能的算法原理",
                    "dimension": "I",
                    "image_url": null
                },
                {
                    "id": 47,
                    "text": "探讨商业应用和发展前景",
                    "dimension": "E",
                    "image_url": null
                },
                {
                    "id": 48,
                    "text": "研究技术标准和安全性问题",
                    "dimension": "C",
                    "image_url": null
                }
            ],
            "selected_option_id": null,
            "selected_option_ids": null,
            "rating_value": null,
            "metric_values": null,
            "allocations": null,
            "settings": {}
        },
        {
            "question_id": 13,
            "type": "classic_scenario",
            "title": "创意工作坊",
            "content": "情景:参加一个创意工作坊,你可以自由选择创作方向。",
            "options": [
                {
                    "id": 49,
                    "text": "设计制作独特的艺术品和装饰",
                    "dimension": "A",
                    "image_url": null
                },
                {
                    "id": 50,
                    "text": "教导帮助其他参与者完成作品",
                    "dimension": "S",
                    "image_url": null
                },
                {
                    "id": 51,
                    "text": "学习掌握各种工具的使用技巧",
                    "dimension": "R",
                    "image_url": null
                },
                {
                    "id": 52,
                    "text": "分析研究不同材料的特性差异",
                    "dimension": "I",
                    "image_url": null
                }
            ],
            "selected_option_id": null,
            "selected_option_ids": null,
            "rating_value": null,
            "metric_values": null,
            "allocations": null,
            "settings": {}
        },
        {
            "question_id": 14,
            "type": "classic_scenario",
            "title": "团队挑战赛",
            "content": "情景:参加团队挑战比赛,需要分工合作完成复杂任务。",
            "options": [
                {
                    "id": 53,
                    "text": "制定策略领导团队向目标前进",
                    "dimension": "E",
                    "image_url": null
                },
                {
                    "id": 54,
                    "text": "系统记录任务进度和成果数据",
                    "dimension": "C",
                    "image_url": null
                },
                {
                    "id": 55,
                    "text": "创意解决遇到的困难和障碍",
                    "dimension": "A",
                    "image_url": null
                },
                {
                    "id": 56,
                    "text": "协调沟通确保团队合作顺畅",
                    "dimension": "S",
                    "image_url": null
                }
            ],
            "selected_option_id": null,
            "selected_option_ids": null,
            "rating_value": null,
            "metric_values": null,
            "allocations": null,
            "settings": {}
        },
        {
            "question_id": 15,
            "type": "word_choice",
            "title": "快速选择词汇",
            "content": "请在 10 秒内从词汇云中选择 3 个最吸引你的词语",
            "options": [
                {
                    "id": 57,
                    "text": "创新",
                    "dimension": "A",
                    "image_url": null
                },
                {
                    "id": 58,
                    "text": "稳定",
                    "dimension": "C",
                    "image_url": null
                },
                {
                    "id": 59,
                    "text": "分析",
                    "dimension": "I",
                    "image_url": null
                },
                {
                    "id": 60,
                    "text": "协作",
                    "dimension": "S",
                    "image_url": null
                },
                {
                    "id": 61,
                    "text": "冒险",
                    "dimension": "R",
                    "image_url": null
                },
                {
                    "id": 62,
                    "text": "细致",
                    "dimension": "C",
                    "image_url": null
                },
                {
                    "id": 63,
                    "text": "领导",
                    "dimension": "E",
                    "image_url": null
                },
                {
                    "id": 64,
                    "text": "技术",
                    "dimension": "R",
                    "image_url": null
                },
                {
                    "id": 65,
                    "text": "艺术",
                    "dimension": "A",
                    "image_url": null
                },
                {
                    "id": 66,
                    "text": "服务",
                    "dimension": "S",
                    "image_url": null
                },
                {
                    "id": 67,
                    "text": "规划",
                    "dimension": "E",
                    "image_url": null
                },
                {
                    "id": 68,
                    "text": "探索",
                    "dimension": "I",
                    "image_url": null
                }
            ],
            "selected_option_id": null,
            "selected_option_ids": null,
            "rating_value": null,
            "metric_values": null,
            "allocations": null,
            "settings": {
                "response_time_limit": 10,
                "max_select": 3
            }
        },
        {
            "question_id": 16,
            "type": "image_preference",
            "title": "图片偏好题(场景一)",
            "content": "从以下图片中选择最吸引你的 2 张。每张图片代表一个兴趣维度。",
            "options": [
                {
                    "id": 69,
                    "text": "图片 A(对应 C)",
                    "dimension": "C",
                    "image_url": "/static/quiz-options/P8A.webp"
                },
                {
                    "id": 70,
                    "text": "图片 B(对应 E)",
                    "dimension": "E",
                    "image_url": "/static/quiz-options/P8B.webp"
                },
                {
                    "id": 71,
                    "text": "图片 C(对应 S)",
                    "dimension": "S",
                    "image_url": "/static/quiz-options/P8C.webp"
                },
                {
                    "id": 72,
                    "text": "图片 D(对应 A)",
                    "dimension": "A",
                    "image_url": "/static/quiz-options/P8D.webp"
                },
                {
                    "id": 73,
                    "text": "图片 E(对应 I)",
                    "dimension": "I",
                    "image_url": "/static/quiz-options/P8E.webp"
                },
                {
                    "id": 74,
                    "text": "图片 F(对应 R)",
                    "dimension": "R",
                    "image_url": "/static/quiz-options/P8F.webp"
                }
            ],
            "selected_option_id": null,
            "selected_option_ids": null,
            "rating_value": null,
            "metric_values": null,
            "allocations": null,
            "settings": {
                "max_select": 2
            }
        },
        {
            "question_id": 17,
            "type": "image_preference",
            "title": "图片偏好题(场景二)",
            "content": "再次从以下图片中选择最吸引你的 2 张,感受不同情境的偏好变化。",
            "options": [
                {
                    "id": 75,
                    "text": "图片 A2(对应 E)",
                    "dimension": "E",
                    "image_url": "/static/quiz-options/P9A.webp"
                },
                {
                    "id": 76,
                    "text": "图片 B2(对应 S)",
                    "dimension": "S",
                    "image_url": "/static/quiz-options/P9B.webp"
                },
                {
                    "id": 77,
                    "text": "图片 C2(对应 A)",
                    "dimension": "A",
                    "image_url": "/static/quiz-options/P9C.webp"
                },
                {
                    "id": 78,
                    "text": "图片 D2(对应 I)",
                    "dimension": "I",
                    "image_url": "/static/quiz-options/P9D.webp"
                },
                {
                    "id": 79,
                    "text": "图片 E2(对应 R)",
                    "dimension": "R",
                    "image_url": "/static/quiz-options/P9E.webp"
                },
                {
                    "id": 80,
                    "text": "图片 F2(对应 C)",
                    "dimension": "C",
                    "image_url": "/static/quiz-options/P9F.webp"
                }
            ],
            "selected_option_id": null,
            "selected_option_ids": null,
            "rating_value": null,
            "metric_values": null,
            "allocations": null,
            "settings": {
                "max_select": 2
            }
        },
        {
            "question_id": 18,
            "type": "value_balance",
            "title": "价值观天平",
            "content": "通过拖动滑块,标记你对下列价值观的认同度(0-100%)。",
            "options": [],
            "selected_option_id": null,
            "selected_option_ids": null,
            "rating_value": null,
            "metric_values": null,
            "allocations": null,
            "settings": {
                "scale": {
                    "min_value": 0.0,
                    "max_value": 100.0,
                    "step": 1.0
                },
                "dimensions": [
                    {
                        "label": "实干与成果",
                        "dimension": "R"
                    },
                    {
                        "label": "理性与探索",
                        "dimension": "I"
                    },
                    {
                        "label": "创意与表达",
                        "dimension": "A"
                    },
                    {
                        "label": "关怀与合作",
                        "dimension": "S"
                    },
                    {
                        "label": "领导与影响",
                        "dimension": "E"
                    },
                    {
                        "label": "秩序与效率",
                        "dimension": "C"
                    }
                ]
            }
        },
        {
            "question_id": 19,
            "type": "time_allocation",
            "title": "时间分配游戏",
            "content": "想象你有一个完全自由的周末,有 10 小时可以自由支配,请把时间分配给最想做的活动。",
            "options": [],
            "selected_option_id": null,
            "selected_option_ids": null,
            "rating_value": null,
            "metric_values": null,
            "allocations": null,
            "settings": {
                "max_hours": 10.0,
                "activities": [
                    {
                        "label": "动手制作",
                        "description": "制作手工艺品、修理物品、DIY 项目",
                        "dimension": "R"
                    },
                    {
                        "label": "学习研究",
                        "description": "阅读书籍、在线课程、探索新知识",
                        "dimension": "I"
                    },
                    {
                        "label": "创意设计",
                        "description": "绘画、写作、音乐创作、设计作品",
                        "dimension": "A"
                    },
                    {
                        "label": "朋友聚会",
                        "description": "与朋友交流、组织活动、团队协作",
                        "dimension": "S"
                    },
                    {
                        "label": "规划项目",
                        "description": "制定计划、策划方案、设定目标",
                        "dimension": "E"
                    },
                    {
                        "label": "整理优化",
                        "description": "整理空间、优化系统、完善细节",
                        "dimension": "C"
                    }
                ]
            }
        }
    ],
    "server_time": "2025-10-07T13:08:07.659613Z"
}
🟠422无法处理的实体
修改于 2025-10-24 12:50:31
上一页
Save Profile
下一页
Answer Questions
Built with