Post APIs
Last updated
Was this helpful?
Last updated
Was this helpful?
This api allows the user to Deletes a post in the nodebb
/v2/posts/{pid}/state
/discussion/v2/posts/{pid}/state
This api allow the user to create new post to topic in nodebb
/v2/topics/{tid}
/discussion/v2/topics/{tid}
This api allow the user to create reply to post in nodebb
/v2/topics/{tid}
/discussion/v2/topics/{tid}
This api allows the user to delete post in the nodebb
/v2/posts/{pid}
/discussion/v2/posts/{pid}
This api allows the user to vote(Up/down) to post in the nodebb
/v2/posts/{pid}/vote
/discussion/v2/posts/{pid}/vote
delta must be a number. If delta > 0, it's considered an upvote; if delta < 0, it's considered a downvote; otherwise, it's an unvote.
This api allows the user to delete vote(Up/down) to post in the nodebb
/v2/posts/{pid}/vote
/discussion/v2/posts/{pid}/vote
This api allows the user to bookmarks a post in the nodebb
/v2/posts/{pid}/bookmark
/discussion/v2/posts/{pid}/bookmark
This api allows the user to Unbookmarks a post in the nodebb
/v2/posts/{pid}/bookmark
/discussion/v2/posts/{pid}/bookmark
This api allows the user to Restores a post in the nodebb
/v2/posts/{pid}/state
/discussion/v2/posts/{pid}/state