Topic APIs
This api allow the user to get all the unread topics in nodebb
- The endpoint for Topics is
/unread - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
- Backend Route: http://nodebb-service:4567/discussions/api/unread
successful operation
Bad request
This api allow the user to get all the recent topics in nodebb
- The endpoint for Topics is
/recent - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
- Backend Route: http://nodebb-service:4567/discussions/api/recent
successful operation
Bad request
This api allow the user to get all the popular topics in nodebb
- The endpoint for Topics is
/recent - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
- Backend Route: http://nodebb-service:4567/discussions/api/popular
successful operation
Bad request
This api allow the user to get teaser details of topic in nodebb
- The endpoint for Topics is
/topic/teaser/{topic_id} - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
- Backend Route: http://nodebb-service:4567/discussions/api/topic/teaser/{topic_id}
successful operation
Bad request
This api allow the user to get topics details by using topicId ad slug from nodebb
- The endpoint for Topics is
/topic/{topic_id}/{slug} - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
- Backend Route: http://nodebb-service:4567/discussions/api/topic/{topic_id}/{slug}
successful operation
Bad request
This api allow the user to create new topic in nodebb
- The endpoint for Topics is
/v2/topics - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
- Backend Route: http://nodebb-service:4567/discussions/api/v2/topics
successful operation
Bad request
This api allow the user to delete a topic in nodebb
- The endpoint for Topics is
/v2/topics/{tid}/state - 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}/state
successful operation
Bad request
This api allow the user to follow a topic in nodebb
- The endpoint for Topics is
/v2/topics/{tid}/state - 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}/follow
successful operation
Bad request
This api allow the user to unfollow a topic in nodebb
- The endpoint for Topics is
/v2/topics/{tid}/state - 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}/follow
successful operation
Bad request
This api allow the user to add tags to a topic in nodebb
- The endpoint for Topics is
/v2/topics/{tid}/tags - 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}/tags
successful operation
Bad request
This api allow the user to delete tags for a topic in nodebb
- The endpoint for Topics is
/v2/topics/{tid}/tags - 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}/tags
successful operation
Bad request
This api allow the user to pin to a topic in nodebb
- The endpoint for Topics is
/v2/topics/{tid}/pin - 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}/pin
successful operation
Bad request
This api allow the user to unpin a topic in nodebb
- The endpoint for Topics is
/v2/topics/{tid}/pin - 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}/pin
successful operation
Bad request
This api allow the user to update topic details in nodebb
- The endpoint for Topics 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 new reply to topic in nodebb
- The endpoint for Topics 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 delete topic in nodebb
- The endpoint for Topics 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
Last updated
Was this helpful?