📘API Reference
Returns a website containing an image from the metamarket
GET
https://business.dglive.org/api/tokenImage/Token ID/NFT Addr
Simply input the token ID and NFT Address of the NFT in the query params to get as a response the image that represents that token.
Query Parameters
Returns the requested image URL from the metamarket in json format
GET
https://business.dglive.org/api/getSlotImageURL/Token ID/NFT Addr
curl https://business.dglive.org/api/getSlotImageURL/15/0x06bbacfa34951cc5f0f349d7769a24c02373ccfd -H "Accept: application/json"
Query Parameters
{"url":"https://ipfs.io/ipfs/QmZfyEpJtVV3EGCUQEv4j8GafwB3ZEjw7CahjJcZTgpVe6"}
getAllMarketSlots
GET
https://business.dglive.org/api/getAllMarketSlots/User ID/Slot ID
Returns the slots from the specified user and specified scenes
Query Parameters
[{"id":"1","id_user":"1","id_zone":"1","name":"Example","status":"1","pos_x":"1","pos_y":"1","pos_z":"1","size_x":"1","size_y":"1","size_z":"1","rot_x":"1","rot_y":"1","rot_z":"1","token_id":"10","price":100,"resource_id":"99","wallet":"0xfollowWallet","address":"0xnftAddress"}]
GET
https://business.dglive.org/api/getSlotsByZone/Scene ID
curl https://business.dglive.org/api/getSlotsByZone/1 -H "Accept: application/json"
Query Parameters
[{"id":"1","id_user":"1","id_zone":"1","name":"Example","status":"1","pos_x":"1","pos_y":"1","pos_z":"1","size_x":"1","size_y":"1","size_z":"1","rot_x":"1","rot_y":"1","rot_z":"1","token_id":"10","price":100,"resource_id":"99","wallet":"0xfollowWallet","address":"0xnftAddress"}]
updateSlot
POST
https://business.dglive.org/api/updateSlot/Slot ID/API KEY
Updates the specified slot with the specified parameters.
Query Parameters
Request Body
{}
deleteSlot
GET
https://business.dglive.org/api/deleteSlot/Slot ID
Deletes the specified slot (This only works if you are logged into the DG Business platform, no api key access is allowed yet).
Query Parameters
{}
Last updated