Welcome to the Forum Comments API! This endpoint allows you to retrieve, manage, and interact with comments in our forum system. Below are the key features and usage examples:

📝 Available Actions

  • GET /en/api/forum/comments - Fetch all comments for a specific thread
    Example:

    GET /en/api/forum/comments?thread_id=123
    

    💡 Result: A JSON array of comment objects with metadata like author, timestamp, and content.

  • POST /en/api/forum/comments - Submit a new comment
    Example request body:

    {
      "thread_id": 456,
      "author": "User123",
      "content": "Great discussion here!"
    }
    
  • DELETE /en/api/forum/comments/{id} - Remove an existing comment
    Requires authentication 🔐

📌 Example Response Structure

[
  {
    "id": "com_789",
    "thread_id": 123,
    "author": "Alice",
    "content": "This is a sample comment.",
    "timestamp": "2023-10-05T14:48:00Z"
  }
]

📚 Related Resources

forum_comments
api_documentation

For advanced usage, check out our API Explorer to test endpoints interactively! 🚀