Notion API テキスト(paragraph)の中身
目次
テキスト(paragraph)
当ページはBlock Objectの テキスト paragraph
に関して記述しています。
Notion API リファレンス
paragraph

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#paragraph
テキスト

RESPONSES
{'archived': False,
'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
'created_time': '2023-03-17T15:49:00.000Z',
'has_children': False,
'id': '423abb13-0871-4136-99fe-dd951a3ef54e',
'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
'object': 'user'},
'last_edited_time': '2023-03-19T11:27:00.000Z',
'object': 'block',
'paragraph': {'color': 'default',
'rich_text': [{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'あいうえお',
'text': {'content': 'あいうえお', 'link': None},
'type': 'text'}]},
'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
'type': 'page_id'},
'type': 'paragraph'}
テキスト「太字」

RESPONSES
{'archived': False,
'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
'created_time': '2023-03-17T15:49:00.000Z',
'has_children': False,
'id': '423abb13-0871-4136-99fe-dd951a3ef54e',
'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
'object': 'user'},
'last_edited_time': '2023-03-19T11:33:00.000Z',
'object': 'block',
'paragraph': {'color': 'default',
'rich_text': [{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'あいうえお',
'text': {'content': 'あいうえお', 'link': None},
'type': 'text'},
{'annotations': {'bold': True,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'かきくけこ',
'text': {'content': 'かきくけこ', 'link': None},
'type': 'text'},
{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'さしすせそ',
'text': {'content': 'さしすせそ', 'link': None},
'type': 'text'}]},
'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
'type': 'page_id'},
'type': 'paragraph'}
テキスト「斜体」

RESPONSES
{'archived': False,
'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
'created_time': '2023-03-17T15:49:00.000Z',
'has_children': False,
'id': '423abb13-0871-4136-99fe-dd951a3ef54e',
'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
'object': 'user'},
'last_edited_time': '2023-03-19T11:37:00.000Z',
'object': 'block',
'paragraph': {'color': 'default',
'rich_text': [{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'abcdef',
'text': {'content': 'abcdef', 'link': None},
'type': 'text'},
{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': True,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'gh',
'text': {'content': 'gh', 'link': None},
'type': 'text'},
{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'ijklmn',
'text': {'content': 'ijklmn', 'link': None},
'type': 'text'}]},
'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
'type': 'page_id'},
'type': 'paragraph'}
テキスト「下線」

RESPONSES
{'archived': False,
'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
'created_time': '2023-03-17T15:49:00.000Z',
'has_children': False,
'id': '423abb13-0871-4136-99fe-dd951a3ef54e',
'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
'object': 'user'},
'last_edited_time': '2023-03-19T11:41:00.000Z',
'object': 'block',
'paragraph': {'color': 'default',
'rich_text': [{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'abcdef',
'text': {'content': 'abcdef', 'link': None},
'type': 'text'},
{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': True},
'href': None,
'plain_text': 'gh',
'text': {'content': 'gh', 'link': None},
'type': 'text'},
{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'ijklmn',
'text': {'content': 'ijklmn', 'link': None},
'type': 'text'}]},
'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
'type': 'page_id'},
'type': 'paragraph'}
テキスト「取り消し線」

RESPONSES
{'archived': False,
'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
'created_time': '2023-03-17T15:49:00.000Z',
'has_children': False,
'id': '423abb13-0871-4136-99fe-dd951a3ef54e',
'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
'object': 'user'},
'last_edited_time': '2023-03-19T11:48:00.000Z',
'object': 'block',
'paragraph': {'color': 'default',
'rich_text': [{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'abcdef',
'text': {'content': 'abcdef', 'link': None},
'type': 'text'},
{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': True,
'underline': False},
'href': None,
'plain_text': 'gh',
'text': {'content': 'gh', 'link': None},
'type': 'text'},
{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'ijklmn',
'text': {'content': 'ijklmn', 'link': None},
'type': 'text'}]},
'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
'type': 'page_id'},
'type': 'paragraph'}
127.0.0.1 - - [19/Mar/2023 20:49:54] "GET /cron/ HTTP/1.1" 200 -
テキスト「コード」

RESPONSES
{'archived': False,
'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
'created_time': '2023-03-17T15:49:00.000Z',
'has_children': False,
'id': '423abb13-0871-4136-99fe-dd951a3ef54e',
'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
'object': 'user'},
'last_edited_time': '2023-03-19T11:50:00.000Z',
'object': 'block',
'paragraph': {'color': 'default',
'rich_text': [{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'abcdef',
'text': {'content': 'abcdef', 'link': None},
'type': 'text'},
{'annotations': {'bold': False,
'code': True,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'gh',
'text': {'content': 'gh', 'link': None},
'type': 'text'},
{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'ijklmn',
'text': {'content': 'ijklmn', 'link': None},
'type': 'text'}]},
'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
'type': 'page_id'},
'type': 'paragraph'}
テキスト「数式」

RESPONSES
{'archived': False,
'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
'created_time': '2023-03-17T15:49:00.000Z',
'has_children': False,
'id': '423abb13-0871-4136-99fe-dd951a3ef54e',
'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
'object': 'user'},
'last_edited_time': '2023-03-19T11:52:00.000Z',
'object': 'block',
'paragraph': {'color': 'default',
'rich_text': [{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'abcdef',
'text': {'content': 'abcdef', 'link': None},
'type': 'text'},
{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'equation': {'expression': 'gh'},
'href': None,
'plain_text': 'gh',
'type': 'equation'},
{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'ijklmn',
'text': {'content': 'ijklmn', 'link': None},
'type': 'text'}]},
'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
'type': 'page_id'},
'type': 'paragraph'}
テキスト「文字色(黄色)」

RESPONSES
{'archived': False,
'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
'created_time': '2023-03-19T11:54:00.000Z',
'has_children': False,
'id': '14dfc604-1abc-43c9-9fdd-2b1fbfb55691',
'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
'object': 'user'},
'last_edited_time': '2023-03-19T11:54:00.000Z',
'object': 'block',
'paragraph': {'color': 'default',
'rich_text': [{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'abcdef',
'text': {'content': 'abcdef', 'link': None},
'type': 'text'},
{'annotations': {'bold': False,
'code': False,
'color': 'yellow',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'gh',
'text': {'content': 'gh', 'link': None},
'type': 'text'},
{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'ijklmn',
'text': {'content': 'ijklmn', 'link': None},
'type': 'text'}]},
'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
'type': 'page_id'},
'type': 'paragraph'}
テキスト「背景色(黄色)」

RESPONSES
{'archived': False,
'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
'created_time': '2023-03-19T11:54:00.000Z',
'has_children': False,
'id': '14dfc604-1abc-43c9-9fdd-2b1fbfb55691',
'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
'object': 'user'},
'last_edited_time': '2023-03-19T11:56:00.000Z',
'object': 'block',
'paragraph': {'color': 'default',
'rich_text': [{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'abcdef',
'text': {'content': 'abcdef', 'link': None},
'type': 'text'},
{'annotations': {'bold': False,
'code': False,
'color': 'yellow_background',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'gh',
'text': {'content': 'gh', 'link': None},
'type': 'text'},
{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'ijklmn',
'text': {'content': 'ijklmn', 'link': None},
'type': 'text'}]},
'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
'type': 'page_id'},
'type': 'paragraph'}
テキスト「リンク」

RESPONSES
{'archived': False,
'created_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0', 'object': 'user'},
'created_time': '2023-03-19T11:54:00.000Z',
'has_children': False,
'id': '14dfc604-1abc-43c9-9fdd-2b1fbfb55691',
'last_edited_by': {'id': '7f764b4a-9d7e-4efd-8771-7ba2d1ff0ce0',
'object': 'user'},
'last_edited_time': '2023-03-19T11:58:00.000Z',
'object': 'block',
'paragraph': {'color': 'default',
'rich_text': [{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': None,
'plain_text': 'abcdef',
'text': {'content': 'abcdef', 'link': None},
'type': 'text'},
{'annotations': {'bold': False,
'code': False,
'color': 'default',
'italic': False,
'strikethrough': False,
'underline': False},
'href': 'https://www.google.com/',
'plain_text': 'gh',
'text': {'content': 'gh',
'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': 'ijklmn',
'text': {'content': 'ijklmn', 'link': None},
'type': 'text'}]},
'parent': {'page_id': 'da0073bc-27cc-415b-9898-b3bb97671b60',
'type': 'page_id'},
'type': 'paragraph'}


名前:田中寛之
今まで約20年間、出版社、マスコミ、化粧品会社、システム会社・病院・クリニックにてシステムエンジニアとして勤務。現在、個人事業主「ONLINE-WORLD」として活動し、42歳からPythonを始めました!


名前:田中寛之
今まで約20年間、出版社、マスコミ、化粧品会社、システム会社・病院・クリニックにてシステムエンジニアとして勤務。現在、個人事業主「ONLINE-WORLD」として活動し、42歳からPythonを始めました!