Skip to content

Commit 857dbb5

Browse files
author
alfredbrockotter
committed
docs: Added itemsFeedAll example
closes #14
1 parent 9218dfd commit 857dbb5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,17 @@ npm i rxjs --save (because this is a peer dependency of the Kentico Kontent Deli
5151
## Note:
5252
By default Nuxt can only work with promises. Therefor you always use the "toPromise" method provided by the Kentico Kontent Delivery SDK! RxJs operator's are not supported at the moment.
5353

54+
## Generating
55+
When using a static generated deployment you may need to use the [items-feed](https://docs.kontent.ai/reference/api-changelog#a-delivery-api-limitation) endpoint when generating your site (because the items endpoint has a rate limitation).
56+
57+
```javascript
58+
59+
this.$deliveryClient.itemsFeedAll()
60+
.toPromise()
61+
.then(response => console.log('DeliveryClient Response', response));
62+
63+
```
64+
5465
## Caching
5566
API calls can be "cached" (they will be stored in memory) client side via the "viaCache" method.
5667

0 commit comments

Comments
 (0)