discourse.local

This page contains the documentation on how to use Discourse through API calls. > Note: For any endpoints not listed you can follow the reverse engineer the Discourse API guide to figure out how to use an API endpoint. Request Content-Type The Content-T

84 endpoints social
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (7 total)

pip install discourse-python-sdk
pip install discourses
npm install discourse-sdk
npm install discourse-ai-bot
npm install discourse-sdk
composer require discourse-sdk
composer require php-discourse-sdk
curl examples
Get the top topics filtered by period
curl \
  http://discourse.local/top.json
Get site info
curl \
  http://discourse.local/site.json
Get a list of tags
curl \
  http://discourse.local/tags.json
Endpoints (84 total)
GET
/top.json
Get the top topics filtered by period
GET
/site.json
Get site info
GET
/tags.json
Get a list of tags
GET
/posts.json
List latest posts across topics
GET
/groups.json
List groups
GET
/latest.json
Get the latest topics
GET
/search.json
Search for a term
GET
/t/{id}.json
Get a single topic
GET
/categories.json
Retrieves a list of categories
GET
/posts/{id}.json
Retrieve a single post
GET
/tag/{name}.json
Get a specific tag
GET
/tag_groups.json
Get a list of tag groups
At a glance
Total SDKs7
Languages4
Endpoints84
Categories1
http://discourse.local