notion-sdk-net
notion-sdk-net copied to clipboard
A Notion SDK for .Net
The original `Mention` object allows to set ta date as follows: ``` mention.Mention.Date.Date = new Date { Start = ... } ``` This results in a serialized JSON that has...
## Description Adds support to read and write names for the file blocks. Now, when you retrieve a file block (uploaded or external file), the name of the file is...
## Description Fixes the typo made in `NotionAPIErrorCode.cs` for the gateway timeout error code. #408
Notion [announced](https://developers.notion.com/page/changelog#changes-for-april-2024) that they are deprecating the `archived` property and replacing it with `in_trash` on June 17, 2024.
## Description Adds support to read and write names for the file blocks. Now, when you retrieve a file block (uploaded or external file), the name of the file is...
Querying a database containing "button properties" that are new to Notion will fail with the following exception. Need an appropriate property class that can accept button properties. Newtonsoft.Json.JsonSerializationException: 'Error converting...
## Description Fixes #416 Added support for the new button property added to Notion. (ButtonProperty,ButtonPropertyValue) This fixes a problem that caused an exception when deserializing a query. The button property...
## Description Added support for the newly added "bad_gateway" error code. Fixes #420 ## Type of change Please delete options that are not relevant. - [x] New feature (non-breaking change...
## Description HTTP status code | Code | Description | Message -- | -- | -- | -- 502 | "bad_gateway" | Notion encountered an issue while attempting to complete...
## Description The Archived properties defined for Block, Page, and Database objects have been deprecated and replaced with new InTrash properties. The API reference has not yet been edited to...