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
Copy file name to clipboardExpand all lines: Src/Notion.Client/Api/Pages/IPagesClient.cs
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,17 @@ namespace Notion.Client
5
5
{
6
6
publicinterfaceIPagesClient
7
7
{
8
-
Task<Page>CreateAsync(NewPagepage);
8
+
/// <summary>
9
+
/// Creates a new page in the specified database or as a child of an existing page.
10
+
///
11
+
/// If the parent is a database, the <see href="https://developers.notion.com/reference-link/page#property-value-object">property values</see> of the new page in the properties parameter must conform to the parent <see href="https://developers.notion.com/reference-link/database">database</see>'s property schema.
12
+
///
13
+
/// If the parent is a page, the only valid property is <strong>title</strong>.
Copy file name to clipboardExpand all lines: Src/Notion.Client/Api/Pages/PagesClient.cs
+19-8Lines changed: 19 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -14,24 +14,35 @@ public PagesClient(IRestClient client)
14
14
_client=client;
15
15
}
16
16
17
-
publicasyncTask<Page>CreateAsync(NewPagepage)
17
+
/// <summary>
18
+
/// Creates a new page in the specified database or as a child of an existing page.
19
+
///
20
+
/// If the parent is a database, the <see href="https://developers.notion.com/reference-link/page#property-value-object">property values</see> of the new page in the properties parameter must conform to the parent <see href="https://developers.notion.com/reference-link/database">database</see>'s property schema.
21
+
///
22
+
/// If the parent is a page, the only valid property is <strong>title</strong>.
0 commit comments