providerstorage

io.token.proto.providerstorage /external/src/main/proto/providerapi/providerstorage.proto


syntax = "proto3";
package io.token.proto.providerstorage;

message PutRequest {
  string id = 1;
  string payload = 2;
}

message PutResponse {}

message GetRequest {
  string id = 1;
}

message GetResponse {
  string payload = 1;
}

message RemoveRequest {
  string id = 1;
}

message RemoveResponse {
  string payload = 1;
}

service ProviderStorageService {
  rpc Put (PutRequest) returns (PutResponse) {}
  rpc Get (GetRequest) returns (GetResponse) {}
  rpc Remove (RemoveRequest) returns (RemoveResponse) {}
}