Sekai Platform
    • Auth
      • 用户登录
      • 用户登出
      • 获取当前登录状态
      • 加载当前用户可访问租户
      • 选择或切换当前租户
    • Users
      • 邀请用户加入当前租户
    • Assets
      • 查询支持的剧情类型
      • 查询剧情集列表
      • 查询剧情集详情
      • 查询剧情列表
      • 查询剧情详情
      • 查询剧情原文行
      • 查询当前租户的翻译版本列表
      • 查询翻译版本详情
      • 查询翻译行
    • Search
      • 搜索原文和当前租户译文
    • Sync
      • 手动触发外部数据源同步
      • 查询同步任务列表
      • 查询同步任务详情
    • Import
      • 批量导入历史译文
    • 数据模型
      • ErrorResponse
      • LoginRequest
      • SelectTenantRequest
      • AuthSession
      • UserProfile
      • Tenant
      • TenantMembership
      • InviteUserRequest
      • UserInvitationResult
      • UserRole
      • UserTenantStatus
      • StoryType
      • StoryTypeInfo
      • ExternalType
      • LineType
      • StoryGroup
      • Story
      • StorySourceLine
      • TranslationVersion
      • TranslationLine
      • SearchAssetType
      • SearchHit
      • SearchStoryRef
      • SearchStoryGroupRef
      • SearchTranslationVersionRef
      • ExternalDataSource
      • JobStatus
      • CreateSyncJobRequest
      • SyncJob
      • SyncJobStats
      • ImportTranslationVersionRequest
      • StoryMatch
      • ImportTranslationLine
      • ImportJob
      • PageMeta
      • StoryGroupPage
      • StoryPage
      • TranslationVersionPage
      • SearchResultPage
      • SyncJobPage

    AuthSession

    {
        "user": {
            "id": 0,
            "qq_id": "string",
            "display_name": "string",
            "avatar_url": "http://example.com"
        },
        "current_tenant": {
            "id": 0,
            "name": "string",
            "avatar_url": "http://example.com"
        },
        "tenants": [
            {
                "tenant": {
                    "id": 0,
                    "name": "string",
                    "avatar_url": "http://example.com"
                },
                "role": "normal",
                "status": "active"
            }
        ]
    }
    Built with