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 (27 lines) | stat: -rw-r--r-- 569 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
syntax = "proto3";

package svc.environment.v1;

import "types/v1/cursor.proto";
import "types/v1/environment.proto";
import "types/v1/machine.proto";

option go_package = "svc/environment/v1;environmentv1";

service EnvironmentService {
  rpc ListMachine(ListMachineRequest) returns (ListMachineResponse);
}

message ListMachineRequest {
  types.v1.Cursor cursor = 1;
  int32 limit = 2;
  int64 environment_id = 3;
}

message ListMachineResponse {
  types.v1.Cursor next = 1;
  message ListItem {
    types.v1.Machine machine = 1;
  }
  repeated ListItem items = 2;
}