mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-23 06:19:38 +08:00
33 lines
400 B
Protocol Buffer
33 lines
400 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
message User {
|
|
string id = 1;
|
|
string email = 2;
|
|
}
|
|
|
|
message Error {
|
|
string details = 1;
|
|
}
|
|
|
|
message SessionRequest {
|
|
string app_version = 1;
|
|
}
|
|
|
|
message SessionResponse {
|
|
string id = 1;
|
|
User user = 2;
|
|
}
|
|
|
|
message Request {
|
|
oneof type {
|
|
SessionRequest session = 1;
|
|
}
|
|
}
|
|
|
|
message Response {
|
|
oneof type {
|
|
Error error = 1;
|
|
|
|
SessionResponse session = 2;
|
|
}
|
|
}
|