To view the the Discourse API Documentation you can visit:
Here is an example of what the ReDoc site looks like:
In addition to the docs site, you can also import the postman json files into
postman to test making real API calls and see the json output.
Start by importing the environment json file. After you import it be sure to
api_key values to match your
Now you can import the collection json file and start making API requests.
Here is a demo:
Consuming the API
You can consume the API using cURL commands, but we recommend using the discourse_api gem so that you can use Ruby.
Reverse engineering API endpoints