Adds feature: get a diff via API.