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