27 lines
604 B
Protocol Buffer
27 lines
604 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package subreddits.v1;
|
|
|
|
import "subreddits/v1/types.proto";
|
|
|
|
option go_package = "github.com/tigorlazuardi/bluemage/go/gen/proto/subreddits/v1";
|
|
|
|
message CountSubredditsRequest {
|
|
// Limits the counts to subreddits that contains the given name.
|
|
// case insensitive.
|
|
//
|
|
// Ignored if empty.
|
|
//
|
|
// default: empty string.
|
|
string search = 1;
|
|
|
|
// disabled limit the counting to subreddits with the given status.
|
|
//
|
|
// If unspecified, subreddits with either status will be counted.
|
|
DisabledFilter disabled = 2;
|
|
}
|
|
|
|
message CountSubredditsResponse {
|
|
int64 count = 1;
|
|
}
|