region.proto

syntax = "proto3";

package bilibili.app.show.region.v1;

//
service Region {
    //
    rpc Region (RegionReq) returns (RegionReply);
}

//
message RegionReq {
    //
    string lang = 1;
}

//
message RegionReply {
    //
    repeated RegionInfo regions = 1;
}

//
message RegionConfig {
    //
    string scenes_name = 1;
    //
    string scenes_type = 2;
}

//
message RegionInfo {
    //
    int32 tid = 1;
    //
    int32 reid = 2;
    //
    string name = 3;
    //
    string logo = 4;
    //
    string goto = 5;
    //
    string param = 6;
    //
    string uri = 7;
    //
    int32 type = 8;
    //
    int32 is_bangumi = 9;
    //
    repeated RegionInfo children = 10;
    //
    repeated RegionConfig config = 11;
}```