blob: f378ad5a8680e5929f7edcdcadab140ec961b142 [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001// Copyright 2018 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file or at
4// https://developers.google.com/open-source/licenses/bsd
5
6syntax = "proto3";
7
8package monorail;
9
10service Sitewide {
11 rpc RefreshToken (RefreshTokenRequest) returns (RefreshTokenResponse) {}
12 rpc GetServerStatus (GetServerStatusRequest) returns (GetServerStatusResponse) {}
13}
14
15
16// Next available tag: 4
17message RefreshTokenRequest {
18 string token = 2;
19 string token_path = 3;
20}
21
22
23// Next available tag: 3
24message RefreshTokenResponse {
25 string token = 1;
26 uint32 token_expires_sec = 2;
27}
28
29
30// Next available tag: 1
31message GetServerStatusRequest {
32}
33
34
35// Next available tag: 4
36message GetServerStatusResponse {
37 string banner_message = 1;
38 fixed32 banner_time = 2;
39 bool read_only = 3;
40}