Overview 📝

This API provides access to forum thread data. It supports retrieving threads, filtering by categories, and sorting options. All endpoints are designed to be RESTful and follow standard HTTP methods.

Endpoints 🔗

  • GET /en/api/forum/threads
    Fetch a list of forum threads.
    Parameters:

    • category (optional): Filter threads by forum category.
    • sort_by (optional): Sort threads by latest, popular, or created.
    • limit (optional): Maximum number of threads to return (default: 10).
  • POST /en/api/forum/threads
    Create a new thread.
    Requires authentication and a JSON payload with title, content, and category.

Example Requests 📐

# Get all threads
curl https://example.com/en/api/forum/threads

# Get threads in "technology" category
curl https://example.com/en/api/forum/threads?category=technology

# Get 5 latest threads
curl https://example.com/en/api/forum/threads?sort_by=latest&limit=5

Security 🔒

  • All requests must include a valid API token in the Authorization header.
  • Rate limiting is applied to prevent abuse (max 100 requests per minute).

Related Links 🧭

forum_threads

For more details on thread management, see the Thread Operations Documentation.