{"openapi":"3.1.0","info":{"title":"Image Processing API","description":"이미지 압축 및 처리 API","version":"1.0.0"},"paths":{"/image/":{"get":{"tags":["Image Processing"],"summary":"Index","operationId":"index_image__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/image/process":{"post":{"tags":["Image Processing"],"summary":"Process","operationId":"process_image_process_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_process_image_process_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/2set/":{"get":{"tags":["2-Set Image Processing"],"summary":"Index","operationId":"index_2set__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/2set/process":{"post":{"tags":["2-Set Image Processing"],"summary":"Process","operationId":"process_2set_process_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_process_2set_process_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/web_gift/":{"get":{"tags":["Web Gift Processing"],"summary":"Index","operationId":"index_web_gift__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/web_gift/process":{"post":{"tags":["Web Gift Processing"],"summary":"Process","operationId":"process_web_gift_process_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_process_web_gift_process_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/web_watermark/":{"get":{"tags":["Web Watermark Processing"],"summary":"Index","operationId":"index_web_watermark__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/web_watermark/process":{"post":{"tags":["Web Watermark Processing"],"summary":"Process","operationId":"process_web_watermark_process_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_process_web_watermark_process_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gift":{"post":{"tags":["Gift Icon Processing"],"summary":"Overlay Gift Icon","description":"이미지에 선물 아이콘을 우측 하단에 합성합니다.\n\nArgs:\n    image_path: 처리할 이미지의 파일 경로\n    \nReturns:\n    새로 생성된 이미지 파일 경로 (원본경로_g.jpg)","operationId":"overlay_gift_icon_gift_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_overlay_gift_icon_gift_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watermark":{"post":{"tags":["Watermark Processing"],"summary":"Overlay Gift Icon","description":"이미지에 선물 아이콘을 우측 하단에 합성합니다.\n\nArgs:\n    image_path: 처리할 이미지의 파일 경로\n    \nReturns:\n    새로 생성된 이미지 파일 경로 (원본경로_w.jpg)","operationId":"overlay_gift_icon_watermark_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_overlay_gift_icon_watermark_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/smstore/":{"get":{"tags":["SM Store Processing"],"summary":"Index","description":"메인 페이지 렌더링","operationId":"index_smstore__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/smstore/process":{"post":{"tags":["SM Store Processing"],"summary":"Process","description":"SM스토어 URL 처리 엔드포인트\n\nPOST 데이터:\n    smstore_code: SM스토어 상품 URL\n\nReturns:\n    JSON 응답","operationId":"process_smstore_process_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_process_smstore_process_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/add_smstore/":{"get":{"tags":["Add SM Store Processing"],"summary":"Index","description":"메인 페이지 렌더링","operationId":"index_add_smstore__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/add_smstore/process":{"post":{"tags":["Add SM Store Processing"],"summary":"Process","description":"SM스토어 URL 처리 엔드포인트\n\nPOST 데이터:\n    smstore_code: SM스토어 상품 URL\n\nReturns:\n    JSON 응답 또는 리다이렉트","operationId":"process_add_smstore_process_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_process_add_smstore_process_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/events/apply":{"post":{"tags":["Event Processing"],"summary":"Save Event Application","description":"이벤트 응모 정보를 DB에 저장합니다. (유효성 검증 해제됨)","operationId":"save_event_application_v1_events_apply_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventApplyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/berriz/":{"get":{"tags":["Berriz Processing"],"summary":"Index","operationId":"index_berriz__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/berriz/process":{"post":{"tags":["Berriz Processing"],"summary":"Process","operationId":"process_berriz_process_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_process_berriz_process_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/appfans/":{"get":{"tags":["AppFans Processing"],"summary":"Index","operationId":"index_appfans__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/appfans/process":{"post":{"tags":["AppFans Processing"],"summary":"Process","operationId":"process_appfans_process_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_process_appfans_process_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rakuten/":{"get":{"tags":["Rakuten Processing"],"summary":"Index","operationId":"index_rakuten__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/rakuten/process":{"post":{"tags":["Rakuten Processing"],"summary":"Process","operationId":"process_rakuten_process_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_process_rakuten_process_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cheonyu/":{"get":{"tags":["Cheonyu Processing"],"summary":"Index","operationId":"index_cheonyu__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/cheonyu/process":{"post":{"tags":["Cheonyu Processing"],"summary":"Process","operationId":"process_cheonyu_process_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_process_cheonyu_process_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Root","description":"API 루트 엔드포인트","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"Body_overlay_gift_icon_gift_post":{"properties":{"image_path":{"type":"string","title":"Image Path"}},"type":"object","required":["image_path"],"title":"Body_overlay_gift_icon_gift_post"},"Body_overlay_gift_icon_watermark_post":{"properties":{"image_path":{"type":"string","title":"Image Path"}},"type":"object","required":["image_path"],"title":"Body_overlay_gift_icon_watermark_post"},"Body_process_2set_process_post":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"File"},"set_number":{"type":"integer","title":"Set Number","default":2},"position":{"type":"string","title":"Position","default":"right_top"}},"type":"object","title":"Body_process_2set_process_post"},"Body_process_add_smstore_process_post":{"properties":{"smstore_code":{"type":"string","title":"Smstore Code"}},"type":"object","required":["smstore_code"],"title":"Body_process_add_smstore_process_post"},"Body_process_appfans_process_post":{"properties":{"product_id":{"type":"string","title":"Product Id"}},"type":"object","required":["product_id"],"title":"Body_process_appfans_process_post"},"Body_process_berriz_process_post":{"properties":{"product_id":{"type":"string","title":"Product Id"}},"type":"object","required":["product_id"],"title":"Body_process_berriz_process_post"},"Body_process_cheonyu_process_post":{"properties":{"product_id":{"type":"string","title":"Product Id"}},"type":"object","required":["product_id"],"title":"Body_process_cheonyu_process_post"},"Body_process_image_process_post":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"File"}},"type":"object","title":"Body_process_image_process_post"},"Body_process_rakuten_process_post":{"properties":{"content":{"type":"string","maxLength":50000,"title":"Content"}},"type":"object","required":["content"],"title":"Body_process_rakuten_process_post"},"Body_process_smstore_process_post":{"properties":{"smstore_code":{"type":"string","title":"Smstore Code"}},"type":"object","required":["smstore_code"],"title":"Body_process_smstore_process_post"},"Body_process_web_gift_process_post":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"File"},"position":{"type":"string","title":"Position","default":"right_top"}},"type":"object","title":"Body_process_web_gift_process_post"},"Body_process_web_watermark_process_post":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"File"},"position":{"type":"string","title":"Position","default":"right_top"}},"type":"object","title":"Body_process_web_watermark_process_post"},"EventApplyRequest":{"properties":{"userId":{"type":"string","title":"Userid"},"eventType":{"type":"string","title":"Eventtype"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastname"},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firstname"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"nationality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nationality"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"phoneCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phonecode"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"birthYear":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Birthyear"},"birthMonth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Birthmonth"},"birthDay":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Birthday"},"messengerType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Messengertype"},"messengerId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Messengerid"}},"type":"object","required":["userId","eventType"],"title":"EventApplyRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"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"}}}}