cURL
curl --request GET \ --url https://api.shelv.dev/v1/shelves/{id}/diff \ --header 'Authorization: Bearer <token>'
{ "files": [ { "patch": "<string>", "path": "<string>", "status": "added", "truncated": true } ], "from": 123, "shelfPublicId": "<string>", "summary": { "added": 1, "modified": 1, "removed": 1, "totalFiles": 1, "unchanged": 1 }, "to": 123 }
Compute per-file unified diffs between two versions of a shelf.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
^shf_[0-9a-f]{24}$
0 <= x <= 10
Version diff
Show child attributes