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
@@ -95,7 +96,36 @@ A few additional configuration options will allow you to restrict access to the
95
96
96
97
Find a description of each of the configuration keys in the table below.
97
98
98
-
<table><thead><tr><thwidth="340">Configuration key</th><th>Description</th></tr></thead><tbody><tr><td><code>PublicAccess</code></td><td>Determines whether the enabled Delivery API should be publicly accessible or if access should require an API key.</td></tr><tr><td><code>ApiKey</code></td><td>Specifies the API key needed to authorize access to the API when public access is disabled. This setting is also used to access draft content for preview.</td></tr><tr><td><code>DisallowedContentTypeAliases</code> </td><td>Contains the aliases of the content types that should never be exposed through the Delivery API, regardless of any other configurations.</td></tr><tr><td><code>RichTextOutputAsJson</code></td><td>Enable outputting rich text content as JSON rather than the default HTML output. JSON can be a preferred format in many scenarios, not least because it supports the routing of internal links better than HTML does.</td></tr></tbody></table>
99
+
<table>
100
+
<thead>
101
+
<tr>
102
+
<th width="340">Configuration key</th>
103
+
<th>Description</th>
104
+
</tr>
105
+
</thead>
106
+
<tbody>
107
+
<tr>
108
+
<td><code>PublicAccess</code></td>
109
+
<td>Determines whether the enabled Delivery API should be publicly accessible or if access should require an API key.</td>
110
+
</tr>
111
+
<tr>
112
+
<td><code>ApiKey</code></td>
113
+
<td>Specifies the API key needed to authorize access to the API when public access is disabled. This setting is also used to access draft content for preview.</td>
<td>Contains the aliases of the content types that should never be exposed through the Delivery API.</td>
118
+
</tr>
119
+
<tr>
120
+
<td><code>AllowedContentTypeAliases</code></td>
121
+
<td>Contains the aliases of the content types that should be exposed through the Delivery API. This configuration takes precedence over the <code>DisallowedContentTypeAliases</code> so if there are any duplicates, they will be allowed regardless. If this configuration contains any aliases, all other aliases will not be exposed through the Delivery API. If the configuration is empty, all aliases will be exposed, unless they are included in <code>DisallowedContentTypeAliases</code></td>
122
+
</tr>
123
+
<tr>
124
+
<td><code>RichTextOutputAsJson</code></td>
125
+
<td>Enable outputting rich text content as JSON rather than the default HTML output. JSON can be a preferred format in many scenarios, not least because it supports the routing of internal links better than HTML does.</td>
0 commit comments