Notion API 見出し(heading)の中身

Notion

見出し(heading)

当ページはBlock Objectの テキスト heading_1 heading_2 heading_3 に関して記述しています。

Notion API リファレンス

Headings

Block
A block object represents a piece of content within Notion. The API translates the headings, toggles, paragraphs, lists, media, and more that you can interact with in the Notion UI as different block type objects. For example, the following block object represents a Heading 2 in the Notion UI: Use t...
https://developers.notion.com/reference/block#headings

見出し1

Notion画面
Notion画面
RESPONSES
{'archived': False,
 'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
 'created_time': '2023-03-19T11:54:00.000Z',
 'has_children': False,
 'heading_1': {'color': 'default',
               'is_toggleable': False,
               'rich_text': [{'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'ABCDE',
                              'text': {'content': 'ABCDE', 'link': None},
                              'type': 'text'}]},
 'id': '14dfc604-1abc-43c9-9fdd-2b1fbfb55691',
 'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
                    'object': 'user'},
 'last_edited_time': '2023-03-20T15:18:00.000Z',
 'object': 'block',
 'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
            'type': 'page_id'},
 'type': 'heading_1'}

見出し2

Notion画面
Notion画面
RESPONSES
{'archived': False,
 'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
 'created_time': '2023-03-20T15:39:00.000Z',
 'has_children': False,
 'heading_2': {'color': 'default',
               'is_toggleable': False,
               'rich_text': [{'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'ABCDE',
                              'text': {'content': 'ABCDE', 'link': None},
                              'type': 'text'}]},
 'id': 'd3073739-522d-4cd2-9322-ea2b4e352267',
 'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
                    'object': 'user'},
 'last_edited_time': '2023-03-20T15:39:00.000Z',
 'object': 'block',
 'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
            'type': 'page_id'},
 'type': 'heading_2'}

見出し3

Notion画面
Notion画面
RESPONSES
{'archived': False,
 'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
 'created_time': '2023-03-20T15:39:00.000Z',
 'has_children': False,
 'heading_3': {'color': 'default',
               'is_toggleable': False,
               'rich_text': [{'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'ABCDE',
                              'text': {'content': 'ABCDE', 'link': None},
                              'type': 'text'}]},
 'id': 'd3073739-522d-4cd2-9322-ea2b4e352267',
 'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
                    'object': 'user'},
 'last_edited_time': '2023-03-20T15:40:00.000Z',
 'object': 'block',
 'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
            'type': 'page_id'},
 'type': 'heading_3'}

見出し「太字」

※”CD”が太字

Notion画面
Notion画面
RESPONSES
{'archived': False,
 'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
 'created_time': '2023-03-19T11:54:00.000Z',
 'has_children': False,
 'heading_1': {'color': 'default',
               'is_toggleable': False,
               'rich_text': [{'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'AB',
                              'text': {'content': 'AB', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': True,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'CD',
                              'text': {'content': 'CD', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'E',
                              'text': {'content': 'E', 'link': None},
                              'type': 'text'}]},
 'id': '14dfc604-1abc-43c9-9fdd-2b1fbfb55691',
 'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
                    'object': 'user'},
 'last_edited_time': '2023-03-20T15:23:00.000Z',
 'object': 'block',
 'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
            'type': 'page_id'},
 'type': 'heading_1'}

見出し「斜体」

Notion画面
Notion画面
RESPONSES
{'archived': False,
 'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
 'created_time': '2023-03-19T11:54:00.000Z',
 'has_children': False,
 'heading_1': {'color': 'default',
               'is_toggleable': False,
               'rich_text': [{'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'AB',
                              'text': {'content': 'AB', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': True,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'CD',
                              'text': {'content': 'CD', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'E',
                              'text': {'content': 'E', 'link': None},
                              'type': 'text'}]},
 'id': '14dfc604-1abc-43c9-9fdd-2b1fbfb55691',
 'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
                    'object': 'user'},
 'last_edited_time': '2023-03-20T15:24:00.000Z',
 'object': 'block',
 'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
            'type': 'page_id'},
 'type': 'heading_1'}
127.0.0.1 - - [21/Mar/2023 00:26:18] "GET /cron/ HTTP/1.1" 200 -

見出し「下線」

Notion画面
Notion画面
RESPONSES
{'archived': False,
 'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
 'created_time': '2023-03-19T11:54:00.000Z',
 'has_children': False,
 'heading_1': {'color': 'default',
               'is_toggleable': False,
               'rich_text': [{'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'AB',
                              'text': {'content': 'AB', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': True},
                              'href': None,
                              'plain_text': 'CD',
                              'text': {'content': 'CD', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'E',
                              'text': {'content': 'E', 'link': None},
                              'type': 'text'}]},
 'id': '14dfc604-1abc-43c9-9fdd-2b1fbfb55691',
 'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
                    'object': 'user'},
 'last_edited_time': '2023-03-20T15:27:00.000Z',
 'object': 'block',
 'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
            'type': 'page_id'},
 'type': 'heading_1'}

見出し「取り消し線」

Notion画面
Notion画面
RESPONSES
{'archived': False,
 'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
 'created_time': '2023-03-19T11:54:00.000Z',
 'has_children': False,
 'heading_1': {'color': 'default',
               'is_toggleable': False,
               'rich_text': [{'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'AB',
                              'text': {'content': 'AB', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': True,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'CD',
                              'text': {'content': 'CD', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'E',
                              'text': {'content': 'E', 'link': None},
                              'type': 'text'}]},
 'id': '14dfc604-1abc-43c9-9fdd-2b1fbfb55691',
 'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
                    'object': 'user'},
 'last_edited_time': '2023-03-20T15:28:00.000Z',
 'object': 'block',
 'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
            'type': 'page_id'},
 'type': 'heading_1'}
127.0.0.1 - - [21/Mar/2023 00:28:55] "GET /cron/ HTTP/1.1" 200 -

見出し「コード」

Notion画面
Notion画面
RESPONSES
{'archived': False,
 'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
 'created_time': '2023-03-19T11:54:00.000Z',
 'has_children': False,
 'heading_1': {'color': 'default',
               'is_toggleable': False,
               'rich_text': [{'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'AB',
                              'text': {'content': 'AB', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': True,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'CD',
                              'text': {'content': 'CD', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'E',
                              'text': {'content': 'E', 'link': None},
                              'type': 'text'}]},
 'id': '14dfc604-1abc-43c9-9fdd-2b1fbfb55691',
 'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
                    'object': 'user'},
 'last_edited_time': '2023-03-20T15:29:00.000Z',
 'object': 'block',
 'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
            'type': 'page_id'},
 'type': 'heading_1'}
127.0.0.1 - - [21/Mar/2023 00:30:01] "GET /cron/ HTTP/1.1" 200 -

見出し「数式」

Notion画面
Notion画面
RESPONSES
{'archived': False,
 'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
 'created_time': '2023-03-19T11:54:00.000Z',
 'has_children': False,
 'heading_1': {'color': 'default',
               'is_toggleable': False,
               'rich_text': [{'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'AB',
                              'text': {'content': 'AB', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'equation': {'expression': 'CD'},
                              'href': None,
                              'plain_text': 'CD',
                              'type': 'equation'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'E',
                              'text': {'content': 'E', 'link': None},
                              'type': 'text'}]},
 'id': '14dfc604-1abc-43c9-9fdd-2b1fbfb55691',
 'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
                    'object': 'user'},
 'last_edited_time': '2023-03-20T15:30:00.000Z',
 'object': 'block',
 'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
            'type': 'page_id'},
 'type': 'heading_1'}

見出し「文字色(黄色)」

Notion画面
Notion画面
RESPONSES
{'archived': False,
 'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
 'created_time': '2023-03-19T11:54:00.000Z',
 'has_children': False,
 'heading_1': {'color': 'default',
               'is_toggleable': False,
               'rich_text': [{'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'AB',
                              'text': {'content': 'AB', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'yellow',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'CD',
                              'text': {'content': 'CD', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'E',
                              'text': {'content': 'E', 'link': None},
                              'type': 'text'}]},
 'id': '14dfc604-1abc-43c9-9fdd-2b1fbfb55691',
 'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
                    'object': 'user'},
 'last_edited_time': '2023-03-20T15:32:00.000Z',
 'object': 'block',
 'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
            'type': 'page_id'},
 'type': 'heading_1'}

見出し「背景色(黄色)」

Notion画面
Notion画面
RESPONSES
{'archived': False,
 'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
 'created_time': '2023-03-19T11:54:00.000Z',
 'has_children': False,
 'heading_1': {'color': 'default',
               'is_toggleable': False,
               'rich_text': [{'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'AB',
                              'text': {'content': 'AB', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'yellow_background',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'CD',
                              'text': {'content': 'CD', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'E',
                              'text': {'content': 'E', 'link': None},
                              'type': 'text'}]},
 'id': '14dfc604-1abc-43c9-9fdd-2b1fbfb55691',
 'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
                    'object': 'user'},
 'last_edited_time': '2023-03-20T15:33:00.000Z',
 'object': 'block',
 'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
            'type': 'page_id'},
 'type': 'heading_1'}
127.0.0.1 - - [21/Mar/2023 00:34:36] "GET /cron/ HTTP/1.1" 200 -

見出し「リンク」

Notion画面
Notion画面
RESPONSES
{'archived': False,
 'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
 'created_time': '2023-03-19T11:54:00.000Z',
 'has_children': False,
 'heading_1': {'color': 'default',
               'is_toggleable': False,
               'rich_text': [{'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'AB',
                              'text': {'content': 'AB', 'link': None},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': 'https://www.google.com/',
                              'plain_text': 'CD',
                              'text': {'content': 'CD',
                                       'link': {'url': 'https://www.google.com/'}},
                              'type': 'text'},
                             {'annotations': {'bold': False,
                                              'code': False,
                                              'color': 'default',
                                              'italic': False,
                                              'strikethrough': False,
                                              'underline': False},
                              'href': None,
                              'plain_text': 'E',
                              'text': {'content': 'E', 'link': None},
                              'type': 'text'}]},
 'id': '14dfc604-1abc-43c9-9fdd-2b1fbfb55691',
 'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
                    'object': 'user'},
 'last_edited_time': '2023-03-20T15:35:00.000Z',
 'object': 'block',
 'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
            'type': 'page_id'},
 'type': 'heading_1'}
プロフィール背景画像 プロフィール画像
名前:田中寛之
今まで約20年間、出版社、マスコミ、化粧品会社、システム会社・病院・クリニックにてシステムエンジニアとして勤務。現在、個人事業主「ONLINE-WORLD」として活動し、42歳からPythonを始めました!
プロフィール背景画像 プロフィール画像
名前:田中寛之
今まで約20年間、出版社、マスコミ、化粧品会社、システム会社・病院・クリニックにてシステムエンジニアとして勤務。現在、個人事業主「ONLINE-WORLD」として活動し、42歳からPythonを始めました!