x402

Diff JSON (x402)

Compare two JSON objects and return structured diff. Shows added, removed, and changed fields with paths and values. Algorithmic.

get/x402/v2/diff-json

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/diff-json
  • Auth: none required

Query parameters

afterunknown required
beforeunknown required

Response

Success

identicalboolean

Example response

{
  "added": [],
  "changed": [
    {
      "path": "/version",
      "new_value": 2,
      "old_value": 1
    }
  ],
  "removed": [],
  "identical": false,
  "added_count": 0,
  "changed_count": 1,
  "removed_count": 0
}

Changes

No recorded changes to this operation across all 1 revision of this API.