Reddit updates

Reddit update interactions are found by this filter: interaction.type == "reddit" and interaction.subtype == "update"

The interaction.id should be used to identify the existing interaction. The reddit.changes object contains one or more updates that need to be applied to the interaction.

These are a few examples:

Updated author

The author of the post has changed or been removed

{
  "compliance_type": "update",
  "interaction": {
    "author": {
      "link": "https://www.reddit.com/user/fghij",
      "name": "fghij",
      "username": "fghij"
    },
    "id": "5195197efa405a39a65b239879eabcdef",
    "link": "https://www.reddit.com/r/abcdef/comments/b0gmvv/is_business_a_university_level_degree/#",
    "subsubtype": "thread",
    "subtype": "update",
    "type": "reddit"
  },
  "reddit": {
    "action": "updated",
    "author": {
      "link": "https://www.reddit.com/user/fghij",
      "name": "fghij",
      "username": "fghij"
    },
    "boardname": "abcdef",
    "changes": {
      "author": {
        "link": {
          "previous": "https://www.reddit.com/user/fghij",
          "updated": "[deleted]"
        },
        "name": {
          "previous": "fghij",
          "updated": "[deleted]"
        },
        "username": {
          "previous": "fghij",
          "updated": "[deleted]"
        }
      }
    },
    "created_at": "Wed, 13 Mar 2019 08:26:04 +0000",
    "forumid": "bbbbb",
    "forumurl": "https://www.reddit.com/r/UCalgary",
    "id": "5195197efa405a39a65b239879eabcdef",
    "link": "https://www.reddit.com/r/abcdef/comments/b0gmvv/is_business_a_university_level_degree/#",
    "sitepostid": "aaaaaa",
    "subtype": "thread",
    "threadid": "aaaaa",
    "type": "update"
  }
}

Updated content

The content of the post has changed

{
  "compliance_type": "update",
  "interaction": {
    "author": {
      "link": "https://www.reddit.com/user/abcdef",
      "name": "abcdef",
      "username": "abcdef"
    },
    "id": "ab336c8503bf570b866005abcc9abcdef",
    "link": "https://www.reddit.com/r/abcdef/comments/abcdef/1050_days_box_as_a_f2p/eieyt75/#",
    "subsubtype": "post",
    "subtype": "update",
    "type": "reddit"
  },
   "reddit": {
    "action": "updated",
    "author": {
      "link": "https://www.reddit.com/user/abcdef",
      "name": "abcdef",
      "username": "abcdef"
    },
    "boardname": "abcdef",
    "changes": {
      "content": {
        "previous": "<div class=\"md\"><p>Did you keep every single RR you ever pulled?</p>\n</div>",
        "updated": "<div class=\"md\"><p>Did you keep every single RR you ever pulled? It seems like you have a lot of dupes for no reason.</p>\n</div>"
      }
    },
    "created_at": "Wed, 13 Mar 2019 08:26:17 +0000",
    "forumid": "eeeee",
    "forumurl": "https://www.reddit.com/r/abcdef",
    "id": "ab336c8503bf570b866005abcc9abcdef",
    "link": "https://www.reddit.com/r/abcdef/comments/abcdef/1050_days_box_as_a_f2p/eieyt75/#",
    "parentid": "aaaaa",
    "sitepostid": "bbbbb",
    "subtype": "post",
    "threadid": "aaaaa",
    "type": "update"
  }
}

Updated created_at

The created at date has changed

{
  "compliance_type": "update",
  "interaction": {
    "author": {
      "link": "https://www.reddit.com/user/abcdef",
      "name": "abcdef",
      "username": "abcdef"
    },
    "id": "bb89e6603c975086ab3be3a9d70abcdef",
    "link": "https://www.reddit.com/r/abcdef/comments/abcdef/help_me_on_my_oil_n_water_trickthank_you_very_much/#",
    "subsubtype": "thread",
    "subtype": "update",
    "type": "reddit"
  },
  "reddit": {
    "action": "updated",
    "author": {
      "link": "https://www.reddit.com/user/abcdef",
      "name": "abcdef",
      "username": "abcdef"
    },
    "boardname": "abcdef",
    "changes": {
      "created_at": {
        "previous": "Wed, 13 Mar 2019 07:49:10 +0000",
        "updated": "Wed, 13 Mar 2019 07:49:31 +0000"
      }
    },
    "created_at": "Wed, 13 Mar 2019 08:34:50 +0000",
    "forumid": "eeeee",
    "forumurl": "https://www.reddit.com/r/abcdef",
    "id": "bb89e6603c975086ab3be3a9d70abcdef",
    "link": "https://www.reddit.com/r/abcdef/comments/abcdef/help_me_on_my_oil_n_water_trickthank_you_very_much/#",
    "sitepostid": "bbbbb",
    "subtype": "thread",
    "threadid": "bbbbb",
    "type": "update"
  }
}

Updated link

The link to the post/comment has changed

{
  "compliance_type": "update",
  "interaction": {
    "author": {
      "link": "https://www.reddit.com/user/abcdef",
      "name": "abcdef",
      "username": "abcdef"
    },
    "id": "3874db976d26545e850473265c0abcdef",
    "link": "https://www.reddit.com/comments/ax8s3w/turn_more_visitors_into_customers_with_yuspifys/#",
    "subsubtype": "thread",
    "subtype": "update",
    "type": "reddit"
  },
  "reddit": {
    "action": "updated",
    "author": {
      "link": "https://www.reddit.com/user/abcdef",
      "name": "abcdef",
      "username": "abcdef"
    },
    "boardname": "u_abcdef",
    "changes": {
      "link": {
        "updated": "https://www.reddit.com/comments/abcdef/turn_more_visitors_into_customers_with_yuspifys/#",
        "previous": "https://www.reddit.com/r/u_abcdef/comments/abcdef/turn_more_visitors_into_customers_with_yuspifys/#"
      }
    },
    "created_at": "Mon, 04 Mar 2019 17:08:19 +0000",
    "forumid": "aaaaa",
    "forumurl": "https://www.reddit.com/r/u_abcdef",
    "id": "3874db976d26545e850473265c0abcdef",
    "link": "https://www.reddit.com/comments/abcdef/turn_more_visitors_into_customers_with_yuspifys/#",
    "sitepostid": "bbbbb",
    "subtype": "thread",
    "threadid": "bbbbbb",
    "type": "update"
  }
}