More REST refactor: collection, file, assetstore