Codoforum related discussions
API to get a TOPIC

Hello,

I'm new here. I need to integrate the CodoForum with a catalogue of medicines.

There is an API for integration? How can i get a topic from api?

Kind regards,

Hermes

Hello, I'm new here. I need to integrate the CodoForum with a catalogue of medicines. There is an API for integration? How can i get a topic from api? Kind regards, Hermes

Hi,

How can i get a topic from api?

Do you want to get topic information based on a topic id ?

What are you trying to do?

Hi, >How can i get a topic from api? Do you want to get topic information based on a topic id ? What are you trying to do?

Hi,

Sorry for the late reply.

We do not yet have an API to get a single topic.

As of now, you can only get all the posts from a topic by requesting

Ajax/topic/:tid/:from/get_posts


//  :tid -> topic id

//  :from -> number from where you want posts (used for pagination)
Hi, Sorry for the late reply. We do not yet have an API to get a single topic. As of now, you can only get all the posts from a topic by requesting ``` Ajax/topic/:tid/:from/get_posts // :tid -> topic id // :from -> number from where you want posts (used for pagination) ```
248
4
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft