The application I am building at the moment creates a tree-view of an entire site. To do that it needs to fetch the meta-data for every page. That is possible in sets of ten pages at a time, which takes a while, but not too long unless the site is really massive.
I would like to show the files attached to each page, but to do that I need to call files.select for every page in the site. That would take of the order of a minute for a site with more than a trivial number of pages.
Is it possible to add the list of attached files to the page meta-data? Then I would have enough information to build the tree without making any more calls. In the general case, one could produce the list of all files attached to a site by calling pages.get_meta ten times faster than by calling files.select on every page.