syntax = "proto3"; package images.v1; import "images/v1/list_by_subreddit.proto"; import "images/v1/recently_added.proto"; service ImageService { // RecentlyAddedImages returns a list of recently added images. // // The returned images are grouped by device and sorted by the time they were added. // // Use after and before to traverse fetch more images. // // Maximum number of images that can be fetched at a time is 300. rpc RecentlyAddedImages(RecentlyAddedImagesRequest) returns (RecentlyAddedImagesResponse) {} rpc ListBySubreddit(ListBySubredditRequest) returns (ListBySubredditResponse) {} }