Sha256: 641b520e66c2bd4ee35d7d918ebfede16aefb7f980c6633e226df05f442185ca

Contents?: true

Size: 816 Bytes

Versions: 53

Compression:

Stored size: 816 Bytes

Contents

package generic.remote;

import "error.proto";
import "category.proto";

message Post {
  optional string guid = 1;
  optional string name = 2;
  optional string author_guid = 3;
  optional Category category = 4;
  repeated Error errors = 5;
  optional string user_guid = 6;
}

message Posts {
  repeated Post records = 1;
}

message PostRequest {
  repeated string guid = 1;
  repeated string name = 2;
  repeated string author_guid = 3;
  repeated string user_guid = 4;
}

service PostService {
  rpc Search (PostRequest) returns (Posts);
  rpc Create (Post) returns (Post);
  rpc Update (Post) returns (Post);
  rpc Delete (Post) returns (Post);
  rpc CreateAll (Posts) returns (Posts);
  rpc UpdateAll (Posts) returns (Posts);
  rpc DeleteAll (Posts) returns (Posts);
  rpc DestroyAll (Posts) returns (Posts);
}

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
active_remote-2.3.1 spec/support/definitions/post.proto
active_remote-2.3.0 spec/support/definitions/post.proto
active_remote-2.2.0 spec/support/definitions/post.proto
active_remote-2.1.1 spec/support/definitions/post.proto
active_remote-2.1.0 spec/support/definitions/post.proto
active_remote-2.1.0.rc2 spec/support/definitions/post.proto
active_remote-2.1.0.rc1 spec/support/definitions/post.proto
active_remote-2.1.0.beta2 spec/support/definitions/post.proto
active_remote-2.1.0.beta1 spec/support/definitions/post.proto
active_remote-2.0.2 spec/support/definitions/post.proto
active_remote-2.0.1 spec/support/definitions/post.proto
active_remote-2.0.0 spec/support/definitions/post.proto
active_remote-2.0.0.rc2 spec/support/definitions/post.proto