When calling the following code, the recommended results are the same no matter what assetType you set for the first argument. This happens repeatedly for any contextAssetId.
assetType: [AvatarAssetType] - The type of asset recommendations to retrieve recommendations for.
I expect the results to only show only those that are of the same assetType set in the original parameters. Instead, it appears the assetType is being determined by the assetType of the contextAssetId.
Sorry about the delay with getting back to you here. I’ve spoken with the team and the behavior you reported is currently expected. I went ahead and updated the API summary for GetRecommendedAssets to hopefully be a bit more clear on the expected behavior.
If you think this might need a bit more additional context in the documentation, feel free to submit an edit request by clicking the edit button on the top right of that documentation page!
Only affects the response when item based recommendations don’t exist for the given contextAssetId.
When would this be the case? Is there any way to get targeted recommendations based off of asset type for an asset id regardless of whether or not it already has a recommendation set?
My only intent for this API would be for the above use case, allowing users to find asset type recommendations for any asset id.