1
0
mirror of https://github.com/dstotijn/go-notion.git synced 2025-06-06 23:36:14 +02:00

Commit Graph

  • b461ef999d
    Gracefully handle JSON decode error on erroneous API response (#51) main v0.11.0 bassettb 2023-02-28 13:08:08 -05:00
  • c6f2e5b343
    Don't panic when unmarshaling blocks (#50) v0.10.0 bassettb 2023-02-21 14:28:33 -05:00
  • 87a7d4c3cd
    Add support for audio block type (#48) v0.9.0 David Stotijn 2022-11-18 19:55:59 +01:00
  • de8cab86ca
    add block parent (#45) v0.8.0 bassettb 2022-10-27 05:45:25 -04:00
  • ebaecd3a42
    Fix typo David Stotijn 2022-09-11 20:30:04 +02:00
  • ac5fdc2f75
    Add testing via GitHub Actions David Stotijn 2022-09-11 20:22:32 +02:00
  • bf5c41b906
    Update README v0.7.0 David Stotijn 2022-09-07 22:16:39 +02:00
  • ce521c80bd
    Revert page prop changes (#44) David Stotijn 2022-09-07 21:39:44 +02:00
  • ed23d080ce
    Add support for new Comments endpoints (#43) David Stotijn 2022-09-04 20:48:51 +02:00
  • 1b585c661f
    Add is_toggleable behavior to heading_{1,2,3} block types (#41) David Stotijn 2022-09-03 21:57:36 +02:00
  • e399b8957d
    Update status property type behavior (#40) David Stotijn 2022-09-03 21:52:15 +02:00
  • a543e3936b
    Add example for Client.CreatePage method (#39) David Stotijn 2022-09-03 21:03:02 +02:00
  • 5545ade9a7
    Fix type of column_list.children (#38) David Stotijn 2022-09-03 20:53:05 +02:00
  • 8c9d956f3d
    Update to API version 2022-06-28 (#37) David Stotijn 2022-08-20 20:49:58 +02:00
  • 99f28cc1f4
    Fix relation property config types David Stotijn 2022-08-20 16:13:16 +02:00
  • eebbce29a5
    Add missing block_id parent type David Stotijn 2022-08-20 15:40:41 +02:00
  • f4c5cf83ad
    Add support for status property (#35) David Stotijn 2022-08-14 21:29:20 +02:00
  • b6e74a67d2
    Add description field to Database struct type (#34) David Stotijn 2022-08-14 19:40:30 +02:00
  • df02b41099
    Add support for is_inline for databases (#33) David Stotijn 2022-08-14 11:43:19 +02:00
  • 8519feef2f
    Add support for template mentions in RichText values (#32) David Stotijn 2022-08-14 11:15:15 +02:00
  • 51efbea8fd
    Add support for block colors (#31) David Stotijn 2022-08-13 21:34:29 +02:00
  • 1320ab0ee0
    Add created_by and last_edited_by support, add archived for DB (#30) David Stotijn 2022-08-13 19:46:00 +02:00
  • 264ec2c28f
    Handle changes introduced in version 2022-02-22 (#29) David Stotijn 2022-08-13 12:28:49 +02:00
  • a7179ae969
    Add parent property to blocks (#28) David Stotijn 2022-08-12 21:03:51 +02:00
  • 8c9f519e73
    Convert Block from a struct to an interface (#27) David Stotijn 2022-08-12 19:49:36 +02:00
  • 1bd13b04cf
    Remove faulty title param from UpdatePageParams v0.6.1 David Stotijn 2022-03-21 21:07:35 +01:00
  • 5af1e9a5a0
    Add caption property to code block type v0.6.0 David Stotijn 2022-01-31 18:01:24 +01:00
  • 63149ba664
    feat: add table block support (#24) saltbo 2022-02-01 00:55:58 +08:00
  • 97f740c22e Add missing endpoints to README v0.5.0 David Stotijn 2021-12-22 14:41:52 +01:00
  • 57876f99e3 Rename UpdatePageProps to UpdatePage David Stotijn 2021-12-22 14:33:58 +01:00
  • a14508d7c8 Add time_zone field to date prop type David Stotijn 2021-12-22 14:29:37 +01:00
  • 1284493f68 Fix failing test David Stotijn 2021-12-22 14:29:13 +01:00
  • 664a94d62b Add "Retrieve a page property item" endpoint David Stotijn 2021-12-22 14:04:22 +01:00
  • 4c24b26ca4 Add "Retrieve your token's bot user" endpoint David Stotijn 2021-12-22 12:01:52 +01:00
  • a5a67fad92 Add URL field to Database struct David Stotijn 2021-12-22 11:18:42 +01:00
  • 49ec529a16 Add "Delete block" endpoint David Stotijn 2021-12-22 11:12:11 +01:00
  • 50cebe29de Add file metadata to file DB page prop David Stotijn 2021-12-20 20:12:44 +01:00
  • a2507e3ec1 Add cover support, improve icon support David Stotijn 2021-12-20 19:54:19 +01:00
  • 2bfbe21a0d Fix response format of "Append Block Children" endpoint David Stotijn 2021-12-20 17:01:06 +01:00
  • f62677ef09 Add "Update database" endpoint David Stotijn 2021-12-20 11:11:03 +01:00
  • 2ebac2e1b2 Add "Update block" endpoint David Stotijn 2021-12-18 14:19:51 +01:00
  • 801d8f7cc9 Add missing currency enum values for NumberFormat David Stotijn 2021-12-17 18:17:46 +01:00
  • 00679f7e8f Fix casing of NumberFormatYuan const David Stotijn 2021-12-17 18:14:31 +01:00
  • 74663ed1b6 Enumerate rollup function values David Stotijn 2021-12-17 18:12:14 +01:00
  • 52e133b4e8 Add name field to DB (page) props David Stotijn 2021-12-17 18:03:53 +01:00
  • 9fc88f927b Add template block type David Stotijn 2021-12-17 17:45:21 +01:00
  • c4783f697b Add synced_block block type David Stotijn 2021-12-17 16:21:59 +01:00
  • 6b75ac5688 Add link_to_page block type David Stotijn 2021-12-17 13:21:51 +01:00
  • 8e676e0df8 Add support for link_preview block type and rich text mentions David Stotijn 2021-12-17 13:14:55 +01:00
  • 1ee9d231ed Add table_of_contents, breadcrumb and column (list) block types David Stotijn 2021-12-17 13:05:55 +01:00
  • 876532e02f Add divider block type David Stotijn 2021-12-17 12:37:28 +01:00
  • 0300613dd4 Add equation block type David Stotijn 2021-12-17 12:31:39 +01:00
  • d2a9540ff4 Add misc media and bookmark block types David Stotijn 2021-12-17 12:28:32 +01:00
  • 9051d940b1 Add embed block type David Stotijn 2021-12-17 11:18:13 +01:00
  • 557c032883 Add child_database block type David Stotijn 2021-12-16 13:14:23 +01:00
  • e9dfe659c0 Add code block type David Stotijn 2021-12-16 12:57:03 +01:00
  • 0060b295c2 Add quote block type, simplify callout block type David Stotijn 2021-12-16 11:54:23 +01:00
  • a45f658ecc Add callout block type David Stotijn 2021-12-13 11:42:03 +01:00
  • a0926892c2
    Add support for Page's Icon retrieval and updates (#21) Lucas 2021-12-09 17:57:08 +01:00
  • 135ef8c421
    Support retrieve a block (#19) Nozomi Morimoto 2021-12-10 00:44:31 +09:00
  • 5e7e8ed54c Add "create database" endpoint v0.4.0 David Stotijn 2021-07-20 22:50:53 +02:00
  • ccd1bed559 Add URL field to Page type David Stotijn 2021-07-20 20:57:27 +02:00
  • 597978fa0d Add Parent field to Database type David Stotijn 2021-07-20 20:48:35 +02:00
  • 7f6480a766 Update README, complete "Write tests" task David Stotijn 2021-05-27 20:54:00 +02:00
  • bba60aaa7f Add tests for "search" endpoint v0.3.3 David Stotijn 2021-05-27 20:50:34 +02:00
  • 5197b070b9 Fix faulty search sort type, add consts for sort props David Stotijn 2021-05-27 20:50:04 +02:00
  • 132dd31efd Add tests for "list users" endpoint David Stotijn 2021-05-25 21:16:56 +02:00
  • 13330d6b29 Add tests for "retrieve a user" endpoint David Stotijn 2021-05-25 21:01:32 +02:00
  • 969ba033ff
    Enable empty DatabaseQueryFilter (#15) v0.3.2 Alexandre Falardeau 2021-05-25 12:24:52 -04:00
  • c675641a4c Fix database page property types v0.3.1 David Stotijn 2021-05-24 18:00:20 +02:00
  • 14d2e8c377
    Add test case for creating page with database parent (#10) sivchari 2021-05-25 00:07:57 +09:00
  • 1d8c71b79b Add missing database property types v0.3.0 David Stotijn 2021-05-24 16:57:28 +02:00
  • e5130d1fde Fix incorrect types for Formula, Relation and Rollup page props David Stotijn 2021-05-24 16:33:03 +02:00
  • 7e83ec7aec Add custom type for Notion date properties with optional time v0.2.0 David Stotijn 2021-05-23 14:02:17 +02:00
  • 00a77fe3a4 Add tests for "append block children" endpoint v0.1.5 David Stotijn 2021-05-22 23:37:52 +02:00
  • ebabf2cf70 Add tests for "retrieve block children" endpoint David Stotijn 2021-05-22 20:38:44 +02:00
  • ee6b002819 Add tests for "update page properties" endpoint v0.1.4 David Stotijn 2021-05-22 18:45:33 +02:00
  • 9ed2a6f1c1
    Merge pull request #6 from mmmommm/fix-typo v0.1.3 David Stotijn 2021-05-22 14:18:08 +02:00
  • d78e9e3f8e fix typo mmmommm 2021-05-22 20:57:19 +09:00
  • 55aa9db5c7 Add tests for "create page" endpoint David Stotijn 2021-05-19 22:21:53 +02:00
  • 063bb045e4 Add tests for "find page by ID" endpoint David Stotijn 2021-05-19 20:46:50 +02:00
  • d087d4b000 Add tests for "query database" endpoint v0.1.2 David Stotijn 2021-05-18 21:19:03 +02:00
  • ce7d6da4c6 Fix missing database page properties, use PageParent type David Stotijn 2021-05-18 21:18:30 +02:00
  • c16fdfbc88 Use struct pointers for various DatabaseQueryFilter fields v0.1.1 David Stotijn 2021-05-17 22:00:05 +02:00
  • 0e0f6c77aa Add tests for NewClient and Client.FindDatabaseByID David Stotijn 2021-05-17 21:08:13 +02:00
  • d419979b00 Fix typo in README David Stotijn 2021-05-17 21:07:39 +02:00
  • a9f18d3209 Update README David Stotijn 2021-05-16 00:13:01 +02:00
  • 843e655c11 Add search endpoint support v0.1.0 David Stotijn 2021-05-15 23:06:37 +02:00
  • 874858ea2a Add "list users" endpoint support David Stotijn 2021-05-15 20:50:47 +02:00
  • 9b807dd473 Add "retrieve a user" endpoint support David Stotijn 2021-05-15 20:29:37 +02:00
  • 019301c714 Remove stray code David Stotijn 2021-05-15 20:17:21 +02:00
  • 205f94cc89 Add "append block children" endpoint support David Stotijn 2021-05-15 20:16:04 +02:00
  • cd696c1624 Add "retrieve block children" endpoint support David Stotijn 2021-05-15 19:04:57 +02:00
  • 6eeae1f900 Update README David Stotijn 2021-05-15 18:10:56 +02:00
  • 304d7d2d8c Remove stray log call David Stotijn 2021-05-15 18:06:34 +02:00
  • e32f7422cd Add "update page properties" endpoint support David Stotijn 2021-05-15 18:06:11 +02:00
  • b2af8b7d0b Add "create a page" endpoint David Stotijn 2021-05-15 13:42:01 +02:00
  • 955d10b769 Update README David Stotijn 2021-05-15 00:21:01 +02:00
  • 14a12ab965 Fix error message when newRequest returns err David Stotijn 2021-05-15 00:20:11 +02:00
  • 807f08dace Add endpoint for getting page by ID David Stotijn 2021-05-15 00:19:30 +02:00