Post APIs
This api allow the user to create new post to topic in nodebb
- The endpoint for Post is
/v2/topics/{tid} - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
- Backend Route: http://nodebb-service:4567/discussions/api/v2/topics/{tid}
successful operation
Bad request
This api allow the user to create reply to post in nodebb
- The endpoint for Post is
/v2/topics/{tid} - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
- Backend Route: http://nodebb-service:4567/discussions/api/v2/topics/{tid}
successful operation
Bad request
This api allows the user to delete post in the nodebb
- The endpoint for Post is
/v2/posts/{pid} - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
- Backend Route: http://nodebb-service:4567/discussions/api/v2/posts/{pid}
successful operation
Bad request
This api allows the user to vote(Up/down) to post in the nodebb
- The endpoint for Post is
/v2/posts/{pid}/vote - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
- Backend Route: http://nodebb-service:4567/discussions/api/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.
successful operation
Bad request
This api allows the user to delete vote(Up/down) to post in the nodebb
- The endpoint for Post is
/v2/posts/{pid}/vote - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
- Backend Route: http://nodebb-service:4567/discussions/api/v2/posts/{pid}/vote
successful operation
Bad request
This api allows the user to bookmarks a post in the nodebb
- The endpoint for Post is
/v2/posts/{pid}/bookmark - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
- Backend Route: http://nodebb-service:4567/discussions/api/v2/posts/{pid}/bookmark
successful operation
Bad request
This api allows the user to Unbookmarks a post in the nodebb
- The endpoint for Post is
/v2/posts/{pid}/bookmark - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
- Backend Route: http://nodebb-service:4567/discussions/api/v2/posts/{pid}/bookmark
successful operation
Bad request
This api allows the user to Restores a post in the nodebb
- The endpoint for Post is
/v2/posts/{pid}/state - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
- Backend Route: http://nodebb-service:4567/discussions/api/v2/posts/{pid}/state
successful operation
Bad request
This api allows the user to Deletes a post in the nodebb
- The endpoint for Post is
/v2/posts/{pid}/state - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
- Backend Route: http://nodebb-service:4567/discussions/api/v2/posts/{pid}/state
successful operation
Bad request
Last updated
Was this helpful?