Skip to content

Commit 52fa7a2

Browse files
Add comments on public api 📝
1 parent 9d98ea1 commit 52fa7a2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Src/Notion.Client/Api/Blocks/IBlocksClient.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ public interface IBlocksClient
1111
/// <returns>Block</returns>
1212
Task<Block> RetrieveAsync(string blockId);
1313

14+
/// <summary>
15+
/// Updates the content for the specified block_id based on the block type.
16+
/// </summary>
17+
/// <param name="blockId"></param>
18+
/// <param name="updateBlock"></param>
19+
/// <returns>Block</returns>
1420
Task<Block> UpdateAsync(string blockId, IUpdateBlock updateBlock);
1521

1622
Task<PaginatedList<Block>> RetrieveChildrenAsync(string blockId, BlocksRetrieveChildrenParameters parameters = null);

0 commit comments

Comments
 (0)