{"openapi":"3.1.0","info":{"title":"[DEV] Kiwoom Backend App API","description":"Kiwoom 벡엔드 앱 API","version":"v1"},"servers":[{"url":"https://api.kw.buttersoft.dev","description":"Main Dev App API Server"}],"security":[{"Session":[]}],"tags":[{"name":"[이벤트/채팅방]","description":"이벤트 채팅방 누적 참여자 조회"},{"name":"[앱/웹뷰 채팅방]","description":"채팅방 관련 API"}],"paths":{"/reports":{"post":{"tags":["[웹뷰/신고]"],"summary":"신고 저장 / 웹뷰 사용 API","description":"신고를 저장합니다. 신고 대상이나 원본 메시지가 없으면 신고를 저장하지 않고 200을 반환합니다.","operationId":"report","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/신고 저장 request"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/events/chats/sign-in":{"post":{"tags":["[이벤트/채팅 로그인]"],"summary":"채팅 로그인 후 토큰 반환","description":"서드파티 채팅 서비스 로그인 이후 토큰을 반환합니다.\n기존 로그인을 안했다면 회원가입 이후 토큰을 반환합니다.","operationId":"signInKlatUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/채팅 로그인 후 토큰 반환 request"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSignInEventChatUserResponse"}}}}}}},"/events/chats/sign-in/anonymous":{"post":{"tags":["[이벤트/채팅 로그인]"],"summary":"비회원 로그인","description":"비회원 로그인. userId가 존재하면 그대로 반환, 없다면 생성 후 반환합니다.","operationId":"signInKlatAnonymousUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/비회원 채팅 로그인 후 토큰 반환 request"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSignInEventChatAnonymousUserResponse"}}}}}}},"/chats/users/status":{"post":{"tags":["[내부/KLAT API]"],"summary":"밴 유저인지 확인","description":"밴 유저인지 확인하고 업데이트 후 상태 반환","operationId":"updateUserStatus","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserStatusRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseUpdateUserResponse"}}}}}}},"/chats/sign-in":{"post":{"tags":["[내부/KLAT API]"],"summary":"채팅 로그인 후 토큰 반환","description":"서드파티 채팅 서비스 로그인 이후 토큰을 반환합니다.\n기존 로그인을 안했다면 회원가입 이후 토큰을 반환합니다.","operationId":"signInKlatUser_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/채팅 로그인 후 토큰 반환 request"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponse채팅 로그인 후 토큰 반환 Response"}}}}}}},"/chats/sign-in/anonymous":{"post":{"tags":["[내부/KLAT API]"],"summary":"비회원 로그인","description":"비회원 로그인. userId가 존재하면 그대로 반환, 없다면 생성 후 반환합니다.","operationId":"signInKlatAnonymousUser_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/비회원 채팅 로그인 후 토큰 반환 request"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponse비회원 채팅 로그인 후 토큰 반환 Request"}}}}}}},"/app/chat-rooms/{channelId}/vote":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"특정 채팅방에 대한 상승/하락 투표 비율 조회 API, 웹뷰 사용","description":"특정 채팅방에 대해 상승/하락 투표 비율을 조회합니다.","operationId":"getChatRoomTotalVote","parameters":[{"name":"channelId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponse특정 채팅방 전체 투표 수 조회 Response"}}}}}},"post":{"tags":["[앱/웹뷰 채팅방]"],"summary":"특정 채팅방에 대한 유저의 상승/하락 투표 저장 API, 웹뷰 사용","description":"특정 채팅방에 대해 유저의 상승/하락 의견을 저장합니다.","operationId":"saveChatRoomVote","parameters":[{"name":"channelId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/호가 상승,하락 투표 request"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/health-check":{"get":{"tags":["[헬스체크]"],"operationId":"healthCheck","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseVoid"}}}}}}},"/events/chats/{channelId}/cumulative-participants/count":{"get":{"tags":["[이벤트/채팅방]"],"summary":"이벤트 채팅방 전체 누적 참여자 수 조회","description":"채팅방 room_id에 연결된 이벤트의 회원·비회원 고유 참여자 수를 합산합니다. 조회 결과는 30초 동안 캐싱합니다.","operationId":"getCumulativeParticipantsCount","parameters":[{"name":"channelId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLong"}}}}}}},"/emoticons":{"get":{"tags":["emoticon-controller"],"summary":"이모티콘 전체 조회","description":"이모티콘을 전체 조회합니다.","operationId":"getAll","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListEmoticonsGetResponse"}}}}}}},"/app/chat-rooms":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"특정 채팅방 id 조회, 네이티브 사용","description":"특정 채팅방 종목코드에 대해 채널 id를 조회합니다.","operationId":"getChatRoomIdByStockCode","parameters":[{"name":"stockCode","in":"query","required":true,"schema":{"type":"string"}},{"name":"countryCode","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponse채널 Id 조회 Response"}}}}}}},"/app/chat-rooms/{stockCode}/chats/recent":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"특정 채팅방 최신 채팅 3개 조회","description":"국가코드가 포함된 종목코드로 특정 종목 채팅방의 최신 채팅 3개를 조회합니다.","operationId":"getChatRoomRecentChats","parameters":[{"name":"stockCode","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponse특정 채팅방 최신 채팅 3개 조회 Response"}}}}}}},"/app/chat-rooms/{stockCode}/chats/latest":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"특정 채팅방 마지막 채팅 조회, 네이티브 사용","description":"특정 채팅방에 대해 마지막 채팅을 조회합니다.","operationId":"getChatRoomLatestChat","parameters":[{"name":"stockCode","in":"path","required":true,"schema":{"type":"string"}},{"name":"countryCode","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponse특정 채팅방 마지막 채팅 조회 Response"}}}}}}},"/app/chat-rooms/{stockCode}/active-participants/count":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"종목별 실시간 채팅방 참여자 수 조회하여 응답","description":"종목별 실시간 채팅방 참여자 수를 조회합니다.","operationId":"getChatRoomParticipantsCount","parameters":[{"name":"stockCode","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponse[앱] 채팅방별 참여자 수 조회 Response"}}}}}}},"/app/chat-rooms/{channelId}":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"특정 채팅방 정보 조회, 웹뷰 사용","description":"특정 채팅방 id에 대해 정보를 조회합니다.","operationId":"getChatRoomInfo","parameters":[{"name":"channelId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponse채널 정보 조회 Response"}}}}}}},"/app/chat-rooms/votes/ranks":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"종목 채팅방 투표 상승/하락율 순위 조회, 네이티브 사용","description":"종목 채팅방 투표 상승/하락율의 순위를 조회합니다.","operationId":"getVoteRates","parameters":[{"name":"isIncrease","in":"query","required":true,"schema":{"type":"boolean"}},{"name":"top","in":"query","required":true,"schema":{"type":"integer","format":"int64","maximum":10}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAppVoteRateResponse"}}}}}}},"/app/chat-rooms/stocks/recent-chats":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"종목별 최근 채팅 3개 조회 API","description":"국가 접두사를 포함한 종목 코드(예: KR-005930)를 최대 100개 받아 최근 채팅을 최신순으로 최대 3개 조회합니다. 종목은 최신 채팅 시각 내림차순이며, 채팅이 없는 종목은 요청 순서를 유지하여 마지막에 배치합니다. 중복 종목은 한 번만 응답하며, 종목별 조회 결과는 서버별로 30초 캐싱합니다. 기존 정책에 따라 작성 후 30초가 지난 채팅 중 삭제·제재되지 않은 채팅만 조회합니다.","operationId":"getRecentChatsByStockCodes","parameters":[{"name":"stockCode","in":"query","description":"국가 접두사를 포함한 종목 코드 목록","required":true,"schema":{"type":"array","description":"국가 접두사를 포함한 종목 코드 목록","example":["KR-005930","KR-000660"],"items":{"type":"string","description":"국가 접두사를 포함한 종목 코드 목록","example":["KR-005930","KR-000660"],"pattern":"(KR|US|GB|CN|HK|JP|SG)-\\S+"},"maxItems":100,"minItems":0},"example":["KR-005930","KR-000660"]}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseListRecentChatsByStockCodeResponse"}}}}}}},"/app/chat-rooms/status":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"특정 채팅방 상태 조회, 네이티브 사용","description":"특정 채팅방 종목코드에 대해 채팅방 상태를 조회합니다.","operationId":"getChatRoomStatusByStockCode","parameters":[{"name":"channelId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAppChatRoomStatusResponse"}}}}}}},"/app/chat-rooms/recent":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"최근 채팅이 발생한 종목방 TOP10과 어드민 채팅방 조회","description":"시장(DOMESTIC/US/FOREIGN)별 어드민 채팅방과 최근 채팅 발생 순서의 종목방 10개를 조회합니다. 방별 최근 채팅은 5개입니다.","operationId":"getRecentChatRooms","parameters":[{"name":"market","in":"query","required":false,"schema":{"type":"string","default":"DOMESTIC","enum":["DOMESTIC","US","FOREIGN"]}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponse[앱] 프로필 포함 어드민,종목 채팅방 조회 Response"}}}}}}},"/app/chat-rooms/popular":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"종목 인기 채팅방 TOP3 조회, 네이티브 사용","description":"종목 인기 채팅방 TOP3 을 조회합니다.","operationId":"getPopularChatRooms","parameters":[{"name":"isDomestic","in":"query","required":false,"schema":{"type":"boolean","default":true}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseList[앱] 인기있는 채팅방 조회 Response"}}}}}}},"/app/chat-rooms/popular/top":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"종목 인기 채팅방 TOP N 조회, 웹뷰 사용","description":"종목 인기 채팅방 TOP N 을 조회합니다.","operationId":"getPopularTopNChatRooms","parameters":[{"name":"n","in":"query","required":true,"schema":{"type":"integer","format":"int32","maximum":10}},{"name":"channelId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseList[웹뷰] 인기있는 채팅방 TOP N 조회 Response"}}}}}}},"/app/chat-rooms/members/heart-beat":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"실시간 채팅방 참여자 수 조회 API, 웹뷰 사용","description":"실시간 채팅방 참여자 수를 조회합니다.","operationId":"getMemberCount","parameters":[{"name":"channelId","in":"query","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":true,"schema":{"type":"string"}},{"name":"anonymous","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLong"}}}}}}},"/app/chat-rooms/featured":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"종목 인기 채팅방 TOP10과 국내,해외 어드민 채팅방 조회, 네이티브 사용","description":"isDomestic 기준의 인기 채팅방 TOP10과 해당 시장의 어드민 채팅방을 조회합니다.","operationId":"getPopularChatRoomsWithAdminChatRooms","parameters":[{"name":"isDomestic","in":"query","required":false,"schema":{"type":"boolean","default":true}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32","maximum":5,"minimum":0}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponse[앱] 어드민 포함 종목 채팅방 조회 Response"}}}}}}},"/app/chat-rooms/featured/feed":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"featured기능에 프로필 이미지 추가 API","description":"기존 featured api에 채팅별 프로필이미지를 추가한 api","operationId":"getCommunityFeaturedChatRooms","parameters":[{"name":"isDomestic","in":"query","required":false,"schema":{"type":"boolean","default":true}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32","maximum":5,"minimum":0}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponse[앱] 프로필 포함 어드민,종목 채팅방 조회 Response"}}}}}}},"/app/chat-rooms/cumulative-members/today":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"당일 누적 참여자 수 조회 API, 웹뷰 사용","description":"당일 채팅방 누적 참여자 수를 조회합니다.","operationId":"getTodayCumulativeMemberCount","parameters":[{"name":"channelId","in":"query","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":true,"schema":{"type":"string"}},{"name":"anonymous","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseLong"}}}}}}},"/app/chat-rooms/by-channel/{channelId}/summary":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"특정 채팅방 최신 채팅 3개 조회 및 채팅방 정보 조회","description":"채널 ID로 채팅방 정보, 참여자 수와 공개된 최신 채팅을 최대 3개까지 시간순으로 조회합니다.","operationId":"getChatRoomInfoAndRecentChatsByChannelId","parameters":[{"name":"channelId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseAdminChatRoomResponse"}}}}}}},"/app/chat-rooms/by-channel/{channelId}/chats/recent":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"특정 채팅방 최신 채팅 3개 조회","description":"채널 ID로 공개된 최신 채팅을 최대 3개까지 시간순으로 조회합니다.","operationId":"getChatRoomRecentChatsByChannelId","parameters":[{"name":"channelId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponse특정 채팅방 최신 채팅 3개 조회 Response"}}}}}}},"/app/chat-rooms/auto-complete":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"채팅방 오토 컴플리트 API, 웹뷰 사용","description":"들어온 키워드와 일치하는 종목 리스트를 응답합니다.","operationId":"getAutoCompleteChatRooms","parameters":[{"name":"searchKeyword","in":"query","description":"검색 키워드","required":false,"schema":{"type":"string","description":"검색 키워드","example":"삼성"},"example":"삼성"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["ASC","DESC"]}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseCursorPagination채팅방 오토컴플리트 조회 Response"}}}}}}},"/app/chat-rooms/admin":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"어드민 채팅방 목록 조회, 네이티브 사용","description":"어드민 채팅방 목록을 조회합니다.","operationId":"getAppAdminChatRooms","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseList[앱] 어드민 채팅 종목 리스트 Response"}}}}}}},"/app/chat-rooms/active-participants/leaders":{"get":{"tags":["[앱/웹뷰 채팅방]"],"summary":"시장별(국내/미국/해외) 종목 인기 채팅방 TOP1 조회","description":"시장별 종목 인기 채팅방 TOP1 을 조회합니다.","operationId":"getMostPopularChatRoomPerMarket","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponse[앱] 시장별 참여자가 가장 많은 채팅방 Response"}}}}}}},"/events/chats/users":{"delete":{"tags":["[이벤트/테스트 채팅 유저 삭제]"],"summary":"이벤트 참여 유저 삭제","description":"스테이징용. 이벤트 참여 유저 테스트를 위한 삭제 api","operationId":"removeParticipant","parameters":[{"name":"uuid","in":"query","required":true,"schema":{"type":"string"}},{"name":"channelId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseSignInEventChatAnonymousUserResponse"}}}}}}}},"components":{"schemas":{"신고 저장 request":{"type":"object","description":"POST /reports request","properties":{"userChatId":{"type":"string","description":"신고한 유저 채팅 로그인 시 id","example":"32dr3232ere"},"reportedUserChatId":{"type":"string","description":"신고당한 유저 채팅 로그인 시 id","example":"32d3e32"},"chatMessageId":{"type":"string","description":"채팅 메세지 id","example":"Infinity"},"type":{"type":"string","description":"채팅 타입","enum":["NORMAL","SPAM","PROFANITY","SLANDER","SEXUAL","POLITICAL","MISINFORMATION","LEADING","ADVERTISEMENT","UNDETERMINED"],"example":"SPAM"}},"required":["chatMessageId","reportedUserChatId","type","userChatId"]},"ApiResponseVoid":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{}}},"채팅 로그인 후 토큰 반환 request":{"type":"object","description":"POST /chats/sign-in request","properties":{"uuid":{"type":"string","description":"uuid","example":"uewrwe-uwe-were-werfdw"},"nickname":{"type":"string","description":"필명","example":"익명의 주주"},"profileUrl":{"type":"string","description":"프로필 url","example":"afdsfs.jpg"},"banType":{"type":"string","description":"유저 밴 여부","example":"NORMAL"},"banDateTime":{"type":"string","description":"유저 제재 일자","example":"yyyyMMddHHmmss","pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"},"unbanDateTime":{"type":"string","description":"유저 제재 해제 일자","example":"yyyyMMddHHmmss","pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"},"isStockHolder":{"type":"boolean","description":"주주 여부","example":true},"userType":{"type":"string","description":"유저 타입(공식인증, 서포터즈, 일반)","example":"00, 01, 02"},"channelId":{"type":"string","description":"채널 id","example":"fsdfe23we"}},"required":["banDateTime","banType","channelId","isStockHolder","nickname","unbanDateTime","userType","uuid"]},"ApiResponseSignInEventChatUserResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SignInEventChatUserResponse"}}},"SignInEventChatUserResponse":{"type":"object","properties":{"loginToken":{"type":"string"},"chatId":{"type":"string"},"isBanned":{"type":"boolean"},"roomName":{"type":"string","description":"채팅방 이름"},"eventEndedAt":{"type":"string","format":"date-time","description":"이벤트 종료일시"},"isFirstAccess":{"type":"boolean","description":"채팅방 첫 번째 접근 여부"}}},"비회원 채팅 로그인 후 토큰 반환 request":{"type":"object","description":"POST /chats/sign-in/anonymous request","properties":{"uuid":{"type":"string","description":"uuid","example":"uewrwe-uwe-were-werfdw"},"channelId":{"type":"string","description":"채널 id","example":"fsdfe23we"}},"required":["channelId"]},"ApiResponseSignInEventChatAnonymousUserResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/SignInEventChatAnonymousUserResponse"}}},"SignInEventChatAnonymousUserResponse":{"type":"object","properties":{"loginToken":{"type":"string"},"chatId":{"type":"string"},"roomName":{"type":"string","description":"채팅방 이름"},"eventEndedAt":{"type":"string","format":"date-time","description":"이벤트 종료일시"}}},"UpdateUserStatusRequest":{"type":"object","properties":{"uuid":{"type":"string","description":"uuid","example":"uewrwe-uwe-were-werfdw"},"nickname":{"type":"string","description":"필명","example":"익명의 주주"},"profileUrl":{"type":"string","description":"프로필 url","example":"afdsfs.jpg"},"banType":{"type":"string","description":"유저 밴 여부","example":"NORMAL"},"banDateTime":{"type":"string","description":"유저 제재 일자","example":"yyyyMMddHHmmss","pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"},"unbanDateTime":{"type":"string","description":"유저 제재 해제 일자","example":"yyyyMMddHHmmss","pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"},"isStockHolder":{"type":"boolean","description":"주주 여부","example":true},"userType":{"type":"string","description":"유저 타입(공식인증, 서포터즈, 일반)","example":"00, 01, 02"},"channelId":{"type":"string","description":"채널 id","example":"fsdfe23we"}},"required":["banDateTime","banType","channelId","isStockHolder","nickname","unbanDateTime","userType","uuid"]},"ApiResponseUpdateUserResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/UpdateUserResponse"}}},"UpdateUserResponse":{"type":"object","properties":{"isBanned":{"type":"boolean","description":"밴 여부","example":true}},"required":["isBanned"]},"ApiResponse채팅 로그인 후 토큰 반환 Response":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/채팅 로그인 후 토큰 반환 response"}}},"채팅 로그인 후 토큰 반환 response":{"type":"object","description":"POST /chats/sign-in response","properties":{"loginToken":{"type":"string","description":"로그인 토큰","example":"234WFewrf42dfwe"},"chatId":{"type":"string","description":"채팅 아이디","example":23411231423},"isBanned":{"type":"boolean","description":"밴 여부","example":true}},"required":["chatId","isBanned","loginToken"]},"ApiResponse비회원 채팅 로그인 후 토큰 반환 Request":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/비회원 채팅 로그인 후 토큰 반환 request"}}},"호가 상승,하락 투표 request":{"type":"object","description":"POST /app/chat-rooms/{channelId}/vote request","properties":{"chatUserId":{"type":"string","description":"채팅 유저 id","example":23423231},"priceDirection":{"type":"string","description":"상승/하락 방향","enum":["UP","DOWN"],"example":"UP"}},"required":["chatUserId","priceDirection"]},"ApiResponseLong":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"integer","format":"int64"}}},"ApiResponseListEmoticonsGetResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/EmoticonsGetResponse"}}}},"EmoticonInfo":{"type":"object","properties":{"id":{"type":"string","description":"id"},"name":{"type":"string","description":"name"},"mediaUrl":{"type":"string","description":"이모티콘 URL"}},"required":["id","mediaUrl","name"]},"EmoticonsGetResponse":{"type":"object","properties":{"bundleId":{"type":"string","description":"묶음 id"},"bundleName":{"type":"string","description":"묶음 이름"},"bundleMediaUrl":{"type":"string","description":"묶음 이미지"},"emoticons":{"type":"array","description":"묶음 이모티콘","items":{"$ref":"#/components/schemas/EmoticonInfo"}}},"required":["bundleId","bundleMediaUrl","bundleName","emoticons"]},"ApiResponse채널 Id 조회 Response":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/채널 id 조회 response"}}},"채널 id 조회 response":{"type":"object","description":"GET /app/chat-rooms?stockCode=? response","properties":{"channelId":{"type":"string","description":"채널 id","example":"234WFewrf42dfwe"}},"required":["channelId"]},"ApiResponse특정 채팅방 최신 채팅 3개 조회 Response":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/특정 채팅방 최신 채팅 3개 조회 response"}}},"LatestChatResponse":{"type":"object","properties":{"senderName":{"type":"string"},"profileImageUrl":{"type":"string"},"message":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}},"특정 채팅방 최신 채팅 3개 조회 response":{"type":"object","description":"종목코드 또는 채널 ID로 조회한 최신 채팅 response","properties":{"latestChats":{"type":"array","description":"최신 채팅 3개","items":{"$ref":"#/components/schemas/LatestChatResponse"}}},"required":["latestChats"]},"ApiResponse특정 채팅방 마지막 채팅 조회 Response":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/특정 채팅방 마지막 채팅 조회 response"}}},"LastMessageResponse":{"type":"object","properties":{"name":{"type":"string"},"message":{"type":"string"}}},"특정 채팅방 마지막 채팅 조회 response":{"type":"object","description":"GET /chat-rooms/{roomCode}/chats/last response","properties":{"channelId":{"type":"string","description":"채널 id","example":"234WFewrf42dfwe"},"channelName":{"type":"string","description":"채널 이름","example":"삼성전자"},"channelCode":{"type":"string","description":"채널 코드","example":234113},"lastMessage":{"$ref":"#/components/schemas/LastMessageResponse","description":"마지막 채팅","example":"{name : 김키움, message : 테스트}"}},"required":["channelCode","channelId","channelName","lastMessage"]},"ApiResponse[앱] 채팅방별 참여자 수 조회 Response":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/[앱] 채팅방별 참여자 수 조회 response"}}},"[앱] 채팅방별 참여자 수 조회 response":{"type":"object","properties":{"participantsCount":{"type":"integer","format":"int32","description":"참여자 수"}},"required":["participantsCount"]},"ApiResponse채널 정보 조회 Response":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/채널 정보 조회 response"}}},"BannersGetResponse":{"type":"object","properties":{"code":{"type":"string","description":"배너 코드"},"startedAt":{"type":"string","format":"date-time","description":"배너 시작일"},"endedAt":{"type":"string","format":"date-time","description":"배너 종료일"}},"required":["code","endedAt","startedAt"]},"채널 정보 조회 response":{"type":"object","description":"GET /app/chat-rooms/{channelId} response","properties":{"channelId":{"type":"string","description":"채널 id","example":"234WFewrf42dfwe"},"channelName":{"type":"string","description":"채널 이름","example":"국내주식"},"channelImageUrl":{"type":"string","description":"종목 이미지","example":"https://picsum.photos/600/400"},"bannerList":{"type":"array","description":"배너 목록","items":{"$ref":"#/components/schemas/BannersGetResponse"}}},"required":["bannerList","channelId","channelName"]},"ApiResponse특정 채팅방 전체 투표 수 조회 Response":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/특정 채팅방 전체 투표 수 조회 response"}}},"TotalVotesByChannel":{"type":"object","properties":{"channelName":{"type":"string","description":"채널명","example":"삼성전"},"channelImageUrl":{"type":"string","description":"종목 이미지","example":"https://picsum.photos/600/400"},"increaseCount":{"type":"integer","format":"int64","description":"상승 투표 수","example":25},"decreaseCount":{"type":"integer","format":"int64","description":"감소 투표 수","example":75}},"required":["channelImageUrl","channelName","decreaseCount","increaseCount"]},"특정 채팅방 전체 투표 수 조회 response":{"type":"object","description":"GET /app/chat-rooms/{channelId}/vote response","properties":{"isVoted":{"type":"boolean","description":"자신 투표 여부","example":true},"direction":{"type":"string","description":"종목 상승 하락 여부","enum":["UP","DOWN"],"example":"UP"},"channelVotes":{"$ref":"#/components/schemas/TotalVotesByChannel","description":"투표에 대한 채널 메타 데이터"}},"required":["channelVotes","isVoted"]},"ApiResponseAppVoteRateResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AppVoteRateResponse"}}},"AppVoteRateInfo":{"type":"object","properties":{"channelId":{"type":"string"},"channelName":{"type":"string"},"channelCode":{"type":"string"},"channelImageUrl":{"type":"string"},"percentage":{"type":"number","format":"double"},"natnTp":{"type":"string"}}},"AppVoteRateResponse":{"type":"object","properties":{"isToday":{"type":"boolean"},"ranks":{"type":"array","items":{"$ref":"#/components/schemas/AppVoteRateInfo"}}}},"ApiResponseListRecentChatsByStockCodeResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RecentChatsByStockCodeResponse"}}}},"RecentChatsByStockCodeResponse":{"type":"object","properties":{"channelCode":{"type":"string","description":"종목 코드","example":"KR-005930"},"latestChats":{"type":"array","description":"최신순으로 정렬된 최근 채팅 최대 3개. 채팅이 없으면 빈 배열","items":{"$ref":"#/components/schemas/LatestChatResponse"}}}},"ApiResponseAppChatRoomStatusResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AppChatRoomStatusResponse"}}},"AppChatRoomStatusResponse":{"type":"object","properties":{"accessible":{"type":"boolean"}}},"AdminChatRoomResponse":{"type":"object","properties":{"channelId":{"type":"string","description":"채널 id","example":"234WFewrf42dfwe"},"channelName":{"type":"string","description":"채널 이름","example":"국내주식"},"participantsCount":{"type":"integer","format":"int32","description":"참여자 수","example":3234},"messages":{"type":"array","description":"최근 메시지 목록","items":{"$ref":"#/components/schemas/ChatMessageResponse"}}},"required":["channelId","channelName","messages","participantsCount"]},"ApiResponse[앱] 프로필 포함 어드민,종목 채팅방 조회 Response":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/[앱] 프로필 포함 어드민,종목 채팅방 조회 response"}}},"ChatMessageResponse":{"type":"object","properties":{"message":{"type":"string"},"senderName":{"type":"string"},"profileImageUrl":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"StockChatRoomResponse":{"type":"object","properties":{"channelId":{"type":"string"},"channelName":{"type":"string"},"channelCode":{"type":"string"},"participantsCount":{"type":"integer","format":"int32"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessageResponse"}}}},"[앱] 프로필 포함 어드민,종목 채팅방 조회 response":{"type":"object","description":"GET /app/chat-rooms/featured/feed, /app/chat-rooms/recent response","properties":{"adminChatRoomResponse":{"$ref":"#/components/schemas/AdminChatRoomResponse","description":"어드민 채팅방 정보"},"stockChatRoomResponses":{"type":"array","description":"종목 채팅방 정보","items":{"$ref":"#/components/schemas/StockChatRoomResponse"}}},"required":["adminChatRoomResponse","stockChatRoomResponses"]},"ApiResponseList[앱] 인기있는 채팅방 조회 Response":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/[앱] 인기있는 채팅방 조회 response"}}}},"AppChatMessage":{"type":"object","properties":{"message":{"type":"string"},"senderName":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"[앱] 인기있는 채팅방 조회 response":{"type":"object","description":"GET /chat-rooms/popular response","properties":{"channelId":{"type":"string"},"channelName":{"type":"string"},"channelCode":{"type":"string"},"participantsCount":{"type":"integer","format":"int32"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/AppChatMessage"}}}},"ApiResponseList[웹뷰] 인기있는 채팅방 TOP N 조회 Response":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/[웹뷰] 인기있는 채팅방 TOP N 조회 response"}}}},"[웹뷰] 인기있는 채팅방 TOP N 조회 response":{"type":"object","description":"GET /app/chat-rooms/popular/top response","properties":{"channelId":{"type":"string","description":"채널 id","example":"23424d1w"},"channelName":{"type":"string","description":"채널 명","example":"삼성전자"},"stkCode":{"type":"string","description":"종목 코드","example":"243d21"},"mrktTp":{"type":"string","description":"거래소코드","example":"f"},"natnTp":{"type":"string","description":"국가코드","example":"US"}},"required":["channelId","channelName","mrktTp","natnTp","stkCode"]},"ApiResponse[앱] 어드민 포함 종목 채팅방 조회 Response":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/[앱] 어드민 포함 종목 채팅방 조회 response"}}},"[앱] 어드민 채팅방 response":{"type":"object","properties":{"channelId":{"type":"string","description":"채널 id","example":"234WFewrf42dfwe"},"channelName":{"type":"string","description":"채널 이름","example":"국내주식"},"participantsCount":{"type":"integer","format":"int32","description":"참여자 수","example":3234},"messages":{"type":"array","description":"최근 메세지 목록","items":{"$ref":"#/components/schemas/AppChatMessage"}}},"required":["channelId","channelName","messages","participantsCount"]},"[앱] 어드민 포함 종목 채팅방 조회 response":{"type":"object","description":"GET /app/chat-rooms/featured response","properties":{"adminChatRoomResponse":{"$ref":"#/components/schemas/[앱] 어드민 채팅방 response","description":"어드민 채팅방 정보"},"stockChatRoomResponses":{"type":"array","description":"종목 채팅방 정보","items":{"$ref":"#/components/schemas/[앱] 인기있는 채팅방 조회 response"}}},"required":["adminChatRoomResponse","stockChatRoomResponses"]},"ApiResponseAdminChatRoomResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/AdminChatRoomResponse"}}},"ApiResponseCursorPagination채팅방 오토컴플리트 조회 Response":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/CursorPagination채팅방 오토컴플리트 조회 Response"}}},"CursorPagination채팅방 오토컴플리트 조회 Response":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/채팅방 오토컴플리트 조회 response"}},"nextCursor":{"type":"string"},"hasNext":{"type":"boolean"}}},"채팅방 오토컴플리트 조회 response":{"type":"object","description":"GET /app/chat-rooms/auto-complete response","properties":{"id":{"type":"string","description":"채팅방 id","example":2342},"channelId":{"type":"string","description":"채팅방 room id","example":"23de1223"},"stockName":{"type":"string","description":"종목명","example":"삼성전자"},"stkCode":{"type":"string","description":"종목코드","example":543223},"mrktTp":{"type":"string","description":"거래소코드","example":"f"},"natnTp":{"type":"string","description":"국가코드","example":"US"},"imageUrl":{"type":"string","description":"채널 이미지 url","example":"http://test.jpg"}},"required":["channelId","id","imageUrl","mrktTp","natnTp","stkCode","stockName"]},"ApiResponseList[앱] 어드민 채팅 종목 리스트 Response":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/[앱] 어드민 채팅 종목 리스트 response"}}}},"[앱] 어드민 채팅 종목 리스트 response":{"type":"object","description":"GET /app/chat-rooms/admin response","properties":{"channelId":{"type":"string","description":"채널 id","example":"234WFewrf42dfwe"},"channelName":{"type":"string","description":"채널 이름","example":"국내주식"},"memberCount":{"type":"integer","format":"int32","description":"참여자 수","example":3234}},"required":["channelId","channelName","memberCount"]},"ApiResponse[앱] 시장별 참여자가 가장 많은 채팅방 Response":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string"},"data":{"$ref":"#/components/schemas/[앱] 시장별 참여자가 가장 많은 채팅방 response"}}},"PopularChatRoom":{"type":"object","properties":{"stockCode":{"type":"string","description":"종목 코드","example":"KR-005930"},"participantsCount":{"type":"integer","format":"int32","description":"채팅방 참여자 수","example":120}},"required":["participantsCount","stockCode"]},"[앱] 시장별 참여자가 가장 많은 채팅방 response":{"type":"object","properties":{"domestic":{"$ref":"#/components/schemas/PopularChatRoom","description":"국내 인기 채팅방"},"us":{"$ref":"#/components/schemas/PopularChatRoom","description":"미국 인기 채팅방"},"foreign":{"$ref":"#/components/schemas/PopularChatRoom","description":"해외 인기 채팅방"}}}},"securitySchemes":{"Session":{"type":"apiKey","name":"X-Auth-Token","in":"header"}}}}