action discourse_perform_post_action { label: "Like a post and other actions" provider: discourse method: POST path: "/post_actions.json" encoding: json input: { type: "object" properties: { "Api-Key": { type: "string" } "Api-Username": { type: "string" } flag_topic: { type: "boolean" } id: { type: "integer" } post_action_type_id: { type: "integer" } } required: ["Api-Key", "Api-Username", "id", "post_action_type_id"] additionalProperties: false } output: { type: "object" properties: { actions_summary: { type: "array" items: { type: "object" properties: { acted: { type: "boolean" } can_undo: { type: "boolean" } count: { type: "integer" } id: { type: "integer" } } } } admin: { type: "boolean" } avatar_template: { type: "string" } can_delete: { type: "boolean" } can_edit: { type: "boolean" } can_recover: { type: "boolean" } can_view_edit_history: { type: "boolean" } can_wiki: { type: "boolean" } cooked: { type: "string" } created_at: { type: "string" } deleted_at: { type: ["string", "null"] } display_username: { type: "string" } edit_reason: { type: ["string", "null"] } flair_bg_color: { type: ["string", "null"] } flair_color: { type: ["string", "null"] } flair_name: { type: ["string", "null"] } flair_url: { type: ["string", "null"] } hidden: { type: "boolean" } id: { type: "integer" } incoming_link_count: { type: "integer" } moderator: { type: "boolean" } name: { type: "string" } notice: { type: "object" } post_number: { type: "integer" } post_type: { type: "integer" } primary_group_name: { type: ["string", "null"] } quote_count: { type: "integer" } readers_count: { type: "integer" } reads: { type: "integer" } reply_count: { type: "integer" } reply_to_post_number: { type: ["string", "null"] } reviewable_id: { type: ["string", "null"] } reviewable_score_count: { type: "integer" } reviewable_score_pending_count: { type: "integer" } score: { type: "number" } staff: { type: "boolean" } topic_id: { type: "integer" } topic_slug: { type: "string" } trust_level: { type: "integer" } updated_at: { type: "string" } user_deleted: { type: "boolean" } user_id: { type: "integer" } user_title: { type: ["string", "null"] } username: { type: "string" } version: { type: "integer" } wiki: { type: "boolean" } yours: { type: "boolean" } } } }