mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
20 lines
382 B
Protocol Buffer
20 lines
382 B
Protocol Buffer
syntax = "proto3";
|
|
package session;
|
|
|
|
service Session {
|
|
rpc Authenticate(SessionRequest) returns (SessionResponse);
|
|
rpc ListWorkspaces(SessionRequest) returns (WorkspaceList);
|
|
}
|
|
|
|
message SessionRequest {
|
|
string sessionKey = 1;
|
|
}
|
|
|
|
message SessionResponse {
|
|
string sessionKey = 1;
|
|
bool accepted = 2;
|
|
}
|
|
|
|
message WorkspaceList {
|
|
repeated string name = 1; // TODO add more fields
|
|
}
|