Files
sonr/third_party/proto/motr/v1/api.proto
T

27 lines
391 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
package motr.v1;
option go_package = "github.com/onsonr/sonr/pkg/motr/types";
service Motr {
rpc Pin(PinRequest) returns (PinResponse);
rpc Unpin(UnpinRequest) returns (UnpinResponse);
}
message PinRequest {
string cid = 1;
}
message PinResponse {
bool success = 1;
}
message UnpinRequest {
string cid = 1;
}
message UnpinResponse {
bool success = 1;
}