{"openapi":"3.1.0","info":{"title":"Somi Tools API","description":"방주 구축에 도움이 되는 기능들을 제공합니다.","version":"0.9.0"},"paths":{"/base64/encode/{input_str}":{"get":{"tags":["BASE64"],"summary":"Encode Base64","description":"BASE64로 인코딩.","operationId":"encode_base64_base64_encode__input_str__get","parameters":[{"name":"input_str","in":"path","required":true,"schema":{"type":"string","description":"인코딩할 텍스트","title":"Input Str"},"description":"인코딩할 텍스트"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Base64Result"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/base64/decode/{input_str}":{"get":{"tags":["BASE64"],"summary":"Decode Base64","description":"BASE64를 디코딩.","operationId":"decode_base64_base64_decode__input_str__get","parameters":[{"name":"input_str","in":"path","required":true,"schema":{"type":"string","description":"디코딩할 BASE64 문자열","title":"Input Str"},"description":"디코딩할 BASE64 문자열"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Base64Result"}}}},"400":{"description":"올바른 Base64·UTF-8이 아님","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/naming/product/{product_code}":{"get":{"tags":["Naming"],"summary":"Get Product Summary","description":"상품 코드나 사이트 주소로 상품 이름, 제작사 가져오기.","operationId":"get_product_summary_naming_product__product_code__get","parameters":[{"name":"product_code","in":"path","required":true,"schema":{"type":"string","description":"상품코드(RJ/VJ/BJ, RG, d_, ST, RA/RC, GC) 또는 상품 페이지 주소","examples":["RJ01766259"],"title":"Product Code"},"description":"상품코드(RJ/VJ/BJ, RG, d_, ST, RA/RC, GC) 또는 상품 페이지 주소"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductSummary"}}}},"400":{"description":"지원하지 않는 플랫폼이거나 사이트가 거절한 코드","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"등록되지 않은 상품·서클","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"사이트 응답 오류·해석 실패 (DMM은 일본 외 IP 포함)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"사이트 점검·서버 장애·요청 한도 초과","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"사이트 응답 시간 초과","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dlsite/circle/{circle_id}":{"get":{"tags":["DLsite"],"summary":"Get Dlsite Circle Info","description":"DLsite에서 서클 id로 서클 정보 가져오기.","operationId":"get_dlsite_circle_info_dlsite_circle__circle_id__get","parameters":[{"name":"circle_id","in":"path","required":true,"schema":{"type":"string","description":"DLsite 서클 id","examples":["RG71725"],"title":"Circle Id"},"description":"DLsite 서클 id"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CircleSummary"}}}},"404":{"description":"등록되지 않은 상품·서클","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"사이트 응답 오류·해석 실패 (DMM은 일본 외 IP 포함)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"사이트 점검·서버 장애·요청 한도 초과","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"사이트 응답 시간 초과","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dlsite/product/{product_code}":{"get":{"tags":["DLsite"],"summary":"Get Dlsite Product Info","description":"DLsite에서 상품 코드로 상품 정보 가져오기.","operationId":"get_dlsite_product_info_dlsite_product__product_code__get","parameters":[{"name":"product_code","in":"path","required":true,"schema":{"type":"string","pattern":"^[RrVvBb][Jj](\\d{6}|\\d{8})$","description":"RJ/VJ/BJ + 숫자 6자리 또는 8자리 (대소문자 무관)","examples":["RJ01766259"],"title":"Product Code"},"description":"RJ/VJ/BJ + 숫자 6자리 또는 8자리 (대소문자 무관)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DLsiteProductDetails"}}}},"404":{"description":"등록되지 않은 상품·서클","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"사이트 응답 오류·해석 실패 (DMM은 일본 외 IP 포함)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"사이트 점검·서버 장애·요청 한도 초과","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"사이트 응답 시간 초과","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dmm/product/{product_code}":{"get":{"tags":["DMM"],"summary":"Get Dmm Product Info","description":"DMM에서 상품 코드로 상품 정보 가져오기.","operationId":"get_dmm_product_info_dmm_product__product_code__get","parameters":[{"name":"product_code","in":"path","required":true,"schema":{"type":"string","pattern":"^[dD]_\\d+$","description":"d_ + 숫자 (대소문자 무관)","examples":["d_380554"],"title":"Product Code"},"description":"d_ + 숫자 (대소문자 무관)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DMMProductDetails"}}}},"404":{"description":"등록되지 않은 상품·서클","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"사이트 응답 오류·해석 실패 (DMM은 일본 외 IP 포함)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"사이트 점검·서버 장애·요청 한도 초과","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"사이트 응답 시간 초과","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/steam/product/{product_code}":{"get":{"tags":["Steam"],"summary":"Get Steam Product Info","description":"Steam에서 상품 코드로 상품 정보 가져오기.","operationId":"get_steam_product_info_steam_product__product_code__get","parameters":[{"name":"product_code","in":"path","required":true,"schema":{"type":"string","pattern":"^([Ss][Tt])?\\d+$","description":"ST + Steam 앱 id 또는 앱 id만 (ST는 대소문자 무관)","examples":["ST3718190","3718190"],"title":"Product Code"},"description":"ST + Steam 앱 id 또는 앱 id만 (ST는 대소문자 무관)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SteamProductDetails"}}}},"404":{"description":"등록되지 않은 상품·서클","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"사이트 응답 오류·해석 실패 (DMM은 일본 외 IP 포함)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"사이트 점검·서버 장애·요청 한도 초과","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"사이트 응답 시간 초과","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/steam/region-locked":{"get":{"tags":["Steam"],"summary":"Get Steam Region Locked","description":"한국 Steam 스토어에 노출되지 않는 게임 목록.\n\n서버가 백그라운드에서 하루마다 갱신한다 (checked_at이 수집 시각).","operationId":"get_steam_region_locked_steam_region_locked_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SteamRegionLockList"}}}},"503":{"description":"첫 수집이 끝나지 않음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"schemas":{"Base64Result":{"properties":{"result":{"type":"string","title":"Result"}},"type":"object","required":["result"],"title":"Base64Result"},"CircleSummary":{"properties":{"circle_name":{"type":"string","title":"Circle Name"},"product_name":{"type":"string","title":"Product Name"},"product_url":{"type":"string","title":"Product Url"}},"type":"object","required":["circle_name","product_name","product_url"],"title":"CircleSummary"},"DLsiteProductDetails":{"properties":{"product_id":{"type":"string","title":"Product Id"},"product_url":{"type":"string","title":"Product Url"},"work_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Work Name"},"circle_name":{"type":"string","title":"Circle Name"},"circle_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Circle Url"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"},"rate_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rate Count"},"genres":{"items":{"type":"string"},"type":"array","title":"Genres"},"options":{"items":{"type":"string"},"type":"array","title":"Options"},"languages":{"items":{"type":"string"},"type":"array","title":"Languages"},"images":{"items":{"type":"string"},"type":"array","title":"Images"},"work_type_string":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Work Type String"}},"type":"object","required":["product_id","product_url","work_name","circle_name","circle_url","rate","rate_count","genres","options","languages","images","work_type_string"],"title":"DLsiteProductDetails"},"DMMGenre":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"DMMGenre"},"DMMProductDetails":{"properties":{"cid":{"type":"string","title":"Cid"},"product_url":{"type":"string","title":"Product Url"},"product_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Name"},"circle_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Circle Name"},"circle_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Circle Url"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"},"rate_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rate Count"},"genres":{"items":{"$ref":"#/components/schemas/DMMGenre"},"type":"array","title":"Genres"},"images":{"items":{"type":"string"},"type":"array","title":"Images"},"work_type_string":{"anyOf":[{"$ref":"#/components/schemas/DMMWorkFormat"},{"type":"null"}]}},"type":"object","required":["cid","product_url","product_name","circle_name","circle_url","rate","rate_count","genres","images","work_type_string"],"title":"DMMProductDetails"},"DMMWorkFormat":{"properties":{"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"name":{"type":"string","title":"Name"}},"type":"object","required":["code","name"],"title":"DMMWorkFormat"},"ErrorResponse":{"properties":{"detail":{"type":"string","title":"Detail"}},"type":"object","required":["detail"],"title":"ErrorResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ProductSummary":{"properties":{"code":{"type":"string","title":"Code"},"circle_name":{"type":"string","title":"Circle Name"},"product_name":{"type":"string","title":"Product Name"},"product_url":{"type":"string","title":"Product Url"}},"type":"object","required":["code","circle_name","product_name","product_url"],"title":"ProductSummary"},"SteamProductDetails":{"properties":{"app_id":{"type":"string","title":"App Id"},"product_url":{"type":"string","title":"Product Url"},"product_name":{"type":"string","title":"Product Name"},"circle_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Circle Name"},"publishers":{"items":{"type":"string"},"type":"array","title":"Publishers"},"release_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Release Date"},"coming_soon":{"type":"boolean","title":"Coming Soon"},"region_locked":{"type":"boolean","title":"Region Locked"},"reviews_recent":{"anyOf":[{"$ref":"#/components/schemas/SteamReviewSummary"},{"type":"null"}]},"reviews_all":{"anyOf":[{"$ref":"#/components/schemas/SteamReviewSummary"},{"type":"null"}]},"genres":{"items":{"type":"string"},"type":"array","title":"Genres"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories"},"languages":{"items":{"type":"string"},"type":"array","title":"Languages"},"voice_languages":{"items":{"type":"string"},"type":"array","title":"Voice Languages"},"images":{"items":{"type":"string"},"type":"array","title":"Images"}},"type":"object","required":["app_id","product_url","product_name","circle_name","publishers","release_date","coming_soon","region_locked","reviews_recent","reviews_all","genres","categories","languages","voice_languages","images"],"title":"SteamProductDetails"},"SteamRegionLockList":{"properties":{"country":{"type":"string","title":"Country"},"compare":{"items":{"type":"string"},"type":"array","title":"Compare"},"types":{"items":{"type":"string"},"type":"array","title":"Types"},"checked_at":{"type":"string","format":"date-time","title":"Checked At"},"apps":{"items":{"$ref":"#/components/schemas/SteamRegionLockedApp"},"type":"array","title":"Apps"}},"type":"object","required":["country","compare","types","checked_at","apps"],"title":"SteamRegionLockList"},"SteamRegionLockedApp":{"properties":{"appid":{"type":"integer","title":"Appid"},"name":{"type":"string","title":"Name"},"circle_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Circle Name"},"thumbnail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail"}},"type":"object","required":["appid","name"],"title":"SteamRegionLockedApp"},"SteamReviewSummary":{"properties":{"label":{"type":"string","title":"Label"},"percent_positive":{"type":"integer","title":"Percent Positive"},"review_count":{"type":"integer","title":"Review Count"}},"type":"object","required":["label","percent_positive","review_count"],"title":"SteamReviewSummary"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}},"tags":[{"name":"BASE64","description":"BASE64 도구들."},{"name":"Naming","description":"방주 구축시 파일 이름 규격화를 위한 도구들."},{"name":"DLsite","description":"DLsite 관련 도구들."},{"name":"DMM","description":"DMM(FANZA) 관련 도구들."},{"name":"Steam","description":"Steam 관련 도구들."}]}