File: service.proto

package info (click to toggle)
golang-github-humanlogio-api 0.0~git20250305.fa41d14-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,352 kB
  • sloc: sh: 45; makefile: 8
file content (30 lines) | stat: -rw-r--r-- 712 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
syntax = "proto3";

package svc.cliupdate.v1;

import "types/v1/meta.proto";
import "types/v1/version.proto";
import "types/v1/version_artifact.proto";

option go_package = "svc/cliupdate/v1;cliupdatev1";

service UpdateService {
  rpc GetNextUpdate(GetNextUpdateRequest) returns (GetNextUpdateResponse) {}
}

message GetNextUpdateRequest {
  string project_name = 1;
  types.v1.Version current_version = 2;
  string machine_architecture = 3;
  string machine_operating_system = 4;
  optional string release_channel_name = 5;

  types.v1.ReqMeta meta = 1000;
}

message GetNextUpdateResponse {
  types.v1.Version next_version = 1;
  types.v1.VersionArtifact next_artifact = 2;

  types.v1.ResMeta meta = 1000;
}