{
  "id": "content-rest-edit",
  "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,
    "object_id": 10,
    "error_code": null
  },
  "expected_event": "content.post_changed",
  "events": [
    {
      "id": "27",
      "network_id": "1",
      "site_id": "1",
      "occurred_at": "2026-11-22 06:13:37.753195",
      "code": "content.post_changed",
      "category": "content",
      "action": "post_changed",
      "outcome": "stored_change",
      "severity": "notice",
      "actor_kind": "authenticated_user",
      "actor_id": "1",
      "subject_id": null,
      "object_type": "post",
      "object_id": "10",
      "channel": "rest",
      "payload": {
        "event_scope": "site",
        "source": "wordpress",
        "actor_label": "User #1",
        "subject_label": "Not applicable",
        "facts": {
          "post_type": "post",
          "revision_id": 19
        },
        "diffs": [
          {
            "field": "post_title",
            "type": "scalar",
            "before": null,
            "after": null,
            "availability": "redacted",
            "redacted": true
          },
          {
            "field": "post_content",
            "type": "scalar",
            "before": null,
            "after": null,
            "availability": "redacted",
            "redacted": true
          },
          {
            "field": "post_date",
            "type": "scalar",
            "before": null,
            "after": null,
            "availability": "redacted",
            "redacted": true
          }
        ],
        "collector": "core_allowlisted_v1",
        "observed_via": "wp_after_insert_post",
        "confidence": "successful_post_hook",
        "ip_context": {
          "mode": "unavailable",
          "reason": "not_collected_by_this_collector"
        },
        "incomplete_context": false,
        "truncated": false,
        "before_consistency": "prewrite_snapshot_not_serializable_against_concurrent_writes",
        "maintenance": null
      }
    }
  ],
  "observed_codes": [
    "content.post_changed"
  ],
  "status": "partially_captured",
  "retained_fields": [
    "post_content",
    "post_date",
    "post_title"
  ],
  "retained_fact_names": [
    "post_type",
    "revision_id"
  ],
  "attribution": [
    "authenticated_user; actor_id=1; channel=rest"
  ],
  "limitations": "The actual authenticated HTTP REST edit is recorded, but title/body text is not retained in the audit event. The authenticated account is not proof of the human controlling it.",
  "alternatives": "WordPress Revisions and REST client/request records.",
  "versions": {
    "logged_ai_free": "1.2.16",
    "wordpress": "7.1.5",
    "php": "8.5.4",
    "mariadb": "11.8.6",
    "woocommerce": "11.3.0",
    "order_storage": "HPOS"
  },
  "tested_at": "2026-11-22",
  "sample": "content-rest-edit.json",
  "screenshot": null
}
