Skip to main content
Version: 1.2.0-1.3.0

Basics - Server

Using the server feature, you can check the status of the API server.

Connection info

Development environmentDOSI SDK base URI
Productionhttps://sdk-api.dosi.world

Get server time

Gets the API server time.

GET {DOSI SDK base URI}/v1/time

Path

None

Query

None

Body

None

Headers
  • Authorization: Basic <Base64-encoded 'DOSI channel ID:secret'>
  • 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'

Check server health

Checks DOSI SDK server health.

This endpoint doesn't provide response data. Check server health with the HTTP status code.

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

Path

None

Query

None

Body

None

Headers
  • Authorization: Basic <Base64-encoded 'DOSI channel ID:secret'>
  • 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'