Skip to content

Commit

Permalink
improve tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleak committed May 17, 2019
1 parent bfb2253 commit ebe3660
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions protos/services/tags_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,14 @@ message CreateTagRequest {
string color = 2;
}

message EditTagRequest {
string id = 1;
string label = 2;
string color = 3;
}

message DeleteTagRequest { string id = 1; }

service TagsService {
/// The client must send the Authorization metadata
rpc createTag(CreateTagRequest) returns (Tag);

/// The client must send the Authorization metadata
rpc editTag(EditTagRequest) returns (google.protobuf.Empty);
rpc editTag(Tag) returns (google.protobuf.Empty);

/// The client must send the Authorization metadata
rpc deleteTag(DeleteTagRequest) returns (google.protobuf.Empty);
Expand Down

0 comments on commit ebe3660

Please sign in to comment.