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,17 +2,19 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://api.notion.com/v1/databases/89b30a70-ce51-4646-ab4f-5fdcb1d5e76c/query
5
+ uri: https://api.notion.com/v1/databases/dd428e9dd3fe4171870da7a1902c748b/query
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"id":"89b30a70-ce51-4646-ab4f-5fdcb1d5e76c","limit":1}'
8
+ string: '{"page_size":1}'
9
9
  headers:
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
  Content-Type:
17
19
  - application/json
18
20
  Accept-Encoding:
@@ -23,18 +25,13 @@ http_interactions:
23
25
  message: OK
24
26
  headers:
25
27
  Date:
26
- - Sun, 25 Apr 2021 21:00:00 GMT
28
+ - Sun, 29 Aug 2021 17:48:00 GMT
27
29
  Content-Type:
28
30
  - application/json; charset=utf-8
29
31
  Transfer-Encoding:
30
32
  - chunked
31
33
  Connection:
32
34
  - keep-alive
33
- Set-Cookie:
34
- - __cfduid=d2a4deba9394e6bd598acff673b4dc26a1619384399; expires=Tue, 25-May-21
35
- 20:59:59 GMT; path=/; domain=.notion.com; HttpOnly; SameSite=Lax
36
- - notion_browser_id=8c6f9137-4edd-445e-8fa5-5377f08b641f; Domain=www.notion.so;
37
- Path=/; Expires=Wed, 01 Jan 2053 22:46:40 GMT; Secure
38
35
  X-Dns-Prefetch-Control:
39
36
  - 'off'
40
37
  X-Frame-Options:
@@ -53,83 +50,103 @@ http_interactions:
53
50
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
54
51
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
55
52
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
56
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
57
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
58
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
59
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
60
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
61
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
53
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
54
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
55
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
56
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
57
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
58
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
59
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
60
+ 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
62
61
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
63
62
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
64
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
65
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
66
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
67
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
68
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
69
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
70
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
71
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
72
- media-src https: http:'
63
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
64
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
65
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
66
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
67
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
68
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
69
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
70
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
71
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
72
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
73
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
74
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
73
75
  X-Content-Security-Policy:
74
76
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
75
77
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
76
78
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
77
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
78
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
79
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
80
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
81
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
82
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
79
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
80
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
81
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
82
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
83
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
84
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
85
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
86
+ 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
83
87
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
84
88
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
85
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
86
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
87
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
88
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
89
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
90
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
91
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
92
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
93
- media-src https: http:'
89
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
90
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
91
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
92
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
93
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
94
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
95
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
96
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
97
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
98
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
99
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
100
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
94
101
  X-Webkit-Csp:
95
102
  - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
96
103
  https://apis.google.com https://api.amplitude.com https://widget.intercom.io
97
104
  https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
98
- https://analytics.pgncs.notion.so https://checkout.stripe.com https://js.stripe.com/v3
99
- https://embed.typeform.com https://admin.typeform.com https://platform.twitter.com
100
- https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com;
101
- connect-src ''self'' https://msgstore.www.notion.so wss://msgstore.www.notion.so
102
- ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
103
- https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
105
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
106
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
107
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
108
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
109
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
110
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
111
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
112
+ 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
104
113
  https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
105
114
  https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
106
- https://api.segment.io https://api.pgncs.notion.so https://checkout.stripe.com
107
- https://js.stripe.com/v3 https://cdn.contentful.com https://preview.contentful.com
108
- https://images.ctfassets.net https://api.unsplash.com https://boards-api.greenhouse.io;
109
- font-src ''self'' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com;
110
- img-src ''self'' data: blob: https: https://platform.twitter.com https://syndication.twitter.com
111
- https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src
112
- ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com https://github.githubassets.com
113
- https://platform.twitter.com https://ton.twimg.com; frame-src https: http:;
114
- media-src https: http:'
115
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
116
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
117
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
118
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
119
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
120
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
121
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
122
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
123
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
124
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
125
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
126
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
127
+ Set-Cookie:
128
+ - notion_browser_id=92061dfb-65bd-4e1b-ba1b-e77f16ef405f; Domain=www.notion.so;
129
+ Path=/; Expires=Wed, 07 May 2053 19:34:40 GMT; Secure
115
130
  Etag:
116
- - W/"256-GLaRmcrB0MMJquGjfaHJ2Jl5ecg"
131
+ - W/"4f2-gJyyePHpaRcmRm1OpDpzyoMMVwg"
117
132
  Vary:
118
133
  - Accept-Encoding
119
134
  Cf-Cache-Status:
120
135
  - DYNAMIC
121
- Cf-Request-Id:
122
- - '09ac6e0e370000084718196000000001'
123
136
  Expect-Ct:
124
137
  - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
125
138
  Server:
126
139
  - cloudflare
127
140
  Cf-Ray:
128
- - 645a7f9059c90847-CDG
141
+ - 68679b9329f0a855-CDG
129
142
  body:
130
143
  encoding: UTF-8
131
- string: '{"object":"list","results":[{"object":"page","id":"723578f1-6e51-450c-8ee1-09158c19fd4c","created_time":"2021-01-29T20:50:51.917Z","last_edited_time":"2021-04-25T20:41:00.000Z","parent":{"type":"database_id","database_id":"89b30a70-ce51-4646-ab4f-5fdcb1d5e76c"},"archived":false,"properties":{"Name":{"id":"title","type":"title","title":[{"type":"text","text":{"content":"A
132
- Notion page","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"A
133
- Notion page","href":null}]}}}],"next_cursor":null,"has_more":false}'
134
- recorded_at: Sun, 25 Apr 2021 21:00:00 GMT
144
+ string: '{"object":"list","results":[{"object":"page","id":"c7fd1abe-8114-44ea-be77-9632ea33e581","created_time":"2021-04-30T07:49:00.000Z","last_edited_time":"2021-08-29T17:45:00.000Z","cover":null,"icon":null,"parent":{"type":"database_id","database_id":"dd428e9d-d3fe-4171-870d-a7a1902c748b"},"archived":false,"properties":{"Orbit
145
+ Status":{"id":"%3DadK","type":"rich_text","rich_text":[{"type":"text","text":{"content":"OK","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"OK","href":null}]},"Orbit
146
+ Note URL":{"id":"L%3AsP","type":"url","url":"https://app.orbit.love/orbit/members/phacks3?type=notes"},"Member
147
+ Email":{"id":"%5BIFC","type":"email","email":"nicolas@orbit.love"},"Send to
148
+ Orbit":{"id":"%5EoR%3F","type":"checkbox","checkbox":true},"Date":{"id":"g%60km","type":"date","date":null},"Name":{"id":"title","type":"title","title":[{"type":"text","text":{"content":"Nicolas
149
+ Goutay","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"Nicolas
150
+ Goutay","href":null}]}},"url":"https://www.notion.so/Nicolas-Goutay-c7fd1abe811444eabe779632ea33e581"}],"next_cursor":null,"has_more":false}'
151
+ recorded_at: Sun, 29 Aug 2021 17:48:00 GMT
135
152
  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/databases?limit=1
5
+ uri: https://api.notion.com/v1/databases?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:00:01 GMT
26
+ - Sun, 29 Aug 2021 17:48:04 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=d326d3c467290e4f1c0597df242b25b9b1619384400; expires=Tue, 25-May-21
33
- 21:00:00 GMT; path=/; domain=.notion.com; HttpOnly; SameSite=Lax
34
- - notion_browser_id=61e2a7dc-f444-4bb2-b737-b42905b0993e; Domain=www.notion.so;
35
- Path=/; Expires=Wed, 01 Jan 2053 22:46:41 GMT; Secure
36
33
  X-Dns-Prefetch-Control:
37
34
  - 'off'
38
35
  X-Frame-Options:
@@ -51,83 +48,103 @@ 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=565a97ef-16e9-425f-85a7-3a39bbde353e; Domain=www.notion.so;
127
+ Path=/; Expires=Wed, 07 May 2053 19:34:44 GMT; Secure
113
128
  Etag:
114
- - W/"251-eZGSpEiKAHHy9FTpruIlyN5tC1k"
129
+ - W/"3e8-E4EtBnLaa9gQc/3cannQYsjqJBA"
115
130
  Vary:
116
131
  - Accept-Encoding
117
132
  Cf-Cache-Status:
118
133
  - DYNAMIC
119
- Cf-Request-Id:
120
- - '09ac6e14580000edff173c1000000001'
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
- - 645a7f9a2b7aedff-CDG
139
+ - 68679bae4f09404f-CDG
127
140
  body:
128
141
  encoding: UTF-8
129
- string: '{"object":"list","results":[{"object":"database","id":"89b30a70-ce51-4646-ab4f-5fdcb1d5e76c","created_time":"2021-01-29T20:50:51.917Z","last_edited_time":"2021-04-25T19:59:00.000Z","title":[{"type":"text","text":{"content":"A
130
- Notion database","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"A
131
- Notion database","href":null}],"properties":{"Tags":{"id":"yu]\\","type":"multi_select","multi_select":{"options":[]}},"Name":{"id":"title","type":"title","title":{}}}}],"next_cursor":null,"has_more":false}'
132
- recorded_at: Sun, 25 Apr 2021 21:00:01 GMT
142
+ string: "{\"object\":\"list\",\"results\":[{\"object\":\"database\",\"id\":\"dd428e9d-d3fe-4171-870d-a7a1902c748b\",\"cover\":null,\"icon\":null,\"created_time\":\"2021-04-30T07:49:00.000Z\",\"last_edited_time\":\"2021-08-29T17:48:00.000Z\",\"title\":[{\"type\":\"text\",\"text\":{\"content\":\"Orbit
143
+ \U0001F49C Notion\",\"link\":null},\"annotations\":{\"bold\":false,\"italic\":false,\"strikethrough\":false,\"underline\":false,\"code\":false,\"color\":\"default\"},\"plain_text\":\"Orbit
144
+ \U0001F49C Notion\",\"href\":null}],\"properties\":{\"Orbit Status\":{\"id\":\"%3DadK\",\"name\":\"Orbit
145
+ Status\",\"type\":\"rich_text\",\"rich_text\":{}},\"Orbit Note URL\":{\"id\":\"L%3AsP\",\"name\":\"Orbit
146
+ Note URL\",\"type\":\"url\",\"url\":{}},\"Member Email\":{\"id\":\"%5BIFC\",\"name\":\"Member
147
+ Email\",\"type\":\"email\",\"email\":{}},\"Send to Orbit\":{\"id\":\"%5EoR%3F\",\"name\":\"Send
148
+ to Orbit\",\"type\":\"checkbox\",\"checkbox\":{}},\"Date\":{\"id\":\"g%60km\",\"name\":\"Date\",\"type\":\"date\",\"date\":{}},\"Name\":{\"id\":\"title\",\"name\":\"Name\",\"type\":\"title\",\"title\":{}}},\"parent\":{\"type\":\"workspace\",\"workspace\":true}}],\"next_cursor\":null,\"has_more\":false}"
149
+ recorded_at: Sun, 29 Aug 2021 17:48:04 GMT
133
150
  recorded_with: VCR 6.0.0
@@ -0,0 +1,301 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.notion.com/v1/search
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"page_size":2}'
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-05-13'
18
+ Content-Type:
19
+ - application/json
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Sun, 29 Aug 2021 15:47:06 GMT
29
+ Content-Type:
30
+ - application/json; charset=utf-8
31
+ Transfer-Encoding:
32
+ - chunked
33
+ Connection:
34
+ - keep-alive
35
+ X-Dns-Prefetch-Control:
36
+ - 'off'
37
+ X-Frame-Options:
38
+ - SAMEORIGIN
39
+ Strict-Transport-Security:
40
+ - max-age=5184000; includeSubDomains
41
+ X-Download-Options:
42
+ - noopen
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Xss-Protection:
46
+ - 1; mode=block
47
+ Referrer-Policy:
48
+ - same-origin
49
+ Content-Security-Policy:
50
+ - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
51
+ https://apis.google.com https://api.amplitude.com https://widget.intercom.io
52
+ https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
53
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
54
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
55
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
56
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
57
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
58
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
59
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
60
+ 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
61
+ https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
62
+ https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
63
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
64
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
65
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
66
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
67
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
68
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
69
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
70
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
71
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
72
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
73
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
74
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
75
+ X-Content-Security-Policy:
76
+ - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
77
+ https://apis.google.com https://api.amplitude.com https://widget.intercom.io
78
+ https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
79
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
80
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
81
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
82
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
83
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
84
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
85
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
86
+ 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
87
+ https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
88
+ https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
89
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
90
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
91
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
92
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
93
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
94
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
95
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
96
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
97
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
98
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
99
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
100
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
101
+ X-Webkit-Csp:
102
+ - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
103
+ https://apis.google.com https://api.amplitude.com https://widget.intercom.io
104
+ https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
105
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
106
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
107
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
108
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
109
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
110
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
111
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
112
+ 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
113
+ https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
114
+ https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
115
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
116
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
117
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
118
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
119
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
120
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
121
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
122
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
123
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
124
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
125
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
126
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
127
+ Set-Cookie:
128
+ - notion_browser_id=09a84be9-4be0-403d-8dd4-1fb4a5475386; Domain=www.notion.so;
129
+ Path=/; Expires=Wed, 07 May 2053 17:33:46 GMT; Secure
130
+ Etag:
131
+ - W/"873-C297M6mgejqGjKZEw1UuDvKew9g"
132
+ Vary:
133
+ - Accept-Encoding
134
+ Cf-Cache-Status:
135
+ - DYNAMIC
136
+ Expect-Ct:
137
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
138
+ Server:
139
+ - cloudflare
140
+ Cf-Ray:
141
+ - 6866ea7c58fa3bbc-CDG
142
+ body:
143
+ encoding: UTF-8
144
+ string: "{\"object\":\"list\",\"results\":[{\"object\":\"page\",\"id\":\"c7fd1abe-8114-44ea-be77-9632ea33e581\",\"created_time\":\"2021-04-30T07:49:00.000Z\",\"last_edited_time\":\"2021-05-25T20:17:00.000Z\",\"cover\":null,\"icon\":null,\"parent\":{\"type\":\"database_id\",\"database_id\":\"dd428e9d-d3fe-4171-870d-a7a1902c748b\"},\"archived\":false,\"properties\":{\"Orbit
145
+ Status\":{\"id\":\"=adK\",\"type\":\"rich_text\",\"rich_text\":[{\"type\":\"text\",\"text\":{\"content\":\"OK\",\"link\":null},\"annotations\":{\"bold\":false,\"italic\":false,\"strikethrough\":false,\"underline\":false,\"code\":false,\"color\":\"default\"},\"plain_text\":\"OK\",\"href\":null}]},\"Orbit
146
+ Note URL\":{\"id\":\"L:sP\",\"type\":\"url\",\"url\":\"https://app.orbit.love/orbit/members/phacks3?type=notes\"},\"Member
147
+ Email\":{\"id\":\"[IFC\",\"type\":\"email\",\"email\":\"nicolas@orbit.love\"},\"Send
148
+ to Orbit\":{\"id\":\"^oR?\",\"type\":\"checkbox\",\"checkbox\":true},\"Name\":{\"id\":\"title\",\"type\":\"title\",\"title\":[{\"type\":\"text\",\"text\":{\"content\":\"Nicolas
149
+ Goutay\",\"link\":null},\"annotations\":{\"bold\":false,\"italic\":false,\"strikethrough\":false,\"underline\":false,\"code\":false,\"color\":\"default\"},\"plain_text\":\"Nicolas
150
+ Goutay\",\"href\":null}]}},\"url\":\"https://www.notion.so/Nicolas-Goutay-c7fd1abe811444eabe779632ea33e581\"},{\"object\":\"database\",\"id\":\"dd428e9d-d3fe-4171-870d-a7a1902c748b\",\"cover\":null,\"icon\":null,\"created_time\":\"2021-04-30T07:49:00.000Z\",\"last_edited_time\":\"2021-05-25T20:16:00.000Z\",\"title\":[{\"type\":\"text\",\"text\":{\"content\":\"Orbit
151
+ \U0001F49C Notion\",\"link\":null},\"annotations\":{\"bold\":false,\"italic\":false,\"strikethrough\":false,\"underline\":false,\"code\":false,\"color\":\"default\"},\"plain_text\":\"Orbit
152
+ \U0001F49C Notion\",\"href\":null}],\"properties\":{\"Orbit Status\":{\"id\":\"=adK\",\"name\":\"Orbit
153
+ Status\",\"type\":\"rich_text\",\"rich_text\":{}},\"Orbit Note URL\":{\"id\":\"L:sP\",\"name\":\"Orbit
154
+ Note URL\",\"type\":\"url\",\"url\":{}},\"Member Email\":{\"id\":\"[IFC\",\"name\":\"Member
155
+ Email\",\"type\":\"email\",\"email\":{}},\"Send to Orbit\":{\"id\":\"^oR?\",\"name\":\"Send
156
+ to Orbit\",\"type\":\"checkbox\",\"checkbox\":{}},\"Date\":{\"id\":\"g`km\",\"name\":\"Date\",\"type\":\"date\",\"date\":{}},\"Name\":{\"id\":\"title\",\"name\":\"Name\",\"type\":\"title\",\"title\":{}}},\"parent\":{\"type\":\"workspace\",\"workspace\":true}}],\"next_cursor\":\"9a3a435e-de45-44f9-969e-e537ece4b078\",\"has_more\":true}"
157
+ recorded_at: Sun, 29 Aug 2021 15:47:06 GMT
158
+ - request:
159
+ method: post
160
+ uri: https://api.notion.com/v1/search
161
+ body:
162
+ encoding: UTF-8
163
+ string: '{"page_size":2,"start_cursor":"9a3a435e-de45-44f9-969e-e537ece4b078"}'
164
+ headers:
165
+ Accept:
166
+ - application/json; charset=utf-8
167
+ User-Agent:
168
+ - Notion Ruby Client/0.0.8
169
+ Authorization:
170
+ - Bearer <NOTION_API_TOKEN>
171
+ Notion-Version:
172
+ - '2021-05-13'
173
+ Content-Type:
174
+ - application/json
175
+ Accept-Encoding:
176
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
177
+ response:
178
+ status:
179
+ code: 200
180
+ message: OK
181
+ headers:
182
+ Date:
183
+ - Sun, 29 Aug 2021 15:47:07 GMT
184
+ Content-Type:
185
+ - application/json; charset=utf-8
186
+ Transfer-Encoding:
187
+ - chunked
188
+ Connection:
189
+ - keep-alive
190
+ X-Dns-Prefetch-Control:
191
+ - 'off'
192
+ X-Frame-Options:
193
+ - SAMEORIGIN
194
+ Strict-Transport-Security:
195
+ - max-age=5184000; includeSubDomains
196
+ X-Download-Options:
197
+ - noopen
198
+ X-Content-Type-Options:
199
+ - nosniff
200
+ X-Xss-Protection:
201
+ - 1; mode=block
202
+ Referrer-Policy:
203
+ - same-origin
204
+ Content-Security-Policy:
205
+ - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
206
+ https://apis.google.com https://api.amplitude.com https://widget.intercom.io
207
+ https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
208
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
209
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
210
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
211
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
212
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
213
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
214
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
215
+ 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
216
+ https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
217
+ https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
218
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
219
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
220
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
221
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
222
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
223
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
224
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
225
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
226
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
227
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
228
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
229
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
230
+ X-Content-Security-Policy:
231
+ - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
232
+ https://apis.google.com https://api.amplitude.com https://widget.intercom.io
233
+ https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
234
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
235
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
236
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
237
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
238
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
239
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
240
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
241
+ 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
242
+ https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
243
+ https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
244
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
245
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
246
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
247
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
248
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
249
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
250
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
251
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
252
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
253
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
254
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
255
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
256
+ X-Webkit-Csp:
257
+ - 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
258
+ https://apis.google.com https://api.amplitude.com https://widget.intercom.io
259
+ https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
260
+ https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
261
+ https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
262
+ https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
263
+ https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
264
+ https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
265
+ https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
266
+ wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
267
+ 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
268
+ https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
269
+ https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
270
+ https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
271
+ https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
272
+ https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
273
+ https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
274
+ https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
275
+ https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
276
+ https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
277
+ https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
278
+ https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
279
+ www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
280
+ https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
281
+ https://ton.twimg.com; frame-src https: http:; media-src https: http:'
282
+ Set-Cookie:
283
+ - notion_browser_id=0da1108d-3576-45b6-9f2f-00c75011711e; Domain=www.notion.so;
284
+ Path=/; Expires=Wed, 07 May 2053 17:33:47 GMT; Secure
285
+ Etag:
286
+ - W/"42-fth8CJD/wLL363ZVfU5rvF8LaDA"
287
+ Vary:
288
+ - Accept-Encoding
289
+ Cf-Cache-Status:
290
+ - DYNAMIC
291
+ Expect-Ct:
292
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
293
+ Server:
294
+ - cloudflare
295
+ Cf-Ray:
296
+ - 6866ea7e896c3317-CDG
297
+ body:
298
+ encoding: UTF-8
299
+ string: '{"object":"list","results":[],"next_cursor":null,"has_more":false}'
300
+ recorded_at: Sun, 29 Aug 2021 15:47:07 GMT
301
+ recorded_with: VCR 6.0.0