schnutibox/api/proto/v1/schnutibox.proto
Marvin Steadfast ae35d9ab41
Some checks failed
continuous-integration/drone/push Build is failing
uses buf for compiling proto files and implements the server service
2021-05-05 11:14:17 +02:00

23 lines
441 B
Protocol Buffer

syntax = "proto3";
package schnutibox.v1;
option go_package = "go.xsfx.dev/schnutibox/pkg/api/v1";
import "google/api/annotations.proto";
service IdentifierService {
rpc Identify (IdentifyRequest) returns (IdentifyResponse) {
option (google.api.http) = {
post: "/v1/identify"
body: "*"
};
}
}
message IdentifyRequest {
string id = 1;
}
message IdentifyResponse {
string name = 1;
repeated string uris = 2;
}