mirror of
https://github.com/usememos/memos.git
synced 2024-11-15 11:17:58 +08:00
20 lines
367 B
Protocol Buffer
20 lines
367 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package memos.api.v2;
|
||
|
|
||
|
import "google/api/annotations.proto";
|
||
|
|
||
|
option go_package = "gen/api/v2";
|
||
|
|
||
|
service AuthService {
|
||
|
rpc GetAuthStatus(GetAuthStatusRequest) returns (GetAuthStatusResponse) {
|
||
|
option (google.api.http) = {post: "/api/v2/auth/status"};
|
||
|
}
|
||
|
}
|
||
|
|
||
|
message GetAuthStatusRequest {}
|
||
|
|
||
|
message GetAuthStatusResponse {
|
||
|
bool ok = 1;
|
||
|
}
|