본문으로 건너뛰기
버전: 1.2.0-1.3.0

기본 기능 - 서버

서버 기능을 이용하면 API 서버의 상태를 확인할 수 있습니다.

연결 정보

개발 환경DOSI SDK base URI
운영 환경https://sdk-api.dosi.world

서버 시각 조회

API 서버 시각을 조회합니다.

GET {DOSI SDK base URI}/v1/time

Path

None

Query

None

Body

None

Headers
  • Authorization: Basic <'DOSI 채널 ID:시크릿'을 Base64로 인코딩한 값>
  • Content-Type: application/json

Request examples

curl --location --request GET 'https://sdk-api.dosi.world/v1/time' \
--header 'Authorization: Basic xxxxxxxx' \
--header 'Content-Type: application/json'

서버 상태 조회

DOSI SDK 서버의 상태를 조회합니다.

이 엔드포인트는 응답 데이터를 제공하지 않습니다. HTTP status code로 서버 상태를 확인하세요.

GET {DOSI SDK base URI}/v1/monitor/health

Path

None

Query

None

Body

None

Headers
  • Authorization: Basic <'DOSI 채널 ID:시크릿'을 Base64로 인코딩한 값>
  • Content-Type: application/json

Request examples

curl --location --request GET 'https://sdk-api.dosi.world/v1/monitor/health' \
--header 'Authorization: Basic xxxxxxxx' \
--header 'Content-Type: application/json'