{
  "id": "content-rest-edit",
  "plugin": "simple",
  "action": "Change draft title and body through authenticated REST",
  "edit_path": "Actual HTTP POST /wp/v2/posts/{id}, browser session user 1",
  "fixture_result": {
    "http_status": 200
  },
  "events": [
    {
      "id": "25",
      "date": "2026-11-22 06:29:07",
      "logger": "SimplePostLogger",
      "level": "info",
      "message": "Updated {post_type} \"{post_title}\"",
      "occasionsID": "83da5bd7980f71e14cfacc366db59e74",
      "initiator": "wp_user",
      "native_context": [
        {
          "key": "post_id",
          "value": "10"
        },
        {
          "key": "post_type",
          "value": "post"
        },
        {
          "key": "post_title",
          "value": "Delivery policy: same-day packing"
        },
        {
          "key": "post_modified_gmt",
          "value": "2026-11-22 06:29:07"
        },
        {
          "key": "post_prev_post_title",
          "value": "Delivery policy: updated dispatch window"
        },
        {
          "key": "post_new_post_title",
          "value": "Delivery policy: same-day packing"
        },
        {
          "key": "post_prev_post_content",
          "value": "We dispatch in two working days."
        },
        {
          "key": "post_new_post_content",
          "value": "Orders enter packing on the same working day."
        },
        {
          "key": "post_content_diff_format",
          "value": "full_content_v1"
        },
        {
          "key": "post_prev_post_date",
          "value": "2026-11-22 06:25:26"
        },
        {
          "key": "post_new_post_date",
          "value": "2026-11-22 06:29:07"
        },
        {
          "key": "post_terms_added",
          "value": "[]"
        },
        {
          "key": "post_terms_removed",
          "value": "[]"
        },
        {
          "key": "_message_key",
          "value": "post_updated"
        },
        {
          "key": "_rest_api_request",
          "value": "true"
        },
        {
          "key": "_user_id",
          "value": "1"
        },
        {
          "key": "_user_login",
          "value": "review_admin"
        },
        {
          "key": "_user_email",
          "value": "review-admin@example.invalid"
        },
        {
          "key": "_user_role",
          "value": "administrator"
        },
        {
          "key": "_server_remote_addr",
          "value": "127.0.0.x"
        },
        {
          "key": "post_revision_id",
          "value": "19"
        }
      ]
    }
  ],
  "observed_codes": [
    "SimplePostLogger"
  ]
}
