Synchronize changes in content items
GET https://deliver.kontent.ai/:environment_id/sync
Retrieve a list of delta updates to recently changed content items. The types of items you get is determined by the X-Continuation token you use.
You can follow the rest of the steps on how to sync changes.
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
X-Continuation | string | (Required) Determines which content changes to synchronize next. You get a new X-Continuation token every time you initialize a content synchronization or synchronize recent changes. | |
Accept | string |
RESPONSES
status: OK
{"items":[{"change_type":"changed_item","timestamp":"2023-04-12T13:03:06.1310204Z","data":{"system":{"id":"335d17ac-b6ba-4c6a-ae31-23c1193215cb","collection":"default","name":"Hello World","codename":"hello_world","language":"en-US","type":"article","sitemap_locations":[],"last_modified":"2019-03-27T13:21:11.38Z","workflow":"default","workflow_step":"published"},"elements":{"title":{"type":"text","name":"Title","value":"Hello World"}}}},{"change_type":"deleted_item","timestamp":"2023-04-12T13:06:06.4210204Z","data":{"system":{"id":"363d17ac-b6ba-4c6a-ae53-27c1172515cb","collection":"default","name":"Goodbye World","codename":"bye_world","language":"en-US","type":"article","sitemap_locations":[],"last_modified":"2019-03-27T13:21:11.38Z","workflow":"default","workflow_step":"published"},"elements":{"title":{"type":"text","name":"Title","value":"Goodbye World"}}}}]}