Categorygithub.com/psyark/notion
modulepackage
0.0.0-20240809070309-38392e07dcc0
Repository: https://github.com/psyark/notion.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package json は、標準のjsonの以下のルールを置き換えます - スライス型の nil は [] にエンコードする - スライス型の nil は empty として扱う一方、長さ0のスライスは empty として扱わない.

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Structs

The annotation object All rich text objects contain an annotations object that sets the styling for the rich text.
A block object represents a piece of content within Notion.
Bookmark.
Bulleted list item.
Callout.
Child database.
Child page.
Code.
Embed.
Equation.
All heading block objects, heading_1, heading_2, and heading_3, contain the following information within their corresponding objects:.
Link Preview block objects contain the originally pasted url:.
Paragraph.
PDF A PDF block object represents a PDF that has been embedded within a Notion page.
Synced block Similar to the Notion UI, there are two versions of a synced_block object: the original block that was created first and doesn't yet sync with anything else, and the duplicate block or blocks synced to the original.
To do.
Information about who owns this bot.
No description provided by the author
TODO.
Database objects describe the property schema of a database in Notion.
An emoji object contains information about an emoji character.
https://developers.notion.com/reference/errors.
📘The Notion API does not yet support uploading files to Notion.
External files An external file is any URL linked to in Notion that isn’t hosted by Notion.
Notion-hosted files All Notion-hosted files have a type of "file".
The filter object 🚧The timestamp filter condition does not require a property name.
Checkbox.
Date 📘For the after, before, equals, on_or_before, and on_or_after fields, if a date string with a time is provided, then the comparison is done with millisecond precision.If no timezone is provided, then the timezone defaults to UTC.
Files.
Formula The primary field of the formula filter condition object matches the type of the formula’s result.
Multi-select.
Number.
People You can apply a people filter condition to people, created_by, and last_edited_by database property types.
Relation.
Rich text.
Rollup A rollup database property can evaluate to an array, date, or number value.
Select.
Status.
Formula property values.
Mention Mention objects represent an inline mention of a database, date, link preview mention, page, template mention, or user.
Link Preview mention type object If a user opts to share a Link Preview as a mention, then the API handles the Link Preview mention as a rich text object with a type value of link_preview.
The select type object contains an array of objects representing the available options.
The select type object contains an array of objects representing the available options.
The Page object contains the page property values of a single Notion page.
No description provided by the author
The title, rich_text, relation and people property items of are returned as a paginated list object of individual property_item objects in the results.
Pagination Endpoints that return lists of objects support cursor-based pagination requests.
Pages, databases, and blocks are either located inside other pages, databases, and blocks, or are located at the top level of a workspace.
All database objects include a child properties object.
Formula A formula database property is rendered in the Notion UI as a column that contains values derived from a provided expression.
A property_item object describes the identifier, type, and value of a page property.
Date property values.
Multi-select A multi-select database property is rendered in the Notion UI as a column that contains values from a range of options.
Number A number database property is rendered in the Notion UI as a column that contains numeric values.
A relation database property is rendered in the Notion UI as column that contains relations, references to pages in another database, as values.
undocumented.
Rollup A rollup database property is rendered in the Notion UI as a column with values that are rollups, specific properties that are pulled from a related database.
Metadata that controls how a database property behaves.
Formula database property schema objects contain the following configuration within the formula property:.
Multi-select database property schema objects optionally contain the following configuration within the multi_select property:.
Number database property schema objects optionally contain the following configuration within the number property.
Select options.
Relation database property objects contain the following configuration within the relation property.
Rollup database property objects contain the following configuration within the rollup property:.
Select database property schema objects optionally contain the following configuration within the select property:.
UNDOCUMENTED.
Select A select database property is rendered in the Notion UI as a column that contains values from a selection of options.
Status.
UNDOCUMENTED.
A property value defines the identifier, type, and value of a page property in a page object.
Date property value objects contain the following data within the date property:.
UNDOCUMENTED.
Notion uses rich text to allow users to customize their content.
Equation Notion supports inline LaTeX equations as rich text object’s with a type value of "equation".
Text If a rich text object’s type value is "text", then the corresponding text field contains an object including the following: */.
No description provided by the author
TODO 生成.
A sort is a condition used to order the entries returned from a database query.
A group is a collection of options.
No description provided by the author
Template mention type object The content inside a template button in the Notion UI can include placeholder date and user mentions that populate when a template is duplicated.
No description provided by the author
The User object represents a user in a Notion workspace.
A user object's type property is"bot" when the user object represents a bot.
User objects that represent people have the type property set to "person".

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Nullable は empty | null | 値あり の三種類の状態を取りうるデータ型で、 omitempty JSONタグと併せて使います。 empty -> 出力はスキップされます null -> null が出力されます 値あり -> その値が出力されます.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author