Topics

Get the latest topics

Changed on
get/latest.json

Request

  • Base URL
    https://discourse.example.com
  • Auth
    none declared. Required headers: Api-Key, Api-Username

Query parameters

orderstring

Enum: default, created, activity, views, posts, category, likes, op_likes, posters

ascendingstring

Defaults to desc, add ascending=true to sort asc

per_pageinteger

Maximum number of topics returned, between 1-100

Headers

Api-Keystring required
Api-Usernamestring required

Response

topic updated

Changes

    • info

      added the new optional query request parameter per_page

    • breaking

      the ///// response's property type changed from string null to integer null for status