There is no API that can retrieve the change history now.
You can’t also specify a revision for query in GET and get past records.
Instead, you can get it in DOM, or keep the information at each event and compare it.
For DOM, you might want to place a button (event)
to process to get the change history by DOM and then add a record while text processing with JS.
However, in your scenario, since it seems to be a little difficult in the operation when you take it in DOM, I think it is better to take the following workaround.
- Create an app to save change history.
- After each save success, use the event (submit.success) and register (POST) with record information in the app created in 1
when adding new records or editing records.
By doing this, the changed information remains as a record,
so such as with GET, you will be able to retrieve pre-change record information depending on the changed information or revision.
However, there is one problem in this case.
Because JS is used and the change history is saved in a record,
such as when you change an API record,updates in a way that JS does not fire, cannot be recorded.
>The reason we need this is to determine field changes after receiving Kintone webhooks on record edits
I wonder if the following is something you can do for above.
• Notify edits with kintone webhook
→You want to determine where it was edited where you received the webhook.
If that is the case, then create another app as described above,
I think that it is possible to do if the comparison processing is only made in the receiver.
>https://{host}.kintone.com/k/api/app/550/record/18/getChange.json
I could not find this API above at this official Kintone developer site and do not think the specification is published since the only APIs available are published on the site.