notion-ruby-client 0.0.8 → 0.1.0.pre.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +1 -0
  3. data/.gitignore +7 -0
  4. data/.rubocop.yml +9 -0
  5. data/CHANGELOG.md +19 -0
  6. data/Gemfile.lock +29 -7
  7. data/README.md +245 -55
  8. data/bin/console +31 -0
  9. data/lib/notion/api/endpoints/blocks.rb +35 -7
  10. data/lib/notion/api/endpoints/databases.rb +65 -37
  11. data/lib/notion/api/endpoints/pages.rb +6 -6
  12. data/lib/notion/api/endpoints/search.rb +41 -0
  13. data/lib/notion/api/endpoints/users.rb +6 -3
  14. data/lib/notion/api/endpoints.rb +3 -1
  15. data/lib/notion/api/errors/too_many_requests.rb +15 -0
  16. data/lib/notion/api/errors.rb +0 -2
  17. data/lib/notion/config.rb +2 -0
  18. data/lib/notion/pagination/cursor.rb +5 -2
  19. data/lib/notion/version.rb +2 -2
  20. data/lib/notion-ruby-client.rb +2 -0
  21. data/notion-ruby-client.gemspec +3 -1
  22. data/spec/fixtures/notion/block.yml +146 -0
  23. data/spec/fixtures/notion/block_append_children.yml +76 -62
  24. data/spec/fixtures/notion/block_children.yml +80 -65
  25. data/spec/fixtures/notion/create_database.yml +67 -58
  26. data/spec/fixtures/notion/create_page.yml +68 -59
  27. data/spec/fixtures/notion/database.yml +78 -61
  28. data/spec/fixtures/notion/database_query.yml +81 -62
  29. data/spec/fixtures/notion/databases_list.yml +77 -60
  30. data/spec/fixtures/notion/page.yml +70 -57
  31. data/spec/fixtures/notion/paginated_block_children.yml +296 -242
  32. data/spec/fixtures/notion/paginated_database_query.yml +79 -62
  33. data/spec/fixtures/notion/paginated_databases_list.yml +78 -61
  34. data/spec/fixtures/notion/paginated_search.yml +301 -0
  35. data/spec/fixtures/notion/paginated_users_list.yml +143 -130
  36. data/spec/fixtures/notion/search.yml +160 -0
  37. data/spec/fixtures/notion/search_with_query.yml +152 -0
  38. data/spec/fixtures/notion/update_block.yml +148 -0
  39. data/spec/fixtures/notion/update_database.yml +152 -0
  40. data/spec/fixtures/notion/update_page.yml +71 -59
  41. data/spec/fixtures/notion/users.yml +69 -56
  42. data/spec/fixtures/notion/users_list.yml +143 -130
  43. data/spec/notion/api/endpoints/blocks_spec.rb +37 -11
  44. data/spec/notion/api/endpoints/databases_spec.rb +25 -17
  45. data/spec/notion/api/endpoints/pages_spec.rb +7 -16
  46. data/spec/notion/api/endpoints/search_spec.rb +26 -0
  47. data/spec/notion/api/endpoints/users_spec.rb +4 -4
  48. data/spec/notion/pagination/cursor_spec.rb +126 -0
  49. metadata +52 -8
  50. data/.rspec_status +0 -19
  51. data/notion-ruby-client-0.0.4.gem +0 -0
  52. data/scratchpad.rb +0 -22
  53. data/screenshots/create_notion_bot.png +0 -0
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+ require 'active_support/core_ext/hash/except'
2
3
  require 'faraday'
3
4
  require 'faraday_middleware'
4
5
  require 'json'
@@ -17,6 +18,7 @@ require_relative 'notion/api/errors/notion_error'
17
18
  require_relative 'notion/api/error'
18
19
  require_relative 'notion/api/errors'
19
20
  require_relative 'notion/api/errors/internal_error'
21
+ require_relative 'notion/api/errors/too_many_requests'
20
22
  require_relative 'notion/faraday/response/raise_error'
21
23
  require_relative 'notion/faraday/response/wrap_error'
22
24
  require_relative 'notion/faraday/connection'
@@ -15,10 +15,12 @@ Gem::Specification.new do |s|
15
15
  s.homepage = 'http://github.com/orbit-love/notion-ruby-client'
16
16
  s.licenses = ['MIT']
17
17
  s.summary = 'Notion API client for Ruby.'
18
+ s.add_dependency 'activesupport'
19
+ s.add_dependency 'dotenv'
18
20
  s.add_dependency 'faraday', '>= 1.0'
19
21
  s.add_dependency 'faraday_middleware'
20
22
  s.add_dependency 'hashie'
21
- s.add_development_dependency 'rake', '~> 10'
23
+ s.add_development_dependency 'rake', '~> 13'
22
24
  s.add_development_dependency 'rspec'
23
25
  s.add_development_dependency 'rubocop', '~> 0.82.0'
24
26
  s.add_development_dependency 'rubocop-performance', '~> 1.5.2'
@@ -0,0 +1,146 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.notion.com/v1/blocks/32af3324-ba02-4516-ae88-5728a4d569f4
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json; charset=utf-8
12
+ User-Agent:
13
+ - Notion Ruby Client/0.0.8
14
+ Authorization:
15
+ - Bearer <NOTION_API_TOKEN>
16
+ Notion-Version:
17
+ - '2021-08-16'
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Date:
26
+ - Sun, 29 Aug 2021 17:45:01 GMT
27
+ Content-Type:
28
+ - application/json; charset=utf-8
29
+ Transfer-Encoding:
30
+ - chunked
31
+ Connection:
32
+ - keep-alive
33
+ X-Dns-Prefetch-Control:
34
+ - 'off'
35
+ X-Frame-Options:
36
+ - SAMEORIGIN
37
+ Strict-Transport-Security:
38
+ - max-age=5184000; includeSubDomains
39
+ X-Download-Options:
40
+ - noopen
41
+ X-Content-Type-Options:
42
+ - nosniff
43
+ X-Xss-Protection:
44
+ - 1; mode=block
45
+ Referrer-Policy:
46
+ - same-origin
47
+ Content-Security-Policy:
48
+ - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
49
+ https://apis.google.com https://api.amplitude.com https://widget.intercom.io
50
+ https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
51
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
52
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
53
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
54
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
55
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
56
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
57
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
58
+ https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
59
+ https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
60
+ https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
61
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
62
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
63
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
64
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
65
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
66
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
67
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
68
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
69
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
70
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
71
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
72
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
73
+ X-Content-Security-Policy:
74
+ - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
75
+ https://apis.google.com https://api.amplitude.com https://widget.intercom.io
76
+ https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
77
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
78
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
79
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
80
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
81
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
82
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
83
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
84
+ https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
85
+ https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
86
+ https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
87
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
88
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
89
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
90
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
91
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
92
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
93
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
94
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
95
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
96
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
97
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
98
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
99
+ X-Webkit-Csp:
100
+ - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
101
+ https://apis.google.com https://api.amplitude.com https://widget.intercom.io
102
+ https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
103
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
104
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
105
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
106
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
107
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
108
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
109
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
110
+ https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
111
+ https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
112
+ https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
113
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
114
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
115
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
116
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
117
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
118
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
119
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
120
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
121
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
122
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
123
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
124
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
125
+ Set-Cookie:
126
+ - notion_browser_id=5e3ae42a-9c10-4632-bbd6-f8635f637d51; Domain=www.notion.so;
127
+ Path=/; Expires=Wed, 07 May 2053 19:31:41 GMT; Secure
128
+ Etag:
129
+ - W/"1c9-RV2WR8+djapd2GV8p8VntQ5R7zI"
130
+ Vary:
131
+ - Accept-Encoding
132
+ Cf-Cache-Status:
133
+ - DYNAMIC
134
+ Expect-Ct:
135
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
136
+ Server:
137
+ - cloudflare
138
+ Cf-Ray:
139
+ - 68679732dfea3acb-CDG
140
+ body:
141
+ encoding: UTF-8
142
+ string: '{"object":"block","id":"32af3324-ba02-4516-ae88-5728a4d569f4","created_time":"2021-05-01T17:13:00.000Z","last_edited_time":"2021-08-29T17:18:00.000Z","has_children":true,"type":"paragraph","paragraph":{"text":[{"type":"text","text":{"content":"A
143
+ paragraph with childrens","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"A
144
+ paragraph with childrens","href":null}]}}'
145
+ recorded_at: Sun, 29 Aug 2021 17:45:01 GMT
146
+ recorded_with: VCR 6.0.0
@@ -2,18 +2,20 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: patch
5
- uri: https://api.notion.com/v1/blocks/723578f1-6e51-450c-8ee1-09158c19fd4c/children
5
+ uri: https://api.notion.com/v1/blocks/32af3324-ba02-4516-ae88-5728a4d569f4/children
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"id":"723578f1-6e51-450c-8ee1-09158c19fd4c","children":[{"object":"block","type":"heading_2","heading_2":{"text":[{"type":"text","text":{"content":"Another
9
- Heading"}}]}}]}'
8
+ string: '{"children":[{"object":"block","type":"paragraph","paragraph":{"text":[{"type":"text","text":{"content":"Another
9
+ children"}}]}}]}'
10
10
  headers:
11
11
  Accept:
12
12
  - application/json; charset=utf-8
13
13
  User-Agent:
14
- - Notion Ruby Client/0.0.4
14
+ - Notion Ruby Client/0.0.8
15
15
  Authorization:
16
16
  - Bearer <NOTION_API_TOKEN>
17
+ Notion-Version:
18
+ - '2021-08-16'
17
19
  Content-Type:
18
20
  - application/json
19
21
  Accept-Encoding:
@@ -24,18 +26,13 @@ http_interactions:
24
26
  message: OK
25
27
  headers:
26
28
  Date:
27
- - Sun, 25 Apr 2021 21:05:49 GMT
29
+ - Sun, 29 Aug 2021 17:45:06 GMT
28
30
  Content-Type:
29
31
  - application/json; charset=utf-8
30
32
  Transfer-Encoding:
31
33
  - chunked
32
34
  Connection:
33
35
  - keep-alive
34
- Set-Cookie:
35
- - __cfduid=d34e3fa5c4766df6ac5561da522624b761619384749; expires=Tue, 25-May-21
36
- 21:05:49 GMT; path=/; domain=.notion.com; HttpOnly; SameSite=Lax
37
- - notion_browser_id=e006545d-4f97-4497-8d9c-491386cb6d2a; Domain=www.notion.so;
38
- Path=/; Expires=Wed, 01 Jan 2053 22:52:29 GMT; Secure
39
36
  X-Dns-Prefetch-Control:
40
37
  - 'off'
41
38
  X-Frame-Options:
@@ -54,82 +51,99 @@ http_interactions:
54
51
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
55
52
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
56
53
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
57
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
58
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
59
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
60
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
61
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
62
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
54
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
55
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
56
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
57
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
58
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
59
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
60
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
61
+ https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
63
62
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
64
63
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
65
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
66
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
67
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
68
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
69
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
70
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
71
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
72
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
73
- media-src https: http:'
64
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
65
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
66
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
67
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
68
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
69
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
70
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
71
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
72
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
73
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
74
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
75
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
74
76
  X-Content-Security-Policy:
75
77
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
76
78
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
77
79
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
78
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
79
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
80
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
81
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
82
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
83
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
80
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
81
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
82
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
83
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
84
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
85
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
86
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
87
+ https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
84
88
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
85
89
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
86
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
87
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
88
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
89
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
90
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
91
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
92
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
93
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
94
- media-src https: http:'
90
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
91
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
92
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
93
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
94
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
95
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
96
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
97
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
98
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
99
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
100
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
101
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
95
102
  X-Webkit-Csp:
96
103
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
97
104
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
98
105
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
99
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
100
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
101
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
102
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
103
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
104
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
106
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
107
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
108
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
109
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
110
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
111
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
112
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
113
+ https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
105
114
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
106
115
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
107
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
108
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
109
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
110
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
111
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
112
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
113
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
114
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
115
- media-src https: http:'
116
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
117
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
118
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
119
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
120
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
121
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
122
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
123
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
124
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
125
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
126
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
127
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
128
+ Set-Cookie:
129
+ - notion_browser_id=90e47682-16cc-4ae0-aec6-c0bc152d2ef5; Domain=www.notion.so;
130
+ Path=/; Expires=Wed, 07 May 2053 19:31:46 GMT; Secure
116
131
  Etag:
117
- - W/"e5-DFeqv/gYemlg3XfmjAU4nnWmtn8"
132
+ - W/"1f8-q0E++mHLkdidPRLHaNfXLa3OZEo"
118
133
  Vary:
119
134
  - Accept-Encoding
120
135
  Cf-Cache-Status:
121
136
  - DYNAMIC
122
- Cf-Request-Id:
123
- - '09ac73642e00000818408a7000000001'
124
137
  Expect-Ct:
125
138
  - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
126
139
  Server:
127
140
  - cloudflare
128
141
  Cf-Ray:
129
- - 645a8819e9030818-CDG
142
+ - 6867975778e940b7-CDG
130
143
  body:
131
144
  encoding: UTF-8
132
- string: '{"object":"block","id":"723578f1-6e51-450c-8ee1-09158c19fd4c","created_time":"2021-01-29T20:50:51.917Z","last_edited_time":"2021-04-25T21:05:49.706Z","has_children":true,"type":"child_page","child_page":{"title":"A
133
- Notion page"}}'
134
- recorded_at: Sun, 25 Apr 2021 21:05:49 GMT
145
+ string: '{"object":"list","results":[{"object":"block","id":"32ac99eb-3d4b-4dde-9ce2-e38a95bf004e","created_time":"2021-08-29T17:45:00.000Z","last_edited_time":"2021-08-29T17:45:00.000Z","has_children":false,"type":"paragraph","paragraph":{"text":[{"type":"text","text":{"content":"Another
146
+ children","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"Another
147
+ children","href":null}]}}],"next_cursor":null,"has_more":false}'
148
+ recorded_at: Sun, 29 Aug 2021 17:45:06 GMT
135
149
  recorded_with: VCR 6.0.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://api.notion.com/v1/blocks/723578f1-6e51-450c-8ee1-09158c19fd4c/children?id=723578f1-6e51-450c-8ee1-09158c19fd4c
5
+ uri: https://api.notion.com/v1/blocks/32af3324-ba02-4516-ae88-5728a4d569f4/children
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -10,9 +10,11 @@ http_interactions:
10
10
  Accept:
11
11
  - application/json; charset=utf-8
12
12
  User-Agent:
13
- - Notion Ruby Client/0.0.4
13
+ - Notion Ruby Client/0.0.8
14
14
  Authorization:
15
15
  - Bearer <NOTION_API_TOKEN>
16
+ Notion-Version:
17
+ - '2021-08-16'
16
18
  Accept-Encoding:
17
19
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
20
  response:
@@ -21,18 +23,13 @@ http_interactions:
21
23
  message: OK
22
24
  headers:
23
25
  Date:
24
- - Sun, 25 Apr 2021 21:05:45 GMT
26
+ - Sun, 29 Aug 2021 17:45:02 GMT
25
27
  Content-Type:
26
28
  - application/json; charset=utf-8
27
29
  Transfer-Encoding:
28
30
  - chunked
29
31
  Connection:
30
32
  - keep-alive
31
- Set-Cookie:
32
- - __cfduid=d96e3d721ac572f706ca68070606fa2391619384744; expires=Tue, 25-May-21
33
- 21:05:44 GMT; path=/; domain=.notion.com; HttpOnly; SameSite=Lax
34
- - notion_browser_id=612a2641-5d00-4c18-85b2-269d399f4e4b; Domain=www.notion.so;
35
- Path=/; Expires=Wed, 01 Jan 2053 22:52:25 GMT; Secure
36
33
  X-Dns-Prefetch-Control:
37
34
  - 'off'
38
35
  X-Frame-Options:
@@ -51,87 +48,105 @@ http_interactions:
51
48
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
52
49
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
53
50
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
54
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
55
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
56
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
57
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
58
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
59
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
51
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
52
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
53
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
54
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
55
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
56
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
57
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
58
+ https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
60
59
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
61
60
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
62
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
63
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
64
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
65
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
66
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
67
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
68
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
69
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
70
- media-src https: http:'
61
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
62
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
63
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
64
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
65
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
66
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
67
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
68
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
69
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
70
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
71
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
72
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
71
73
  X-Content-Security-Policy:
72
74
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
73
75
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
74
76
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
75
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
76
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
77
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
78
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
79
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
80
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
77
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
78
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
79
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
80
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
81
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
82
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
83
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
84
+ https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
81
85
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
82
86
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
83
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
84
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
85
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
86
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
87
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
88
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
89
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
90
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
91
- media-src https: http:'
87
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
88
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
89
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
90
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
91
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
92
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
93
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
94
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
95
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
96
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
97
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
98
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
92
99
  X-Webkit-Csp:
93
100
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
94
101
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
95
102
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
96
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
97
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
98
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
99
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
100
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
101
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
103
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
104
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
105
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
106
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
107
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
108
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
109
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
110
+ https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
102
111
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
103
112
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
104
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
105
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
106
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
107
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
108
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
109
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
110
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
111
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
112
- media-src https: http:'
113
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
114
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
115
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
116
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
117
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
118
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
119
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
120
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
121
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
122
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
123
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
124
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
125
+ Set-Cookie:
126
+ - notion_browser_id=33cfb86b-fefe-4454-96b5-f51730549269; Domain=www.notion.so;
127
+ Path=/; Expires=Wed, 07 May 2053 19:31:42 GMT; Secure
113
128
  Etag:
114
- - W/"621-oTt6TNWfBPJwQLysHa2sgVrXxyc"
129
+ - W/"71b-BU6l1eTv4o3zbg3FtFJJVNYrjBY"
115
130
  Vary:
116
131
  - Accept-Encoding
117
132
  Cf-Cache-Status:
118
133
  - DYNAMIC
119
- Cf-Request-Id:
120
- - '09ac7352730000edf3513be000000001'
121
134
  Expect-Ct:
122
135
  - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
123
136
  Server:
124
137
  - cloudflare
125
138
  Cf-Ray:
126
- - 645a87fd8f1aedf3-CDG
139
+ - 6867973e2eb6ee75-CDG
127
140
  body:
128
141
  encoding: UTF-8
129
- string: '{"object":"list","results":[{"object":"block","id":"786f3663-78aa-4852-afe7-0ef7da78dedc","created_time":"2021-04-25T20:40:00.000Z","last_edited_time":"2021-04-25T20:40:00.000Z","has_children":false,"type":"heading_1","heading_1":{"text":[{"type":"text","text":{"content":"A
130
- Header","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"A
131
- Header","href":null}]}},{"object":"block","id":"e450fda8-0159-405f-ab67-f9de28bb4e49","created_time":"2021-04-25T20:41:00.000Z","last_edited_time":"2021-04-25T20:41:00.000Z","has_children":false,"type":"paragraph","paragraph":{"text":[{"type":"text","text":{"content":"A
132
- paragraph","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"A
133
- paragraph","href":null}]}},{"object":"block","id":"9051af10-83cb-4688-9210-3dae39432680","created_time":"2021-04-25T20:41:00.000Z","last_edited_time":"2021-04-25T20:41:00.000Z","has_children":false,"type":"paragraph","paragraph":{"text":[]}},{"object":"block","id":"f512bf64-55b0-432e-a850-82e73637d895","created_time":"2021-04-25T21:04:29.565Z","last_edited_time":"2021-04-25T21:04:29.565Z","has_children":false,"type":"heading_2","heading_2":{"text":[{"type":"text","text":{"content":"Another
134
- Heading","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"Another
135
- Heading","href":null}]}}],"next_cursor":null,"has_more":false}'
136
- recorded_at: Sun, 25 Apr 2021 21:05:45 GMT
142
+ string: '{"object":"list","results":[{"object":"block","id":"c183b81c-2973-41c1-867b-7faa0180403d","created_time":"2021-05-01T17:13:00.000Z","last_edited_time":"2021-05-01T17:13:00.000Z","has_children":false,"type":"paragraph","paragraph":{"text":[{"type":"text","text":{"content":"The
143
+ first child","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"The
144
+ first child","href":null}]}},{"object":"block","id":"51ab7653-230b-4332-89e5-4ca2b10e695b","created_time":"2021-05-01T17:13:00.000Z","last_edited_time":"2021-05-01T17:13:00.000Z","has_children":false,"type":"paragraph","paragraph":{"text":[{"type":"text","text":{"content":"The
145
+ second child","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"The
146
+ second child","href":null}]}},{"object":"block","id":"722ec5e1-f620-4860-a5fd-6de0430db4a8","created_time":"2021-08-29T17:17:00.000Z","last_edited_time":"2021-08-29T17:17:00.000Z","has_children":false,"type":"paragraph","paragraph":{"text":[{"type":"text","text":{"content":"Another
147
+ children","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"Another
148
+ children","href":null}]}},{"object":"block","id":"a6cb4553-bdf1-4080-84fa-3e1bceba6912","created_time":"2021-08-29T17:18:00.000Z","last_edited_time":"2021-08-29T17:18:00.000Z","has_children":false,"type":"paragraph","paragraph":{"text":[{"type":"text","text":{"content":"Another
149
+ children","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"Another
150
+ children","href":null}]}}],"next_cursor":null,"has_more":false}'
151
+ recorded_at: Sun, 29 Aug 2021 17:45:02 GMT
137
152
  recorded_with: VCR 6.0.0