Bluemage/schemas/proto/images/v1/images.proto

17 lines
495 B
Protocol Buffer
Raw Normal View History

2024-08-13 13:14:50 +07:00
syntax = "proto3";
package images.v1;
2024-08-16 14:38:44 +07:00
import "images/v1/recently_added.proto";
2024-08-16 10:25:38 +07:00
2024-08-13 13:14:50 +07:00
service ImageService {
2024-08-16 14:38:44 +07:00
// RecentlyAddedImages returns a list of recently added images.
2024-08-16 10:25:38 +07:00
//
2024-08-16 14:38:44 +07:00
// The returned images are grouped by device and sorted by the time they were added.
2024-08-16 10:25:38 +07:00
//
2024-08-16 14:38:44 +07:00
// Use after and before to traverse fetch more images.
2024-08-16 10:25:38 +07:00
//
2024-08-16 14:38:44 +07:00
// Maximum number of images that can be fetched at a time is 300.
rpc RecentlyAddedImages(RecentlyAddedImagesRequest) returns (RecentlyAddedImagesResponse) {}
2024-08-13 13:14:50 +07:00
}