syntax = "proto3"; package memos.api.v1; import "google/api/annotations.proto"; option go_package = "gen/api/v1"; service WorkspaceService { // Gets the workspace profile. rpc GetWorkspaceProfile(GetWorkspaceProfileRequest) returns (WorkspaceProfile) { option (google.api.http) = {get: "/api/v1/workspace/profile"}; } } // Workspace profile message containing basic workspace information. message WorkspaceProfile { // The name of instance owner. // Format: users/{user} string owner = 1; // Version is the current version of instance. string version = 2; // Mode is the instance mode (e.g. "prod", "dev" or "demo"). string mode = 3; // Instance URL is the URL of the instance. string instance_url = 6; } // Request for workspace profile. message GetWorkspaceProfileRequest {}