I'm storing files as REST API resources, sending and receiving them as base64 strings, along with some other metadata. What's the best way to handle GET for the collection? (e.g GET .../api/files)
The standard response to GETting the collection (to my understanding) is to return the full contents of all resources, but in this case that would return a lot of data; does it violate REST standards to just return a list of the resource IDs? The other logical option is to return some sort of reference to the file data in each resource, but the other way seems cleaner.