Bluemage/schemas/proto/subreddits/v1/exist.proto

15 lines
280 B
Protocol Buffer
Raw Permalink Normal View History

syntax = "proto3";
package subreddits.v1;
import "buf/validate/validate.proto";
message SubredditExistsRequest {
// name of the subreddit. Case insensitive.
string name = 1 [(buf.validate.field).string.min_len = 1];
}
message SubredditExistsResponse {
bool exist = 1;
}