Hello MatSci community,
I have recently switched over to using the new API and I was wondering what the recommended way is to search through a second endpoint once you have narrowed down a search based on a primary endpoint (like the summary endpoint)?
For example, I needed the tags
field from the provenance endpoint based on mpids I downselected by searching the primary summary endpoint. The only way I was able to do this was either to do individual requests for each mpid (very slow) or pull the entire provenance endpoint and then filter the results based on the mpids list (which is faster but wastes bandwidth). I wasn’t able to specify search criteria in the provenance endpoint but I might have overlooked something?
Thank you for your input!
Best,
Peter