Per this guide, our game has a catalog of songs set up so that a catalog item points to a song file. However, with multiple track authors managing our content, we've found it is really easy to get off sync; e.g. a song file gets removed from the file manager but the catalog is not updated to reflect that.
We have an audit cloudscript we can run to catch inconsistencies (such as tracks missing artists), and want to add detection for if a catalog item points to a file that isn't there. What is the best way to do that? I have considered:
1. We could theoretically call Get Content Download Url on each item and see if it fails; however that would go over the maximum API calls in a cloudscript since it would be doing one per song.
2. If I had a list of the filenames on the server (such as the one displayed under Content > File Management) I could easily check whether the song each item points to is actually there. Is there a way to get this list in cloudscript?
Thanks,
Ryan