> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/api/store-front-api/common-api/undefined-2.md).

# 하이브리드 앱

## 버전 체크

> \## 기능설명\
> \* 업데이트해야 할 버전을 조회합니다.\
> \---\
> \## 상세설명\
> \* appVersion, osType, 쿠키 값의 siteNo 기준으로 조회합니다.\
> \* 사용여부가 Y인 코드들만 조회합니다.\
> \* 최신 업데이트 일시로 단건만 조회합니다.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE Common API","version":"v1"},"servers":[{"url":"https://api-common.x2bee.com/api/common/","description":"prd"}],"paths":{"/v1/app/version":{"post":{"tags":["하이브리드 앱"],"summary":"버전 체크","description":"## 기능설명\n* 업데이트해야 할 버전을 조회합니다.\n---\n## 상세설명\n* appVersion, osType, 쿠키 값의 siteNo 기준으로 조회합니다.\n* 사용여부가 Y인 코드들만 조회합니다.\n* 최신 업데이트 일시로 단건만 조회합니다.\n","operationId":"getVersionInfo","parameters":[{"name":"Authorization","in":"header","description":"Access Token","required":false}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppVerReq"}}},"required":true},"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAppVerRes"}}}},"900":{"description":"업무처리 오류 내용","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}},"components":{"schemas":{"AppVerReq":{"type":"object","description":"버전 체크 API Request","properties":{"siteDom":{"type":"string","description":"사이트 도메인"},"appVersion":{"type":"string","description":"현재 실행되고 있는 앱의 버전"},"osType":{"type":"string","description":"OS 타입 I:iOS A:AOS"},"osVersion":{"type":"string","description":"단말기에 설치된 OS의 버전 정보"},"deviceName":{"type":"string","description":"단말기 디바이스 이름"}},"required":["appVersion","osType","siteDom"]},"ResponseAppVerRes":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"$ref":"#/components/schemas/AppVerRes","description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"AppVerRes":{"type":"object","description":"버전 체크 API Response","properties":{"versionInfo":{"$ref":"#/components/schemas/VersionInfo","description":"버전 정보"},"splashInfo":{"$ref":"#/components/schemas/SplashInfo","description":"스플래시 정보"}}},"VersionInfo":{"type":"object","description":"앱버전 정보 Entity","properties":{"updateType":{"type":"string","description":"업데이트타입코드(CM032) N:일반업데이트 F:강제업데이트"},"storeUrl":{"type":"string","description":"스토어 마켓 URL"}}},"SplashInfo":{"type":"object","description":"앱 스플래시 Entity","properties":{"imgUrl":{"type":"string","description":"스플래시 이미지 URL"}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}},"Response":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}}}}}
```
