Sha256: e38351f65226a274b1c897703acef6496ca669615175af88128f4cfcd7ed038f

Contents?: true

Size: 928 Bytes

Versions: 5

Compression:

Stored size: 928 Bytes

Contents

package WearaboutsApi.User;

option java_package = "us.wearabouts.chatabout.proto.user";

import "wearabouts_pb.proto";

message AuthenticateRequest {
  optional string email = 1;
  optional string phone = 2;
  required string device_id = 3;
  optional string name = 4;
}
message AuthenticateResponse {
  optional WearaboutsPb.UserProto user = 1;
  optional WearaboutsPb.DeviceLinkProto device_link = 2;
  optional string auth_token = 3;
}

message MeRequest {}
message MeResponse {
  optional WearaboutsPb.UserProto user = 1;
  optional WearaboutsPb.DeviceLinkProto device_link = 2;
}

message UpdateNameRequest {
  required string name = 1;
}
message UpdateNameResponse {
  optional WearaboutsPb.UserProto user = 1;
}

service UserService {
  rpc Authenticate (AuthenticateRequest) returns (AuthenticateResponse);
  rpc Me (MeRequest) returns (MeResponse);
  rpc UpdateName (UpdateNameRequest) returns (UpdateNameResponse);
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
protobuf_descriptor-1.1.2 spec/protos/service_rpc_test/wearabouts_api/user.proto
protobuf_descriptor-1.1.1 spec/protos/service_rpc_test/wearabouts_api/user.proto
protobuf_descriptor-1.1.0 spec/protos/service_rpc_test/wearabouts_api/user.proto
protobuf_descriptor-1.0.0 spec/protos/service_rpc_test/wearabouts_api/user.proto
protobuf_descriptor-0.1.0 spec/protos/service_rpc_test/wearabouts_api/user.proto