Use REST API to lookup asset without site
Hello,
We are trying to implement the rest API for a separate application, and have noticed that there doesn't seem to be any way to retrieve assets solely by ID. It seems that you are always required to specify which site the asset is part of.
For instance, working with the Oracle libraries, you can call something like:
AssetDataManager mgr = (AssetDataManager)SessionFactory.getSession().getManager(AssetDataManager.class.getName());
return mgr.read(assetIds);
To return asset data.
However, with the rest API, it seems that there is only the following endpoint to find stuff by ID:
/sites/{sitename}/types/{assettype}/assets/{id}
0