User Account Connect (Secondary features)
The User Account Connect API supports secondary features. The secondary features use the connection and response model explained under User Account Connect.
Connection info
Development environment | API base URI |
---|---|
Production | https://api.dosi.world |
Get digital item list with access token
Gets the list of digital items in the user's DOSI account using the access token.
This endpoint gets the digital item list with the access token that the user got issued after logging into DOSI. Use Digital Item Connect's Get digital item list if you don't have an access token.
Path
None
Query
Name | Type | Description | Required |
---|---|---|---|
chainName | string | Chain to use. Don't change the value from "realnet". | |
sortOrder | string | Sorting order. Choose one of the following:
| |
pageSize | number | Number of digital items per page. Must be greater than 0 and less or equal to 100. | |
pageToken | string | Token for the start of the page. If this value is given, it will fetch digital items on the next page from this token. Starts from the first page if not provided.
How to use
| |
contractId | string | Contract ID to filter. Gets digital items with this contract ID only. | |
tokenType | string | Type to filter. Gets digital items with this type only. |
Body
None
- Authorization: Bearer <access token>
- Content-Type: application/json
Request examples
curl -v -X GET "https://api.dosi.world/api/v2/member/items/balance?chainName=realnet&sortOrder=CONTRACT_ID_ASC_TOKEN_TYPE_ASC_TOKEN_INDEX_ASC&pageSize=50" \
--header 'Authorization: Bearer <access token>' \
--header 'Content-Type: application/json'