Apologies if REST isn't the right tool I need here.
I currently have dozens of content query webparts all over our site. These pull in files from a single library which match a certain metadata which is an AND statement over a max of 3 columns. I then using custom columns to bring in a custom image as well (like a pdf icon logo, or Word icon logo) to make it look nice.
This works well enough, but can be buggy and laggy and slow to make pages. It seems that REST can also help here, but I have NO idea how to even start my journey to obtain it.
I assume the end game would be to have a chunk of custom code, which I can paste in all over the place and it will pull a list of files from our main library just like that webpart does.
Is this all possible? And if so, how can I achieve it?