I am trying to use the Asset Discovery Service in order to search for assets with specific metadata.
I did checkout the:
- general documentation (https://docs.organicity.eu/AssetDiscoveryService/
- the APIs documentation (https://docs.organicity.eu/api/AssetDiscovery.html#operation--assets-metadata-search-get
- and I have also found an example on Codepen (https://codepen.io/pral2a/pen/ALxAOp
but I have not been able to find any examples on how metadata queries should be actually created.
Could you please help me out?
In particular, I would like to be able to filter assets by type, location (lat, lon), firstEventTime and lastEventTime.
Ps. I have noticed that in the queries that I done till now the values of firstEventTime and lastEventTime are all set to "1970-01-01T00:00:00.000Z". There may be some problems in timestamp handling.
Thanks for the support.