private static Publication.Resource createResourceForStandaloneFile(ResourceDescriptor sourceFileDescriptor,
                                                                        String targetFolderUrl,
                                                                        Map<String, Integer> fileNamesTaken,
                                                                        Publication.ResourceAction action) {
        String targetUrl = createUniqueTargetResourceUrl(sourceFileDescriptor, targetFolderUrl, fileNamesTaken);

        return new Publication.Resource()
                .setAction(action)
                .setSourceUrl(sourceFileDescriptor.getUrl())
                .setTargetUrl(targetUrl);
    }
Leaves only required fields for listing.
server/src/main/java/com/epam/aidial/core/server/service/PublicationService.java