Skip to main content

Like a post and other actions

POST 

/post_actions.json

Like a post and other actions

Request

Header Parameters

    Api-Key stringrequired
    Api-Username stringrequired

Body

    id integerrequired
    post_action_type_id integerrequired
    flag_topic booleanrequired

Responses

post updated

Schema
    id integerrequired
    name stringrequired
    username stringrequired
    avatar_template stringrequired
    created_at stringrequired
    cooked stringrequired
    post_number integerrequired
    post_type integerrequired
    updated_at stringrequired
    reply_count integerrequired
    reply_to_post_number stringnullrequired
    quote_count integerrequired
    incoming_link_count integerrequired
    reads integerrequired
    readers_count integerrequired
    score numberrequired
    yours booleanrequired
    topic_id integerrequired
    topic_slug stringrequired
    display_username stringrequired
    primary_group_name stringnullrequired
    flair_name stringnullrequired
    flair_url stringnullrequired
    flair_bg_color stringnullrequired
    flair_color stringnullrequired
    version integerrequired
    can_edit booleanrequired
    can_delete booleanrequired
    can_recover booleanrequired
    can_wiki booleanrequired
    user_title stringnullrequired
    actions_summary object[]
  • Array [
  • id integerrequired
    count integerrequired
    acted booleanrequired
    can_undo booleanrequired
  • ]
  • moderator booleanrequired
    admin booleanrequired
    staff booleanrequired
    user_id integerrequired
    hidden booleanrequired
    trust_level integerrequired
    deleted_at stringnullrequired
    user_deleted booleanrequired
    edit_reason stringnullrequired
    can_view_edit_history booleanrequired
    wiki booleanrequired
    notice objectrequired
    reviewable_id stringnullrequired
    reviewable_score_count integerrequired
    reviewable_score_pending_count integerrequired
Loading...