Skip to content

Commit

Permalink
fix: fix typo http url at post.proto
Browse files Browse the repository at this point in the history
Signed-off-by: ImMin5 <[email protected]>
  • Loading branch information
ImMin5 committed Dec 4, 2023
1 parent da2376c commit 5cdb5e5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions proto/spaceone/api/board/v1/post.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,54 +15,54 @@ service Post {
//Creates a new Post under a specific Board. You must specify the `board_id`, `title`, and `contents`. The parameter `category` is not required but can be set in the scope of `categories` specified in the parent Board. You can make the new Post pinned or pop up by adjusting the parameters.
rpc create (CreatePostRequest) returns (PostInfo) {
option (google.api.http) = {
post: "/board/v1/board/create"
post: "/board/v1/post/create"
body: "*"
};
}

//Updates a specific Post. You can make changes in Post settings, except `board_id`, `post_id`, and `domain_id`.
rpc update (UpdatePostRequest) returns (PostInfo) {
option (google.api.http) = {
post: "/board/v1/board/update"
post: "/board/v1/post/update"
body: "*"
};
}

//Not Implemented
rpc send_notification (SendNotificationRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
post: "/board/v1/board/send-notification"
post: "/board/v1/post/send-notification"
body: "*"
};
}

// Deletes a specific Post. You must specify the `post_id` of the Post to delete, and the `board_id` of the Board where the child Post to delete belongs.
rpc delete (PostRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
post: "/board/v1/board/delete"
post: "/board/v1/post/delete"
body: "*"
};
}

// Gets a specific Post. You must specify the `post_id` of the Post to get, and the `board_id` of the Board where the child Post to get belongs. Prints detailed information about the Post.
rpc get (GetPostRequest) returns (PostInfo) {
option (google.api.http) = {
post: "/board/v1/board/get"
post: "/board/v1/post/get"
body: "*"
};
}

// Gets a list of all Posts. You can use a query to get a filtered list of Posts.
rpc list (PostQuery) returns (PostsInfo) {
option (google.api.http) = {
post: "/board/v1/board/list"
post: "/board/v1/post/list"
body: "*"
};
}

rpc stat (PostStatQuery) returns (google.protobuf.Struct) {
option (google.api.http) = {
post: "/board/v1/board/stat"
post: "/board/v1/post/stat"
body: "*"
};
}
Expand Down

0 comments on commit 5cdb5e5

Please sign in to comment.