Closed dalkia closed 12 months ago
In order to be able to preview wearables/emotes from builder the WITH_ITEMS
has been implemented as well
Blocked until dapps implements the auth chain signing with timestamp.{metadata} https://decentralandteam.slack.com/archives/C022B026W1F/p1693245868306279
Since we moved the emotes and wearables request to Unity using the lambdas, we lost the ability to query the
WITH_COLLECTIONS
param.Currently, the
WITH_COLLECTIONS
param only work when going through kernel. When the param is present, kernel fetches the entities of the collection and then forces them into the response that is sent back to Unity. Therefore, if the request does not go through kernel, the param does not work. Since we want to stop supporting kernel, we should properly implement this functionality in Unity.Some suggested steps would be:
1) Inject the param from kernel into Unity (The kernelConfig could be use for this) 2) Fetch the collections (Kernel uses the endpoint https://builder-api.decentraland.org/v1/collections/${collectionUuid}/items to fetch them) 3) Add the resultant urns to the wearable and emotes request, respectively