Basics - Server
Using the server feature, you can check the status of the API server.
Connection info
Development environment | DOSI SDK base URI |
---|---|
Production | https://sdk-api.dosi.world |
Get server time
Gets the API server time.
GET {DOSI SDK base URI}/v1/time
Request
Response
Path
None
Query
None
Body
None
Headers
- Authorization: Basic <Base64-encoded 'DOSI channel ID:secret'>
- Content-Type: application/json
Request examples
curl
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
Request
Response
Path
None
Query
None
Body
None
Headers
- Authorization: Basic <Base64-encoded 'DOSI channel ID:secret'>
- Content-Type: application/json
Request examples
curl
curl --location --request GET 'https://sdk-api.dosi.world/v1/monitor/health' \
--header 'Authorization: Basic xxxxxxxx' \
--header 'Content-Type: application/json'