Digital Item Connect overview
Digital Item Connect is an API that enables users who have integrated their DOSI account to trade products of a partner service in the DOSI Brand Store. The Digital Item Connect API supports basic features, digital item feature and C2C item feature.
Connection info
Development environment | DOSI SDK base URI |
---|---|
Production | https://sdk-api.dosi.world |
Response model
Digital Item Connect uses HTTP status codes and API response codes to inform the request results.
Error messages
More detailed error messages for each HTTP status code are returned in the response body in the following format.
{
"responseCode": "<code>",
"errorMessage": "<message>"
}
Refer to the table below for details of responseCode
.
errorMessage
is included in the API result.
HTTP status code | API response code | Description |
---|---|---|
400 | BAD_REQUEST | Invalid value or invalid asset or user in the request |
401 | NO_AUTHORITY | Invalid contract ID. The given DOSI channel can't access the provided contract ID. |
404 | NOT_FOUND_RESOURCE | No resource found |
412 | FAILED_PRECONDITION | Requested asset or user in an invalid status to perform the request |
415 | UNSUPPORTED_MEDIA_TYPE | Invalid media type. Refer to the media file upload guidelines |
500 | INTERNAL_SERVER_ERROR | Unknown error |
503 | SERVICE_UNAVAILABLE | Temporarily out of service |
503 | MAINTENANCE | Requests can't be handled during maintenance. |