diff --git a/x/posts/spec/08-client.md b/x/posts/spec/08-client.md index 69b0d1be55..7bba05464c 100644 --- a/x/posts/spec/08-client.md +++ b/x/posts/spec/08-client.md @@ -463,14 +463,14 @@ A user can query the `posts` module using REST endpoints. The `Post` endpoint allows users to query a post with the given id inside a subspace with the given id. ``` -/desmos/posts/v1/subspaces/{subspace_id}/posts/{post_id} +/desmos/posts/v2/subspaces/{subspace_id}/posts/{post_id} ``` ### SubspacePosts The `SubspacePosts` endpoint allows users to query all the posts of the subspace with the given id. ``` -/desmos/posts/v1/subspaces/{subspace_id}/posts +/desmos/posts/v2/subspaces/{subspace_id}/posts ``` ### SectionPosts @@ -478,7 +478,7 @@ The `SectionPosts` endpoint allows users to return all the posts associated with to the subspace with the given id. ``` -/desmos/posts/v1/subspaces/{subspace_id}/sections/{section_id}/posts +/desmos/posts/v2/subspaces/{subspace_id}/sections/{section_id}/posts ``` ### PostAttachments @@ -486,7 +486,7 @@ The `PostAttachments` endpoint allows users to query all the attachment associat the subspace with the given id. ``` -/desmos/posts/v1/subspaces/{subspace_id}/posts/{post_id}/attachments +/desmos/posts/v2/subspaces/{subspace_id}/posts/{post_id}/attachments ``` ### PollAnswers @@ -494,12 +494,12 @@ The `PollAnswers` endpoint allows users to query al the poll answer associated w with the given post id inside the subspace with the given id. ``` -/desmos/posts/v1/subspaces/{subspace_id}/posts/{post_id}/polls/{poll_id}/answers +/desmos/posts/v2/subspaces/{subspace_id}/posts/{post_id}/polls/{poll_id}/answers ``` ### Params The `Params` endpoint allows users to query the module's parameters. ``` -/desmos/posts/v1/params +/desmos/posts/v2/params ``` \ No newline at end of file