- Hide the post
- Pin/unpin the post
- Delete the post/comment
postId
.
Hide the post
The current API user can hide any available post created by other users from the network. In this case the post will not be returned in the queries and will not be accessible for the current user, though it will remain visible for others. This can be done by executing thehidePost
mutation.
A comment cannot be hidden, only a post. Also, own posts also cannot be hidden.
Pin the post
Any available post can be pinned for the current API user. In the future it will affect the sorting order of the posts that are returned bygetPostsFeed
query.
A comment cannot be pinned, only a post.
Post
object. Detailed description and the full list of available properties can be found here.
Unpin the post
Similar to the pin action, the user can unpin previously pinned post. To perform the action, executeunpinPost
mutation:
Post
object. Detailed description and the full list of available properties can be found here.
Delete the post/comment
Any user can delete their own post or comment. Also, users associated with the context withADMINISTRATOR
scope can delete any post/comment.
After the mutation execution the post will be physically deleted and will not be available for any other user on the platform.