Get what a change changed
GET/api/v1/catalog/resources/{id}/changes/{change}/diff
The fields one change touched, each with its value before and after.
List elements are compared by position; values are capped at 2 KB
and the list at 100 fields (truncated).
Requires the catalog:resource:read scope.
Authorization
Parameters
Path parameters
idstring requiredThe resource's ID.changestring requiredThe change's ID.
Responses
200
The diff.
dataChangeDiffShow ChangeDiff properties
change_idstringfieldsarray of objectpathstringfromanytoany
truncatedboolean
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks a scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
404
Nothing with this ID (or slug) exists in the organization (NOT_FOUND).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X GET 'https://evohub.io/api/v1/catalog/resources/res_6b8d0f2a4c6e8a1c3e5b7d9f1a3c5e7b/changes/rch_5c2e8a1f4b7d4e9a8c3f6b0d2e4a7c91/diff' \
-H 'Authorization: Bearer <TOKEN>'
