action discourse_list_top_topics { label: "Get the top topics filtered by period" provider: discourse method: GET path: "/top.json" encoding: json input: { type: "object" properties: { "Api-Key": { type: "string" } "Api-Username": { type: "string" } period: { type: "string" } } required: ["Api-Key", "Api-Username"] additionalProperties: false } output: { type: "object" properties: { primary_groups: { type: "array" items: { type: "object" } } topic_list: { type: "object" properties: { can_create_topic: { type: "boolean" } draft: { type: ["string", "null"] } draft_key: { type: "string" } draft_sequence: { type: "integer" } for_period: { type: "string" } per_page: { type: "integer" } topics: { type: "array" items: { type: "object" properties: { archetype: { type: "string" } archived: { type: "boolean" } bookmarked: { type: "boolean" } bumped: { type: "boolean" } bumped_at: { type: "string" } category_id: { type: "integer" } closed: { type: "boolean" } created_at: { type: "string" } fancy_title: { type: "string" } featured_link: { type: ["string", "null"] } has_summary: { type: "boolean" } highest_post_number: { type: "integer" } id: { type: "integer" } image_url: { type: ["string", "null"] } last_posted_at: { type: "string" } last_poster_username: { type: "string" } last_read_post_number: { type: "integer" } like_count: { type: "integer" } liked: { type: "boolean" } notification_level: { type: "integer" } op_like_count: { type: "integer" } pinned: { type: "boolean" } pinned_globally: { type: "boolean" } posters: { type: "array" items: { type: "object" properties: { description: { type: "string" } extras: { type: ["string", "null"] } primary_group_id: { type: ["string", "null"] } user_id: { type: "integer" } } } } posts_count: { type: "integer" } reply_count: { type: "integer" } slug: { type: "string" } title: { type: "string" } unpinned: { type: "boolean" } unread_posts: { type: "integer" } unseen: { type: "boolean" } views: { type: "integer" } visible: { type: "boolean" } } } } } } users: { type: "array" items: { type: "object" properties: { avatar_template: { type: "string" } id: { type: "integer" } name: { type: "string" } username: { type: "string" } } } } } } }