You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Cursor Based Pagination](#cursor-based-pagination)
62
63
-[REST API reference](#rest-api-reference)
63
64
-[Versioning](#versioning)
64
65
-[Reach out to us](#reach-out-to-us)
@@ -226,6 +227,25 @@ The benefits of using the "plain" version of the client, over the legacy version
226
227
- The ability to scope CMA client instance to a specific `spaceId`, `environmentId`, and `organizationId` when initializing the client.
227
228
- You can pass a concrete values to `defaults` and omit specifying these params in actual CMA methods calls.
228
229
230
+
## Cursor Based Pagination
231
+
232
+
Cursor-based pagination is supported on collection endpoints for content types, entries, and assets. To use cursor-based pagination, use the related entity methods `getAssetsWithCursor`, `getContentTypesWithCursor`, and `getEntriesWithCursor`
* Gets a collection of Content Types with cursor based pagination
511
+
* @param query - Object with cursor pagination parameters. Check the <a href="https://www.contentful.com/developers/docs/references/content-management-api/#/introduction/cursor-pagination">REST API reference</a> for more details.
512
+
* @return Promise for a collection of Content Types
* Gets a collection of Entries with cursor based pagination
796
+
* Warning: if you are using the select operator, when saving, any field that was not selected will be removed
797
+
* from your entry in the backend
798
+
* @param query - Object with cursor pagination parameters. Check the <a href="https://www.contentful.com/developers/docs/references/content-management-api/#/introduction/cursor-pagination">REST API reference</a> for more details.
* @param query - Object with search parameters. Check the <a href="https://www.contentful.com/developers/docs/javascript/tutorials/using-js-cda-sdk/#retrieving-entries-with-search-parameters">JS SDK tutorial</a> and the <a href="https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters">REST API reference</a> for more details.
@@ -963,6 +1045,46 @@ export default function createEnvironmentApi(makeRequest: MakeRequest) {
* Gets a collection of Assets with cursor based pagination
1051
+
* Warning: if you are using the select operator, when saving, any field that was not selected will be removed
1052
+
* from your entry in the backend
1053
+
* @param query - Object with cursor pagination parameters. Check the <a href="https://www.contentful.com/developers/docs/references/content-management-api/#/introduction/cursor-pagination">REST API reference</a> for more details.
* @param query - Object with search parameters. Check the <a href="https://www.contentful.com/developers/docs/javascript/tutorials/using-js-cda-sdk/#retrieving-entries-with-search-parameters">JS SDK tutorial</a> and the <a href="https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters">REST API reference</a> for more details.
@@ -993,6 +1115,7 @@ export default function createEnvironmentApi(makeRequest: MakeRequest) {
* Creates a Asset. After creation, call asset.processForLocale or asset.processForAllLocales to start asset processing.
998
1121
* @param data - Object representation of the Asset to be created. Note that the field object should have an upload property on asset creation, which will be removed and replaced with an url property when processing is finished.
0 commit comments