mirror of https://github.com/usememos/memos
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
405 B
Protocol Buffer
21 lines
405 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package memos.api.v2;
|
|
|
|
import "api/v2/user_service.proto";
|
|
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 {
|
|
User user = 1;
|
|
}
|