Skip to content

Commit 9a69985

Browse files
Added SyncApi feature
1 parent 1b0c1b7 commit 9a69985

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Following are Image Delivery API examples.
173173
The Sync API takes care of syncing your Contentstack data with your app and ensures that the data is always up-to-date by providing delta updates. Contentstack’s JavaScript SDK supports Sync API, which you can use to build powerful apps. Read through to understand how to use the Sync API with Contentstack JavaScript SDK.
174174
[Read Sync API documentation](https://docs.google.com/document/d/14IFRlmtOja5OPzlK1Q6DxW3auISEQNhX6opMYJcHVsI/).
175175

176-
#####Initial sync
176+
##### Initial sync
177177

178178
The Initial Sync process performs a complete sync of your app data. It returns all the published entries and assets of the specified stack in response.
179179

@@ -193,7 +193,7 @@ The response also contains a sync token, which you need to store, since this tok
193193
You can also fetch custom results in initial sync by using advanced sync queries.
194194

195195

196-
#####Sync pagination
196+
##### Sync pagination
197197

198198
If the result of the initial sync (or subsequent sync) contains more than 100 records, the response would be paginated. It provides pagination token in the response. You will need to use this token to get the next batch of data.
199199

@@ -207,7 +207,7 @@ If the result of the initial sync (or subsequent sync) contains more than 100 re
207207
if(err) throw err
208208
})
209209

210-
#####Subsequent sync
210+
##### Subsequent sync
211211

212212
You can use the sync token (that you receive after initial sync) to get the updated content next time. The sync token fetches only the content that was added after your last sync, and the details of the content that was deleted or updated.
213213

0 commit comments

Comments
 (0)