@@ -52,12 +52,13 @@ public BlockPreviewApiController(
52
52
/// Renders a preview for a grid block using the associated Razor view or ViewComponent.
53
53
/// </summary>
54
54
/// <param name="blockData">The JSON content data of the block.</param>
55
+ /// <param name="nodeKey">The <see cref="Guid"/> that represents the Umbraco node.</param>
55
56
/// <param name="blockEditorAlias">The alias of the block editor</param>
56
57
/// <param name="contentElementAlias">The alias of the content being rendered</param>
57
58
/// <param name="culture">The current culture</param>
58
- /// <param name="documentTypeUnique">The <see cref="Guid"/> that represents the Umbraco node</param>
59
+ /// <param name="documentTypeUnique">The <see cref="Guid"/> that represents the Umbraco node content type </param>
59
60
/// <param name="contentUdi">The <see cref="Cms.Core.Udi"/> that represents the content element</param>
60
- /// <param name="contentUdi ">The <see cref="Cms.Core.Udi"/> that represents the settings element</param>
61
+ /// <param name="settingsUdi ">The <see cref="Cms.Core.Udi"/> that represents the settings element</param>
61
62
/// <returns>The markup to render in the preview.</returns>
62
63
[ HttpPost ]
63
64
[ ProducesResponseType ( typeof ( string ) , 200 ) ]
@@ -97,9 +98,11 @@ public async Task<IActionResult> PreviewGridBlock(
97
98
/// Renders a preview for a list block using the associated Razor view or ViewComponent.
98
99
/// </summary>
99
100
/// <param name="blockData">The JSON content data of the block.</param>
101
+ /// <param name="nodeKey">The <see cref="Guid"/> that represents the Umbraco node.</param>
100
102
/// <param name="blockEditorAlias">The alias of the block editor</param>
101
103
/// <param name="contentElementAlias">The alias of the content being rendered</param>
102
104
/// <param name="culture">The current culture</param>
105
+ /// <param name="documentTypeUnique">The <see cref="Guid"/> that represents the Umbraco node content type</param>
103
106
/// <returns>The markup to render in the preview.</returns>
104
107
[ HttpPost ]
105
108
[ ProducesResponseType ( typeof ( string ) , 200 ) ]
@@ -139,9 +142,11 @@ public async Task<IActionResult> PreviewListBlock(
139
142
/// Renders a preview for a rich text block using the associated Razor view or ViewComponent.
140
143
/// </summary>
141
144
/// <param name="blockData">The JSON content data of the block.</param>
145
+ /// <param name="nodeKey">The <see cref="Guid"/> that represents the Umbraco node.</param>
142
146
/// <param name="blockEditorAlias">The alias of the block editor</param>
143
147
/// <param name="contentElementAlias">The alias of the content being rendered</param>
144
148
/// <param name="culture">The current culture</param>
149
+ /// <param name="documentTypeUnique">The <see cref="Guid"/> that represents the Umbraco node content type</param>
145
150
/// <returns>The markup to render in the preview.</returns>
146
151
[ HttpPost ]
147
152
[ ProducesResponseType ( typeof ( string ) , 200 ) ]
0 commit comments