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
@@ -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&page_size=1
5
+ uri: https://api.notion.com/v1/blocks/32af3324-ba02-4516-ae88-5728a4d569f4/children?page_size=1
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:46 GMT
26
+ - Sun, 29 Aug 2021 17:45:03 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=de5993842fc24dfc74e072cc43f6491091619384745; expires=Tue, 25-May-21
33
- 21:05:45 GMT; path=/; domain=.notion.com; HttpOnly; SameSite=Lax
34
- - notion_browser_id=3b6c61f4-5a6a-4083-882e-ecfd64a993f8; 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,88 +48,104 @@ 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=daaae12a-cce1-4098-9c7d-7e88373c9522; Domain=www.notion.so;
127
+ Path=/; Expires=Wed, 07 May 2053 19:31:43 GMT; Secure
113
128
  Etag:
114
- - W/"209-sEZKt0BbVanVcgVF0omtZj+W4DI"
129
+ - W/"217-BsYX5QLp9UhoMNTePCXky8G5jqQ"
115
130
  Vary:
116
131
  - Accept-Encoding
117
132
  Cf-Cache-Status:
118
133
  - DYNAMIC
119
- Cf-Request-Id:
120
- - '09ac7355af0000089fe88c2000000001'
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
- - 645a8802befc089f-CDG
139
+ - 686797410c5f3b6d-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}]}}],"next_cursor":"e450fda8-0159-405f-ab67-f9de28bb4e49","has_more":true}'
132
- recorded_at: Sun, 25 Apr 2021 21:05:46 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}]}}],"next_cursor":"51ab7653-230b-4332-89e5-4ca2b10e695b","has_more":true}'
145
+ recorded_at: Sun, 29 Aug 2021 17:45:03 GMT
133
146
  - request:
134
147
  method: get
135
- uri: https://api.notion.com/v1/blocks/723578f1-6e51-450c-8ee1-09158c19fd4c/children?id=723578f1-6e51-450c-8ee1-09158c19fd4c&page_size=1&start_cursor=e450fda8-0159-405f-ab67-f9de28bb4e49
148
+ uri: https://api.notion.com/v1/blocks/32af3324-ba02-4516-ae88-5728a4d569f4/children?page_size=1&start_cursor=51ab7653-230b-4332-89e5-4ca2b10e695b
136
149
  body:
137
150
  encoding: US-ASCII
138
151
  string: ''
@@ -140,9 +153,11 @@ http_interactions:
140
153
  Accept:
141
154
  - application/json; charset=utf-8
142
155
  User-Agent:
143
- - Notion Ruby Client/0.0.4
156
+ - Notion Ruby Client/0.0.8
144
157
  Authorization:
145
158
  - Bearer <NOTION_API_TOKEN>
159
+ Notion-Version:
160
+ - '2021-08-16'
146
161
  Accept-Encoding:
147
162
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
148
163
  response:
@@ -151,18 +166,13 @@ http_interactions:
151
166
  message: OK
152
167
  headers:
153
168
  Date:
154
- - Sun, 25 Apr 2021 21:05:47 GMT
169
+ - Sun, 29 Aug 2021 17:45:04 GMT
155
170
  Content-Type:
156
171
  - application/json; charset=utf-8
157
172
  Transfer-Encoding:
158
173
  - chunked
159
174
  Connection:
160
175
  - keep-alive
161
- Set-Cookie:
162
- - __cfduid=de95855d77e880d254fa8c5f79ae5ba221619384746; expires=Tue, 25-May-21
163
- 21:05:46 GMT; path=/; domain=.notion.com; HttpOnly; SameSite=Lax
164
- - notion_browser_id=39dc8b75-3491-4fa9-bc71-963d25d9ea59; Domain=www.notion.so;
165
- Path=/; Expires=Wed, 01 Jan 2053 22:52:27 GMT; Secure
166
176
  X-Dns-Prefetch-Control:
167
177
  - 'off'
168
178
  X-Frame-Options:
@@ -181,88 +191,104 @@ http_interactions:
181
191
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
182
192
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
183
193
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
184
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
185
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
186
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
187
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
188
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
189
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
194
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
195
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
196
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
197
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
198
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
199
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
200
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
201
+ 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
190
202
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
191
203
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
192
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
193
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
194
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
195
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
196
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
197
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
198
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
199
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
200
- media-src https: http:'
204
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
205
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
206
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
207
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
208
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
209
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
210
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
211
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
212
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
213
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
214
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
215
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
201
216
  X-Content-Security-Policy:
202
217
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
203
218
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
204
219
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
205
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
206
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
207
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
208
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
209
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
210
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
220
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
221
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
222
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
223
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
224
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
225
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
226
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
227
+ 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
211
228
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
212
229
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
213
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
214
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
215
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
216
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
217
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
218
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
219
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
220
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
221
- media-src https: http:'
230
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
231
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
232
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
233
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
234
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
235
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
236
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
237
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
238
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
239
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
240
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
241
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
222
242
  X-Webkit-Csp:
223
243
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
224
244
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
225
245
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
226
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
227
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
228
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
229
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
230
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
231
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
246
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
247
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
248
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
249
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
250
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
251
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
252
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
253
+ 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
232
254
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
233
255
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
234
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
235
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
236
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
237
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
238
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
239
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
240
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
241
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
242
- media-src https: http:'
256
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
257
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
258
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
259
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
260
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
261
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
262
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
263
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
264
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
265
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
266
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
267
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
268
+ Set-Cookie:
269
+ - notion_browser_id=a1aec440-cb97-4ff6-bbb2-86f294de1b60; Domain=www.notion.so;
270
+ Path=/; Expires=Wed, 07 May 2053 19:31:44 GMT; Secure
243
271
  Etag:
244
- - W/"20f-4eJgKMhycYadNsZdWcZSSZ78Tt0"
272
+ - W/"219-HaqBsxCAAIcZiz2bJbhHcTGlgzc"
245
273
  Vary:
246
274
  - Accept-Encoding
247
275
  Cf-Cache-Status:
248
276
  - DYNAMIC
249
- Cf-Request-Id:
250
- - '09ac735a8a000032aa5610d000000001'
251
277
  Expect-Ct:
252
278
  - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
253
279
  Server:
254
280
  - cloudflare
255
281
  Cf-Ray:
256
- - 645a880a7fd132aa-CDG
282
+ - 686797460d673b85-CDG
257
283
  body:
258
284
  encoding: UTF-8
259
- string: '{"object":"list","results":[{"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
260
- paragraph","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"A
261
- paragraph","href":null}]}}],"next_cursor":"9051af10-83cb-4688-9210-3dae39432680","has_more":true}'
262
- recorded_at: Sun, 25 Apr 2021 21:05:47 GMT
285
+ string: '{"object":"list","results":[{"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
286
+ second child","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"The
287
+ second child","href":null}]}}],"next_cursor":"722ec5e1-f620-4860-a5fd-6de0430db4a8","has_more":true}'
288
+ recorded_at: Sun, 29 Aug 2021 17:45:04 GMT
263
289
  - request:
264
290
  method: get
265
- uri: https://api.notion.com/v1/blocks/723578f1-6e51-450c-8ee1-09158c19fd4c/children?id=723578f1-6e51-450c-8ee1-09158c19fd4c&page_size=1&start_cursor=9051af10-83cb-4688-9210-3dae39432680
291
+ uri: https://api.notion.com/v1/blocks/32af3324-ba02-4516-ae88-5728a4d569f4/children?page_size=1&start_cursor=722ec5e1-f620-4860-a5fd-6de0430db4a8
266
292
  body:
267
293
  encoding: US-ASCII
268
294
  string: ''
@@ -270,9 +296,11 @@ http_interactions:
270
296
  Accept:
271
297
  - application/json; charset=utf-8
272
298
  User-Agent:
273
- - Notion Ruby Client/0.0.4
299
+ - Notion Ruby Client/0.0.8
274
300
  Authorization:
275
301
  - Bearer <NOTION_API_TOKEN>
302
+ Notion-Version:
303
+ - '2021-08-16'
276
304
  Accept-Encoding:
277
305
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
278
306
  response:
@@ -281,18 +309,13 @@ http_interactions:
281
309
  message: OK
282
310
  headers:
283
311
  Date:
284
- - Sun, 25 Apr 2021 21:05:48 GMT
312
+ - Sun, 29 Aug 2021 17:45:05 GMT
285
313
  Content-Type:
286
314
  - application/json; charset=utf-8
287
315
  Transfer-Encoding:
288
316
  - chunked
289
317
  Connection:
290
318
  - keep-alive
291
- Set-Cookie:
292
- - __cfduid=dd76488257c3897b9ffcabf8b4a8b9a701619384747; expires=Tue, 25-May-21
293
- 21:05:47 GMT; path=/; domain=.notion.com; HttpOnly; SameSite=Lax
294
- - notion_browser_id=1aa24ada-cb3f-4634-8b62-3b690ba47e81; Domain=www.notion.so;
295
- Path=/; Expires=Wed, 01 Jan 2053 22:52:28 GMT; Secure
296
319
  X-Dns-Prefetch-Control:
297
320
  - 'off'
298
321
  X-Frame-Options:
@@ -311,86 +334,104 @@ http_interactions:
311
334
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
312
335
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
313
336
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
314
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
315
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
316
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
317
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
318
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
319
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
337
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
338
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
339
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
340
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
341
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
342
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
343
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
344
+ 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
320
345
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
321
346
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
322
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
323
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
324
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
325
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
326
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
327
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
328
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
329
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
330
- media-src https: http:'
347
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
348
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
349
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
350
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
351
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
352
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
353
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
354
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
355
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
356
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
357
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
358
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
331
359
  X-Content-Security-Policy:
332
360
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
333
361
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
334
362
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
335
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
336
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
337
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
338
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
339
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
340
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
363
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
364
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
365
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
366
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
367
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
368
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
369
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
370
+ 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
341
371
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
342
372
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
343
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
344
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
345
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
346
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
347
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
348
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
349
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
350
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
351
- media-src https: http:'
373
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
374
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
375
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
376
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
377
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
378
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
379
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
380
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
381
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
382
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
383
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
384
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
352
385
  X-Webkit-Csp:
353
386
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
354
387
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
355
388
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
356
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
357
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
358
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
359
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
360
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
361
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
389
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
390
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
391
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
392
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
393
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
394
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
395
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
396
+ 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
362
397
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
363
398
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
364
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
365
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
366
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
367
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
368
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
369
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
370
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
371
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
372
- media-src https: http:'
399
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
400
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
401
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
402
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
403
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
404
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
405
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
406
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
407
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
408
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
409
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
410
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
411
+ Set-Cookie:
412
+ - notion_browser_id=c9f9c377-7531-483b-9a08-4f40c4820a0f; Domain=www.notion.so;
413
+ Path=/; Expires=Wed, 07 May 2053 19:31:45 GMT; Secure
373
414
  Etag:
374
- - W/"139-/jsPJlYFXTJbSSE92dQIdBk/nvw"
415
+ - W/"219-l6W9cQbSU5N+J2IRdLhsfF6TcQs"
375
416
  Vary:
376
417
  - Accept-Encoding
377
418
  Cf-Cache-Status:
378
419
  - DYNAMIC
379
- Cf-Request-Id:
380
- - '09ac735e120000edff4dbc9000000001'
381
420
  Expect-Ct:
382
421
  - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
383
422
  Server:
384
423
  - cloudflare
385
424
  Cf-Ray:
386
- - 645a88101bc1edff-CDG
425
+ - 6867974bcacc4013-CDG
387
426
  body:
388
427
  encoding: UTF-8
389
- string: '{"object":"list","results":[{"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":[]}}],"next_cursor":"f512bf64-55b0-432e-a850-82e73637d895","has_more":true}'
390
- recorded_at: Sun, 25 Apr 2021 21:05:48 GMT
428
+ string: '{"object":"list","results":[{"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
429
+ children","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"Another
430
+ children","href":null}]}}],"next_cursor":"a6cb4553-bdf1-4080-84fa-3e1bceba6912","has_more":true}'
431
+ recorded_at: Sun, 29 Aug 2021 17:45:05 GMT
391
432
  - request:
392
433
  method: get
393
- uri: https://api.notion.com/v1/blocks/723578f1-6e51-450c-8ee1-09158c19fd4c/children?id=723578f1-6e51-450c-8ee1-09158c19fd4c&page_size=1&start_cursor=f512bf64-55b0-432e-a850-82e73637d895
434
+ uri: https://api.notion.com/v1/blocks/32af3324-ba02-4516-ae88-5728a4d569f4/children?page_size=1&start_cursor=a6cb4553-bdf1-4080-84fa-3e1bceba6912
394
435
  body:
395
436
  encoding: US-ASCII
396
437
  string: ''
@@ -398,9 +439,11 @@ http_interactions:
398
439
  Accept:
399
440
  - application/json; charset=utf-8
400
441
  User-Agent:
401
- - Notion Ruby Client/0.0.4
442
+ - Notion Ruby Client/0.0.8
402
443
  Authorization:
403
444
  - Bearer <NOTION_API_TOKEN>
445
+ Notion-Version:
446
+ - '2021-08-16'
404
447
  Accept-Encoding:
405
448
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
406
449
  response:
@@ -409,18 +452,13 @@ http_interactions:
409
452
  message: OK
410
453
  headers:
411
454
  Date:
412
- - Sun, 25 Apr 2021 21:05:49 GMT
455
+ - Sun, 29 Aug 2021 17:45:06 GMT
413
456
  Content-Type:
414
457
  - application/json; charset=utf-8
415
458
  Transfer-Encoding:
416
459
  - chunked
417
460
  Connection:
418
461
  - keep-alive
419
- Set-Cookie:
420
- - __cfduid=d11a3cd10fe0caf647046b2710265e55f1619384748; expires=Tue, 25-May-21
421
- 21:05:48 GMT; path=/; domain=.notion.com; HttpOnly; SameSite=Lax
422
- - notion_browser_id=a9ddd79b-0494-4fec-b70b-a29250197bc6; Domain=www.notion.so;
423
- Path=/; Expires=Wed, 01 Jan 2053 22:52:28 GMT; Secure
424
462
  X-Dns-Prefetch-Control:
425
463
  - 'off'
426
464
  X-Frame-Options:
@@ -439,83 +477,99 @@ http_interactions:
439
477
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
440
478
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
441
479
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
442
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
443
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
444
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
445
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
446
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
447
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
480
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
481
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
482
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
483
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
484
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
485
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
486
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
487
+ 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
448
488
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
449
489
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
450
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
451
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
452
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
453
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
454
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
455
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
456
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
457
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
458
- media-src https: http:'
490
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
491
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
492
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
493
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
494
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
495
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
496
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
497
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
498
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
499
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
500
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
501
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
459
502
  X-Content-Security-Policy:
460
503
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
461
504
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
462
505
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
463
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
464
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
465
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
466
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
467
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
468
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
506
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
507
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
508
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
509
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
510
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
511
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
512
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
513
+ 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
469
514
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
470
515
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
471
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
472
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
473
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
474
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
475
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
476
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
477
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
478
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
479
- media-src https: http:'
516
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
517
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
518
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
519
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
520
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
521
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
522
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
523
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
524
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
525
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
526
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
527
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
480
528
  X-Webkit-Csp:
481
529
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
482
530
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
483
531
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
484
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
485
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
486
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
487
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
488
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
489
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
532
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
533
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
534
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
535
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
536
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
537
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
538
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
539
+ 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
490
540
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
491
541
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
492
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
493
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
494
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
495
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
496
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
497
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
498
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
499
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
500
- media-src https: http:'
542
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
543
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
544
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
545
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
546
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
547
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
548
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
549
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
550
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
551
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
552
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
553
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
554
+ Set-Cookie:
555
+ - notion_browser_id=f2736075-4f73-453d-8728-04468bf8e7d9; Domain=www.notion.so;
556
+ Path=/; Expires=Wed, 07 May 2053 19:31:46 GMT; Secure
501
557
  Etag:
502
- - W/"1f6-cMVdEP39WCJ4+k5EBqYZPnbiG34"
558
+ - W/"1f8-vq1PZHzZhe2D041J6ghX+Z0Lbcc"
503
559
  Vary:
504
560
  - Accept-Encoding
505
561
  Cf-Cache-Status:
506
562
  - DYNAMIC
507
- Cf-Request-Id:
508
- - '09ac73613700000857d00b1000000001'
509
563
  Expect-Ct:
510
564
  - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
511
565
  Server:
512
566
  - cloudflare
513
567
  Cf-Ray:
514
- - 645a88152b770857-CDG
568
+ - 686797519c6c0828-CDG
515
569
  body:
516
570
  encoding: UTF-8
517
- string: '{"object":"list","results":[{"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
518
- Heading","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"Another
519
- Heading","href":null}]}}],"next_cursor":null,"has_more":false}'
520
- recorded_at: Sun, 25 Apr 2021 21:05:49 GMT
571
+ string: '{"object":"list","results":[{"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
572
+ children","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"Another
573
+ children","href":null}]}}],"next_cursor":null,"has_more":false}'
574
+ recorded_at: Sun, 29 Aug 2021 17:45:06 GMT
521
575
  recorded_with: VCR 6.0.0