Bluemage/schemas/proto/subreddits/v1/count.proto

25 lines
519 B
Protocol Buffer

syntax = "proto3";
package subreddits.v1;
import "subreddits/v1/types.proto";
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;
}