Skip to content

Commit 7f69d47

Browse files
committed
More info on the take parameter
1 parent 998c37f commit 7f69d47

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

15/umbraco-cms/reference/content-delivery-api/media-delivery-api.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ To use the Media Delivery API you must first enable it. Even if the Content Deli
2121
The Media Delivery API is enabled by adding the `Media` section to the `DeliveryApi` configuration in `appsettings.json`:
2222

2323
{% code title="appsettings.json" %}
24+
2425
```json
2526
{
2627
"Umbraco": {
@@ -37,6 +38,7 @@ The Media Delivery API is enabled by adding the `Media` section to the `Delivery
3738
}
3839
}
3940
```
41+
4042
{% endcode %}
4143

4244
As this configuration sample illustrates, it is possible to restrict public access to media independently from content. As with the Content Delivery API, media is publicly accessible by default when the Media Delivery API is enabled.
@@ -182,7 +184,7 @@ Amount of items to skip
182184
{% endswagger-parameter %}
183185

184186
{% swagger-parameter in="query" name="take" type="Integer" required="false" %}
185-
Amount of items to take
187+
Amount of items to take. Type: Integer. Default: 10. Limits: No limits. Accepts 0.
186188
{% endswagger-parameter %}
187189

188190
{% swagger-parameter in="header" name="Api-Key" type="String" required="false" %}

0 commit comments

Comments
 (0)