Skip to content

Commit 64d122c

Browse files
Merge branch 'main' into 370-add-support-for-filter_properties-to-query-database-api
2 parents 0029cf7 + 4a2bdb5 commit 64d122c

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

Src/Notion.Client/Api/Blocks/RequestParams/BlocksAppendChildrenParameters.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ namespace Notion.Client
55
public class BlocksAppendChildrenParameters : IBlocksAppendChildrenBodyParameters
66
{
77
public IEnumerable<IBlock> Children { get; set; }
8+
9+
public string After { get; set; }
810
}
911
}

Src/Notion.Client/Api/Blocks/RequestParams/IBlocksAppendChildrenBodyParameters.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,11 @@ public interface IBlocksAppendChildrenBodyParameters
88
{
99
[JsonProperty("children")]
1010
IEnumerable<IBlock> Children { get; set; }
11+
12+
/// <summary>
13+
/// The ID of the existing block that the new block should be appended after.
14+
/// </summary>
15+
[JsonProperty("after")]
16+
public string After { get; set; }
1117
}
1218
}

Src/Notion.Client/Models/Database/Database.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,11 @@ public class Database : IObject, IObjectModificationData
5252
public PartialUser CreatedBy { get; set; }
5353

5454
public PartialUser LastEditedBy { get; set; }
55+
56+
/// <summary>
57+
/// The public page URL if the page has been published to the web. Otherwise, null.
58+
/// </summary>
59+
[JsonProperty("public_url")]
60+
public string PublicUrl { get; set; }
5561
}
5662
}

Src/Notion.Client/Models/Page/Page.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,11 @@ public class Page : IObject, IObjectModificationData
6767
public PartialUser CreatedBy { get; set; }
6868

6969
public PartialUser LastEditedBy { get; set; }
70+
71+
/// <summary>
72+
/// The public page URL if the page has been published to the web. Otherwise, null.
73+
/// </summary>
74+
[JsonProperty("public_url")]
75+
public string PublicUrl { get; set; }
7076
}
7177
}

0 commit comments

Comments
 (0)