Diff between graph revisions
POST
/v1/diff
const url = 'http://localhost:8090/v1/diff';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"fromRev":1,"toRev":1,"entityId":"example","summary":true,"limit":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8090/v1/diff \ --header 'Content-Type: application/json' \ --data '{ "fromRev": 1, "toRev": 1, "entityId": "example", "summary": true, "limit": 1 }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
fromRev
required
integer
toRev
required
integer
entityId
string
summary
boolean
limit
integer
Examplegenerated
{ "fromRev": 1, "toRev": 1, "entityId": "example", "summary": true, "limit": 1}Responses
Section titled “ Responses ”Diff
