Skip to content

URL 애플리케이션 버전 정보

API 설명: 클라이언트의 버전 번호를 기반으로 해당 버전의 세부 정보를 가져옵니다

📮요청 정보

요청 URL

POST https://api.upgrade.toolsetlink.com/v1/url/version

요청 헤더

매개변수 이름필수타입예시설명
X-Timestampstring2025-02-17T10:34:55+08:00RFC3339 형식의 요청 시간
X-Noncestringfc812cc0b9b51e8c고유한 랜덤 문자열 (최소 16자)
X-AccessKeystringmui2W50H1j-OC4xD6PgQag비밀 키 - AccessKey
X-Signaturestring3603437250c2df51fc46426ac79d8995요청 서명 서명 규칙
Content-Typestringapplication/json

🔐 재생 공격 방지 메커니즘

  1. 서버는 서버 시간과의 타임스탬프 차이가 ±5분을 초과하지 않는지 확인합니다
  2. 서버는 Nonce 값이 이미 존재하는지 확인합니다 (중복 요청 방지)

요청 본문

json
{
  "urlKey": "LOYlLXNy7wV3ySuh0XgtSg",
  "versionCode": 1
}

요청 본문 매개변수 설명

매개변수 이름필수타입예시설명
urlKeystringLOYlLXNy7wV3ySuh0XgtSgURL 애플리케이션의 고유 식별자
versionCodeint1클라이언트 버전 코드

📮응답 정보

성공 응답 본문

json
{
  "code": 200,
  "msg": "Version details found",
  "data": {
    "urlKey": "LOYlLXNy7wV3ySuh0XgtSg",
    "versionName": "v2",
    "versionCode": 2,
    "description": "Version description"
  }
}

응답 본문 매개변수 설명

매개변수 이름타입예시설명
urlKeystringLOYlLXNy7wV3ySuh0XgtSgURL 애플리케이션의 고유 식별자
versionNamestringv1버전 이름
versionCodeint1버전 코드
descriptionstringVersion description버전 설명 내용

일반적인 오류 응답 본문

json
{
  "code": 404001,
  "msg": "No available version found",
  "docs": "No corresponding application version found. Please confirm if it has been correctly created in the system. Please refer to the documentation: https://upgrade.toolsetlink.com/en/upgrade/recommend/apk/app-version.html",
  "data": null
}

📊상태 코드

HTTP 상태 코드code시나리오 설명해결 방법
200200요청 성공
400400001잘못된 요청
400400002매개변수 누락
400400003잘못된 매개변수
400400004잘못된 헤더
400400005잘못된 요청 본문
401401001인증 실패
401401002서명 확인 실패
404404001리소스 찾을 수 없음
404404002레코드 찾을 수 없음
404404003처리 방법 찾을 수 없음
404404004요청 찾을 수 없음
500500001내부 서버 오류문의해 주세요 연락처
500500002내부 서버 데이터 유효성 검사 실패문의해 주세요 연락처

toolsetlink@163.com