SkillHub
Referencediff

Diff two versions

GET
/diff

Query Parameters

refA*string
refB*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/diff?refA=string&refB=string"
{  "files": [    {      "path": "string",      "status": "added",      "patch": "string",      "binary": true    }  ],  "frontmatterDelta": {    "scalars": [      {        "field": "name",        "changeKind": "added",        "old": "string",        "new": "string"      }    ],    "lists": [      {        "field": "allowed-tools",        "added": [          "string"        ],        "removed": [          "string"        ]      }    ],    "metadata": [      {        "key": "string",        "changeKind": "added",        "old": "string",        "new": "string"      }    ]  }}