GetAssets By Ids no longer works

Sebastian,

GetAssetsAsync() no longer works when supply just ids: it returns all assets regardless. This is a request to pull just specific ids via the client.

Thanks!

Are you talking about client library?

It still works in the UI and it uses the same endpoint. Are you sure that everything is correct on your side?

I’m using the client. Not sure what’s going on – I’ll test a bit more in my end.

I will test it tomorrow as well.

Have you found something?

Found the problem in the AssetsClient GetAssetsAsync code:

BuildAppAssetUrl() call should be passing the queryString param.

PRed it: https://github.com/Squidex/squidex-samples/pull/24

ARGH, stupid error. Very stupid.

I pushed it to nuget. The method was a little bit strange as well and had other issues also.

1 Like