💡
This page was created for testing NorionRubyMapping. I thought this page was best suited to explain the update_block API, so I am presenting it as a use case. The following column_lists are generated by the following method. I will update the block in the left column using update_block API.

1.
🧱
BookmarkBlock

  • create blocks
    1. url=()
      1. caption.rich_text_objects=()

        2.
        🧱
        BulletedListItemBlock

        • create blocks
          1. color=()
            1. rich_text_array.rich_text_objects=()
              • new text
              • old text

              3.
              🧱
              CalloutBlock

              • create blocks
                1. color=()
                  1. rich_text_array.rich_text_objects=()
                    1. file_url=()
                      1. emoji=()
                        new text
                        new text
                        old text

                        4.
                        🧱
                        CodeBlock

                        • create blocks
                          1. language=()
                            1. caption.rich_text_objects=()
                              1. rich_text_array.rich_text_objects=()


                                5.
                                🧱
                                EmbedBlock

                                • create blocks
                                  1. caption.rich_text_objects=()
                                    1. url=()
                                      NotionRubyMapping v0.4.0
                                      NotionRubyMapping開発記録(21)

                                      6.
                                      🧱
                                      EquationBlock

                                      • create blocks
                                        1. equation=()

                                          7.
                                          🧱
                                          FileBlock

                                          • create blocks
                                            1. url=()
                                              1. caption.rich_text_objects=()

                                                8.

                                                • create blocks
                                                  1. color=()
                                                    1. rich_text_array.rich_text_objects=()

                                                      New Heading 1

                                                      Heading 1


                                                      9.

                                                      • create blocks
                                                        1. color=()
                                                          1. rich_text_array.rich_text_objects=()

                                                            New Heading 2

                                                            Heading 2


                                                            10.

                                                            • create blocks
                                                              1. color=()
                                                                1. rich_text_array.rich_text_objects=()

                                                                  New Heading 3

                                                                  Heading 3


                                                                  11.

                                                                  • create blocks
                                                                    1. url=()
                                                                      1. caption.rich_text_objects=()

                                                                         
                                                                        macOS logo
                                                                        macOS logo
                                                                        Notion logo
                                                                        Notion logo

                                                                        12.

                                                                        • create blocks
                                                                          1. color=()
                                                                            1. rich_text_array.rich_text_objects=()
                                                                              1. new text
                                                                              1. old text

                                                                              13.

                                                                              • create blocks
                                                                                1. color=()
                                                                                  1. rich_text_array.rich_text_objects=()
                                                                                    new paragraph text
                                                                                    old paragraph text

                                                                                    14.

                                                                                    • create blocks
                                                                                      1. url=()
                                                                                        1. caption.rich_text_objects=()
                                                                                          new caption

                                                                                          15.

                                                                                          • create blocks
                                                                                            1. xxx=()
                                                                                              1. rich_text_array.rich_text_objects=()
                                                                                                new text
                                                                                                old text

                                                                                                16.

                                                                                                • create blocks
                                                                                                  1. xxx=()

                                                                                                    17.

                                                                                                    • create blocks
                                                                                                      1. rich_text_array.rich_text_objects=()

                                                                                                        18.

                                                                                                        • create blocks
                                                                                                          1. checked=()
                                                                                                            1. rich_text_array.rich_text_objects=()
                                                                                                              new To Do
                                                                                                              old To Do

                                                                                                              19.

                                                                                                              • create blocks
                                                                                                                1. color=()
                                                                                                                  1. rich_text_array.rich_text_objects=()
                                                                                                                    New Toggle
                                                                                                                    Old Toggle

                                                                                                                    20.

                                                                                                                    • create blocks
                                                                                                                      1. color=()
                                                                                                                        1. rich_text_array.rich_text_objects=()

                                                                                                                          New Heading 1

                                                                                                                          • inside Toggle Heading 1

                                                                                                                          Toggle Heading 1

                                                                                                                          • inside Toggle Heading 1

                                                                                                                          21.

                                                                                                                          • create blocks
                                                                                                                            1. color=()
                                                                                                                              1. rich_text_array.rich_text_objects=()

                                                                                                                                New Heading 2

                                                                                                                                • inside Toggle Heading 2

                                                                                                                                Toggle Heading 2

                                                                                                                                • inside Toggle Heading 2

                                                                                                                                22.

                                                                                                                                • create blocks
                                                                                                                                  1. color=()
                                                                                                                                    1. rich_text_array.rich_text_objects=()

                                                                                                                                      New Heading 3

                                                                                                                                      • inside Toggle Heading 3

                                                                                                                                      Toggle Heading 3

                                                                                                                                      • inside Toggle Heading 3

                                                                                                                                      23.

                                                                                                                                      • create blocks
                                                                                                                                        1. url=()
                                                                                                                                          1. caption.rich_text_objects=()
                                                                                                                                            New caption
                                                                                                                                            Old caption

                                                                                                                                            Loading...