curl --request GET \
--url https://api.example.com/orgs/{org_id}/nodes/{node_id}/diff/{commit_a}..{commit_b}{
"target_commit_id": "<string>",
"added": [
{
"entity_type": "<string>",
"entity_id": "<string>",
"entity_key": "<string>",
"object_id": "<string>",
"old_object_id": "<string>",
"new_object_id": "<string>"
}
],
"removed": [
{
"entity_type": "<string>",
"entity_id": "<string>",
"entity_key": "<string>",
"object_id": "<string>",
"old_object_id": "<string>",
"new_object_id": "<string>"
}
],
"modified": [
{
"entity_type": "<string>",
"entity_id": "<string>",
"entity_key": "<string>",
"object_id": "<string>",
"old_object_id": "<string>",
"new_object_id": "<string>"
}
],
"node_id": "<string>",
"base_commit_id": "<string>"
}Get diff between two commits for a node.
curl --request GET \
--url https://api.example.com/orgs/{org_id}/nodes/{node_id}/diff/{commit_a}..{commit_b}{
"target_commit_id": "<string>",
"added": [
{
"entity_type": "<string>",
"entity_id": "<string>",
"entity_key": "<string>",
"object_id": "<string>",
"old_object_id": "<string>",
"new_object_id": "<string>"
}
],
"removed": [
{
"entity_type": "<string>",
"entity_id": "<string>",
"entity_key": "<string>",
"object_id": "<string>",
"old_object_id": "<string>",
"new_object_id": "<string>"
}
],
"modified": [
{
"entity_type": "<string>",
"entity_id": "<string>",
"entity_key": "<string>",
"object_id": "<string>",
"old_object_id": "<string>",
"new_object_id": "<string>"
}
],
"node_id": "<string>",
"base_commit_id": "<string>"
}Successful Response
Response model for commit diff.
Target commit ID
Added entities
Show child attributes
Removed entities
Show child attributes
Modified entities
Show child attributes
Node ID (if node-specific)
Base commit ID