notionrb 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.devcontainer/Dockerfile +5 -0
- data/.devcontainer/boot.sh +1 -0
- data/.devcontainer/devcontainer.json +30 -0
- data/.github/workflows/ci.yml +15 -0
- data/.github/workflows/rubocop.yml +17 -0
- data/.gitignore +7 -0
- data/.rspec +2 -0
- data/.rubocop.yml +55 -0
- data/.rubocop_todo.yml +86 -0
- data/CHANGELOG.md +144 -0
- data/CODE_OF_CONDUCT.md +128 -0
- data/CONTRIBUTING.md +51 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +95 -0
- data/LICENSE.md +21 -0
- data/README.md +677 -0
- data/Rakefile +18 -0
- data/bin/console +31 -0
- data/lib/notion/api/endpoints/blocks.rb +100 -0
- data/lib/notion/api/endpoints/comments.rb +61 -0
- data/lib/notion/api/endpoints/data_sources.rb +102 -0
- data/lib/notion/api/endpoints/databases.rb +134 -0
- data/lib/notion/api/endpoints/pages.rb +95 -0
- data/lib/notion/api/endpoints/search.rb +41 -0
- data/lib/notion/api/endpoints/users.rb +48 -0
- data/lib/notion/api/endpoints.rb +23 -0
- data/lib/notion/api/error.rb +6 -0
- data/lib/notion/api/errors/internal_error.rb +12 -0
- data/lib/notion/api/errors/notion_error.rb +15 -0
- data/lib/notion/api/errors/too_many_requests.rb +15 -0
- data/lib/notion/api/errors.rb +23 -0
- data/lib/notion/client.rb +28 -0
- data/lib/notion/config.rb +54 -0
- data/lib/notion/faraday/connection.rb +37 -0
- data/lib/notion/faraday/request.rb +45 -0
- data/lib/notion/faraday/response/raise_error.rb +31 -0
- data/lib/notion/faraday/response/wrap_error.rb +22 -0
- data/lib/notion/logger.rb +14 -0
- data/lib/notion/messages/message.rb +17 -0
- data/lib/notion/pagination/cursor.rb +53 -0
- data/lib/notion/version.rb +5 -0
- data/lib/notion-ruby-client.rb +28 -0
- data/lib/notion.rb +2 -0
- data/lib/notion_ruby_client.rb +2 -0
- data/notionrb.gemspec +31 -0
- data/spec/fixtures/notion/block.yml +146 -0
- data/spec/fixtures/notion/block_append_children.yml +149 -0
- data/spec/fixtures/notion/block_children.yml +152 -0
- data/spec/fixtures/notion/create_data_source.yml +29 -0
- data/spec/fixtures/notion/create_database.yml +149 -0
- data/spec/fixtures/notion/create_discussion_comment.yml +110 -0
- data/spec/fixtures/notion/create_page.yml +152 -0
- data/spec/fixtures/notion/create_page_comment.yml +110 -0
- data/spec/fixtures/notion/create_page_with_data_source.yml +29 -0
- data/spec/fixtures/notion/create_page_with_parent_page.yml +128 -0
- data/spec/fixtures/notion/data_source.yml +27 -0
- data/spec/fixtures/notion/data_source_query.yml +29 -0
- data/spec/fixtures/notion/database.yml +150 -0
- data/spec/fixtures/notion/database_query.yml +154 -0
- data/spec/fixtures/notion/delete_block.yml +145 -0
- data/spec/fixtures/notion/page.yml +150 -0
- data/spec/fixtures/notion/page_property_item.yml +143 -0
- data/spec/fixtures/notion/paginated_block_children.yml +575 -0
- data/spec/fixtures/notion/paginated_data_source_query.yml +29 -0
- data/spec/fixtures/notion/paginated_database_query.yml +152 -0
- data/spec/fixtures/notion/paginated_databases_list.yml +150 -0
- data/spec/fixtures/notion/paginated_search.yml +301 -0
- data/spec/fixtures/notion/paginated_users_list.yml +146 -0
- data/spec/fixtures/notion/retrieve_comments.yml +106 -0
- data/spec/fixtures/notion/search.yml +160 -0
- data/spec/fixtures/notion/search_with_query.yml +152 -0
- data/spec/fixtures/notion/update_block.yml +148 -0
- data/spec/fixtures/notion/update_data_source.yml +29 -0
- data/spec/fixtures/notion/update_database.yml +152 -0
- data/spec/fixtures/notion/update_page.yml +152 -0
- data/spec/fixtures/notion/users.yml +145 -0
- data/spec/fixtures/notion/users_list.yml +146 -0
- data/spec/fixtures/notion/users_me.yml +144 -0
- data/spec/notion/api/endpoints/blocks_spec.rb +72 -0
- data/spec/notion/api/endpoints/comments_spec.rb +49 -0
- data/spec/notion/api/endpoints/data_sources_spec.rb +61 -0
- data/spec/notion/api/endpoints/databases_spec.rb +70 -0
- data/spec/notion/api/endpoints/pages_spec.rb +127 -0
- data/spec/notion/api/endpoints/search_spec.rb +26 -0
- data/spec/notion/api/endpoints/users_spec.rb +31 -0
- data/spec/notion/config_spec.rb +16 -0
- data/spec/notion/pagination/cursor_spec.rb +126 -0
- data/spec/notion/version_spec.rb +8 -0
- data/spec/spec_helper.rb +22 -0
- data/spec/support/token.rb +10 -0
- data/spec/support/vcr.rb +16 -0
- metadata +358 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: patch
|
|
5
|
+
uri: https://api.notion.com/v1/blocks/32af3324-ba02-4516-ae88-5728a4d569f4/children
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: '{"children":[{"object":"block","type":"paragraph","paragraph":{"rich_text":[{"type":"text","text":{"content":"Another
|
|
9
|
+
children"}}]}}]}'
|
|
10
|
+
headers:
|
|
11
|
+
Accept:
|
|
12
|
+
- application/json; charset=utf-8
|
|
13
|
+
User-Agent:
|
|
14
|
+
- Notion Ruby Client/0.0.8
|
|
15
|
+
Authorization:
|
|
16
|
+
- Bearer <NOTION_API_TOKEN>
|
|
17
|
+
Notion-Version:
|
|
18
|
+
- '2022-02-22'
|
|
19
|
+
Content-Type:
|
|
20
|
+
- application/json
|
|
21
|
+
Accept-Encoding:
|
|
22
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
23
|
+
response:
|
|
24
|
+
status:
|
|
25
|
+
code: 200
|
|
26
|
+
message: OK
|
|
27
|
+
headers:
|
|
28
|
+
Date:
|
|
29
|
+
- Sun, 29 Aug 2021 17:45:06 GMT
|
|
30
|
+
Content-Type:
|
|
31
|
+
- application/json; charset=utf-8
|
|
32
|
+
Transfer-Encoding:
|
|
33
|
+
- chunked
|
|
34
|
+
Connection:
|
|
35
|
+
- keep-alive
|
|
36
|
+
X-Dns-Prefetch-Control:
|
|
37
|
+
- 'off'
|
|
38
|
+
X-Frame-Options:
|
|
39
|
+
- SAMEORIGIN
|
|
40
|
+
Strict-Transport-Security:
|
|
41
|
+
- max-age=5184000; includeSubDomains
|
|
42
|
+
X-Download-Options:
|
|
43
|
+
- noopen
|
|
44
|
+
X-Content-Type-Options:
|
|
45
|
+
- nosniff
|
|
46
|
+
X-Xss-Protection:
|
|
47
|
+
- 1; mode=block
|
|
48
|
+
Referrer-Policy:
|
|
49
|
+
- same-origin
|
|
50
|
+
Content-Security-Policy:
|
|
51
|
+
- 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
|
|
52
|
+
https://apis.google.com https://api.amplitude.com https://widget.intercom.io
|
|
53
|
+
https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
|
|
54
|
+
https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
55
|
+
https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
|
|
56
|
+
https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
|
|
57
|
+
https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
|
|
58
|
+
https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
|
|
59
|
+
https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
|
|
60
|
+
wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
|
|
61
|
+
https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
|
|
62
|
+
https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
|
|
63
|
+
https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
|
|
64
|
+
https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
|
|
65
|
+
https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
66
|
+
https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
|
|
67
|
+
https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
|
|
68
|
+
https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
|
|
69
|
+
https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
|
|
70
|
+
https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
|
|
71
|
+
https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
|
|
72
|
+
https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
|
|
73
|
+
www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
|
|
74
|
+
https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
|
|
75
|
+
https://ton.twimg.com; frame-src https: http:; media-src https: http:'
|
|
76
|
+
X-Content-Security-Policy:
|
|
77
|
+
- 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
|
|
78
|
+
https://apis.google.com https://api.amplitude.com https://widget.intercom.io
|
|
79
|
+
https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
|
|
80
|
+
https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
81
|
+
https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
|
|
82
|
+
https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
|
|
83
|
+
https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
|
|
84
|
+
https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
|
|
85
|
+
https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
|
|
86
|
+
wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
|
|
87
|
+
https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
|
|
88
|
+
https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
|
|
89
|
+
https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
|
|
90
|
+
https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
|
|
91
|
+
https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
92
|
+
https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
|
|
93
|
+
https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
|
|
94
|
+
https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
|
|
95
|
+
https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
|
|
96
|
+
https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
|
|
97
|
+
https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
|
|
98
|
+
https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
|
|
99
|
+
www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
|
|
100
|
+
https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
|
|
101
|
+
https://ton.twimg.com; frame-src https: http:; media-src https: http:'
|
|
102
|
+
X-Webkit-Csp:
|
|
103
|
+
- 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
|
|
104
|
+
https://apis.google.com https://api.amplitude.com https://widget.intercom.io
|
|
105
|
+
https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
|
|
106
|
+
https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
107
|
+
https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
|
|
108
|
+
https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
|
|
109
|
+
https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
|
|
110
|
+
https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
|
|
111
|
+
https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
|
|
112
|
+
wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
|
|
113
|
+
https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
|
|
114
|
+
https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
|
|
115
|
+
https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
|
|
116
|
+
https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
|
|
117
|
+
https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
118
|
+
https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
|
|
119
|
+
https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
|
|
120
|
+
https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
|
|
121
|
+
https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
|
|
122
|
+
https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
|
|
123
|
+
https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
|
|
124
|
+
https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
|
|
125
|
+
www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
|
|
126
|
+
https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
|
|
127
|
+
https://ton.twimg.com; frame-src https: http:; media-src https: http:'
|
|
128
|
+
Set-Cookie:
|
|
129
|
+
- notion_browser_id=90e47682-16cc-4ae0-aec6-c0bc152d2ef5; Domain=www.notion.so;
|
|
130
|
+
Path=/; Expires=Wed, 07 May 2053 19:31:46 GMT; Secure
|
|
131
|
+
Etag:
|
|
132
|
+
- W/"1f8-q0E++mHLkdidPRLHaNfXLa3OZEo"
|
|
133
|
+
Vary:
|
|
134
|
+
- Accept-Encoding
|
|
135
|
+
Cf-Cache-Status:
|
|
136
|
+
- DYNAMIC
|
|
137
|
+
Expect-Ct:
|
|
138
|
+
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
|
139
|
+
Server:
|
|
140
|
+
- cloudflare
|
|
141
|
+
Cf-Ray:
|
|
142
|
+
- 6867975778e940b7-CDG
|
|
143
|
+
body:
|
|
144
|
+
encoding: UTF-8
|
|
145
|
+
string: '{"object":"list","results":[{"object":"block","id":"32ac99eb-3d4b-4dde-9ce2-e38a95bf004e","created_time":"2021-08-29T17:45:00.000Z","last_edited_time":"2021-08-29T17:45:00.000Z","has_children":false,"type":"paragraph","paragraph":{"rich_text":[{"type":"text","text":{"content":"Another
|
|
146
|
+
children","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"Another
|
|
147
|
+
children","href":null}]}}],"next_cursor":null,"has_more":false,"type":"block","block":{}}'
|
|
148
|
+
recorded_at: Sun, 29 Aug 2021 17:45:06 GMT
|
|
149
|
+
recorded_with: VCR 6.0.0
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.notion.com/v1/blocks/32af3324-ba02-4516-ae88-5728a4d569f4/children
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Accept:
|
|
11
|
+
- application/json; charset=utf-8
|
|
12
|
+
User-Agent:
|
|
13
|
+
- Notion Ruby Client/0.0.8
|
|
14
|
+
Authorization:
|
|
15
|
+
- Bearer <NOTION_API_TOKEN>
|
|
16
|
+
Notion-Version:
|
|
17
|
+
- '2022-02-22'
|
|
18
|
+
Accept-Encoding:
|
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
20
|
+
response:
|
|
21
|
+
status:
|
|
22
|
+
code: 200
|
|
23
|
+
message: OK
|
|
24
|
+
headers:
|
|
25
|
+
Date:
|
|
26
|
+
- Sun, 29 Aug 2021 17:45:02 GMT
|
|
27
|
+
Content-Type:
|
|
28
|
+
- application/json; charset=utf-8
|
|
29
|
+
Transfer-Encoding:
|
|
30
|
+
- chunked
|
|
31
|
+
Connection:
|
|
32
|
+
- keep-alive
|
|
33
|
+
X-Dns-Prefetch-Control:
|
|
34
|
+
- 'off'
|
|
35
|
+
X-Frame-Options:
|
|
36
|
+
- SAMEORIGIN
|
|
37
|
+
Strict-Transport-Security:
|
|
38
|
+
- max-age=5184000; includeSubDomains
|
|
39
|
+
X-Download-Options:
|
|
40
|
+
- noopen
|
|
41
|
+
X-Content-Type-Options:
|
|
42
|
+
- nosniff
|
|
43
|
+
X-Xss-Protection:
|
|
44
|
+
- 1; mode=block
|
|
45
|
+
Referrer-Policy:
|
|
46
|
+
- same-origin
|
|
47
|
+
Content-Security-Policy:
|
|
48
|
+
- 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
|
|
49
|
+
https://apis.google.com https://api.amplitude.com https://widget.intercom.io
|
|
50
|
+
https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
|
|
51
|
+
https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
52
|
+
https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
|
|
53
|
+
https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
|
|
54
|
+
https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
|
|
55
|
+
https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
|
|
56
|
+
https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
|
|
57
|
+
wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
|
|
58
|
+
https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
|
|
59
|
+
https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
|
|
60
|
+
https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
|
|
61
|
+
https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
|
|
62
|
+
https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
63
|
+
https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
|
|
64
|
+
https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
|
|
65
|
+
https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
|
|
66
|
+
https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
|
|
67
|
+
https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
|
|
68
|
+
https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
|
|
69
|
+
https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
|
|
70
|
+
www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
|
|
71
|
+
https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
|
|
72
|
+
https://ton.twimg.com; frame-src https: http:; media-src https: http:'
|
|
73
|
+
X-Content-Security-Policy:
|
|
74
|
+
- 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
|
|
75
|
+
https://apis.google.com https://api.amplitude.com https://widget.intercom.io
|
|
76
|
+
https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
|
|
77
|
+
https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
78
|
+
https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
|
|
79
|
+
https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
|
|
80
|
+
https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
|
|
81
|
+
https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
|
|
82
|
+
https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
|
|
83
|
+
wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
|
|
84
|
+
https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
|
|
85
|
+
https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
|
|
86
|
+
https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
|
|
87
|
+
https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
|
|
88
|
+
https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
89
|
+
https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
|
|
90
|
+
https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
|
|
91
|
+
https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
|
|
92
|
+
https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
|
|
93
|
+
https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
|
|
94
|
+
https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
|
|
95
|
+
https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
|
|
96
|
+
www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
|
|
97
|
+
https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
|
|
98
|
+
https://ton.twimg.com; frame-src https: http:; media-src https: http:'
|
|
99
|
+
X-Webkit-Csp:
|
|
100
|
+
- 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
|
|
101
|
+
https://apis.google.com https://api.amplitude.com https://widget.intercom.io
|
|
102
|
+
https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
|
|
103
|
+
https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
104
|
+
https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
|
|
105
|
+
https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
|
|
106
|
+
https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
|
|
107
|
+
https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
|
|
108
|
+
https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
|
|
109
|
+
wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
|
|
110
|
+
https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
|
|
111
|
+
https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
|
|
112
|
+
https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
|
|
113
|
+
https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
|
|
114
|
+
https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
115
|
+
https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
|
|
116
|
+
https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
|
|
117
|
+
https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
|
|
118
|
+
https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
|
|
119
|
+
https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
|
|
120
|
+
https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
|
|
121
|
+
https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
|
|
122
|
+
www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
|
|
123
|
+
https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
|
|
124
|
+
https://ton.twimg.com; frame-src https: http:; media-src https: http:'
|
|
125
|
+
Set-Cookie:
|
|
126
|
+
- notion_browser_id=33cfb86b-fefe-4454-96b5-f51730549269; Domain=www.notion.so;
|
|
127
|
+
Path=/; Expires=Wed, 07 May 2053 19:31:42 GMT; Secure
|
|
128
|
+
Etag:
|
|
129
|
+
- W/"71b-BU6l1eTv4o3zbg3FtFJJVNYrjBY"
|
|
130
|
+
Vary:
|
|
131
|
+
- Accept-Encoding
|
|
132
|
+
Cf-Cache-Status:
|
|
133
|
+
- DYNAMIC
|
|
134
|
+
Expect-Ct:
|
|
135
|
+
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
|
136
|
+
Server:
|
|
137
|
+
- cloudflare
|
|
138
|
+
Cf-Ray:
|
|
139
|
+
- 6867973e2eb6ee75-CDG
|
|
140
|
+
body:
|
|
141
|
+
encoding: UTF-8
|
|
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":{"rich_text":[{"type":"text","text":{"content":"The
|
|
143
|
+
first child","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"The
|
|
144
|
+
first child","href":null}]}},{"object":"block","id":"51ab7653-230b-4332-89e5-4ca2b10e695b","created_time":"2021-05-01T17:13:00.000Z","last_edited_time":"2021-05-01T17:13:00.000Z","has_children":false,"type":"paragraph","paragraph":{"rich_text":[{"type":"text","text":{"content":"The
|
|
145
|
+
second child","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"The
|
|
146
|
+
second child","href":null}]}},{"object":"block","id":"722ec5e1-f620-4860-a5fd-6de0430db4a8","created_time":"2021-08-29T17:17:00.000Z","last_edited_time":"2021-08-29T17:17:00.000Z","has_children":false,"type":"paragraph","paragraph":{"rich_text":[{"type":"text","text":{"content":"Another
|
|
147
|
+
children","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"Another
|
|
148
|
+
children","href":null}]}},{"object":"block","id":"a6cb4553-bdf1-4080-84fa-3e1bceba6912","created_time":"2021-08-29T17:18:00.000Z","last_edited_time":"2021-08-29T17:18:00.000Z","has_children":false,"type":"paragraph","paragraph":{"rich_text":[{"type":"text","text":{"content":"Another
|
|
149
|
+
children","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"Another
|
|
150
|
+
children","href":null}]}}],"next_cursor":null,"has_more":false}'
|
|
151
|
+
recorded_at: Sun, 29 Aug 2021 17:45:02 GMT
|
|
152
|
+
recorded_with: VCR 6.0.0
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: https://api.notion.com/v1/data_sources
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: "{\"parent\":{\"database_id\":\"6a91c56ebc5e46699e34952e09ec53c0\"},\"title\":[{\"text\":{\"content\":\"Orbit \U0001F49C Notion\"}}],\"properties\":{\"Name\":{\"title\":{}}}}"
|
|
9
|
+
headers:
|
|
10
|
+
Accept:
|
|
11
|
+
- application/json; charset=utf-8
|
|
12
|
+
Authorization:
|
|
13
|
+
- Bearer <NOTION_API_TOKEN>
|
|
14
|
+
Notion-Version:
|
|
15
|
+
- '2025-09-03'
|
|
16
|
+
Content-Type:
|
|
17
|
+
- application/json
|
|
18
|
+
response:
|
|
19
|
+
status:
|
|
20
|
+
code: 200
|
|
21
|
+
message: OK
|
|
22
|
+
headers:
|
|
23
|
+
Content-Type:
|
|
24
|
+
- application/json; charset=utf-8
|
|
25
|
+
body:
|
|
26
|
+
encoding: UTF-8
|
|
27
|
+
string: "{\"object\":\"data_source\",\"id\":\"6a91c56e-bc5e-4669-9e34-952e09ec53c0\",\"created_time\":\"2025-09-03T17:48:00.000Z\",\"last_edited_time\":\"2025-09-03T17:48:00.000Z\",\"title\":[{\"type\":\"text\",\"text\":{\"content\":\"Orbit \U0001F49C Notion\",\"link\":null},\"annotations\":{\"bold\":false,\"italic\":false,\"strikethrough\":false,\"underline\":false,\"code\":false,\"color\":\"default\"},\"plain_text\":\"Orbit \U0001F49C Notion\",\"href\":null}],\"properties\":{\"Name\":{\"id\":\"title\",\"name\":\"Name\",\"type\":\"title\",\"title\":{}}},\"parent\":{\"type\":\"database_id\",\"database_id\":\"6a91c56e-bc5e-4669-9e34-952e09ec53c0\"}}"
|
|
28
|
+
recorded_at: Wed, 03 Sep 2025 17:48:00 GMT
|
|
29
|
+
recorded_with: VCR 6.0.0
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: https://api.notion.com/v1/databases
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: "{\"parent\":{\"page_id\":\"c7fd1abe811444eabe779632ea33e581\"},\"title\":[{\"text\":{\"content\":\"Orbit
|
|
9
|
+
\U0001F49C Notion\"}}],\"properties\":{\"Name\":{\"title\":{}}}}"
|
|
10
|
+
headers:
|
|
11
|
+
Accept:
|
|
12
|
+
- application/json; charset=utf-8
|
|
13
|
+
User-Agent:
|
|
14
|
+
- Notion Ruby Client/0.0.8
|
|
15
|
+
Authorization:
|
|
16
|
+
- Bearer <NOTION_API_TOKEN>
|
|
17
|
+
Notion-Version:
|
|
18
|
+
- '2022-02-22'
|
|
19
|
+
Content-Type:
|
|
20
|
+
- application/json
|
|
21
|
+
Accept-Encoding:
|
|
22
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
23
|
+
response:
|
|
24
|
+
status:
|
|
25
|
+
code: 200
|
|
26
|
+
message: OK
|
|
27
|
+
headers:
|
|
28
|
+
Date:
|
|
29
|
+
- Sun, 29 Aug 2021 17:48:01 GMT
|
|
30
|
+
Content-Type:
|
|
31
|
+
- application/json; charset=utf-8
|
|
32
|
+
Transfer-Encoding:
|
|
33
|
+
- chunked
|
|
34
|
+
Connection:
|
|
35
|
+
- keep-alive
|
|
36
|
+
X-Dns-Prefetch-Control:
|
|
37
|
+
- 'off'
|
|
38
|
+
X-Frame-Options:
|
|
39
|
+
- SAMEORIGIN
|
|
40
|
+
Strict-Transport-Security:
|
|
41
|
+
- max-age=5184000; includeSubDomains
|
|
42
|
+
X-Download-Options:
|
|
43
|
+
- noopen
|
|
44
|
+
X-Content-Type-Options:
|
|
45
|
+
- nosniff
|
|
46
|
+
X-Xss-Protection:
|
|
47
|
+
- 1; mode=block
|
|
48
|
+
Referrer-Policy:
|
|
49
|
+
- same-origin
|
|
50
|
+
Content-Security-Policy:
|
|
51
|
+
- 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
|
|
52
|
+
https://apis.google.com https://api.amplitude.com https://widget.intercom.io
|
|
53
|
+
https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
|
|
54
|
+
https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
55
|
+
https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
|
|
56
|
+
https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
|
|
57
|
+
https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
|
|
58
|
+
https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
|
|
59
|
+
https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
|
|
60
|
+
wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
|
|
61
|
+
https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
|
|
62
|
+
https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
|
|
63
|
+
https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
|
|
64
|
+
https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
|
|
65
|
+
https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
66
|
+
https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
|
|
67
|
+
https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
|
|
68
|
+
https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
|
|
69
|
+
https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
|
|
70
|
+
https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
|
|
71
|
+
https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
|
|
72
|
+
https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
|
|
73
|
+
www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
|
|
74
|
+
https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
|
|
75
|
+
https://ton.twimg.com; frame-src https: http:; media-src https: http:'
|
|
76
|
+
X-Content-Security-Policy:
|
|
77
|
+
- 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
|
|
78
|
+
https://apis.google.com https://api.amplitude.com https://widget.intercom.io
|
|
79
|
+
https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
|
|
80
|
+
https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
81
|
+
https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
|
|
82
|
+
https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
|
|
83
|
+
https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
|
|
84
|
+
https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
|
|
85
|
+
https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
|
|
86
|
+
wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
|
|
87
|
+
https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
|
|
88
|
+
https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
|
|
89
|
+
https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
|
|
90
|
+
https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
|
|
91
|
+
https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
92
|
+
https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
|
|
93
|
+
https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
|
|
94
|
+
https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
|
|
95
|
+
https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
|
|
96
|
+
https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
|
|
97
|
+
https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
|
|
98
|
+
https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
|
|
99
|
+
www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
|
|
100
|
+
https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
|
|
101
|
+
https://ton.twimg.com; frame-src https: http:; media-src https: http:'
|
|
102
|
+
X-Webkit-Csp:
|
|
103
|
+
- 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
|
|
104
|
+
https://apis.google.com https://api.amplitude.com https://widget.intercom.io
|
|
105
|
+
https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
|
|
106
|
+
https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
107
|
+
https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
|
|
108
|
+
https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
|
|
109
|
+
https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
|
|
110
|
+
https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
|
|
111
|
+
https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
|
|
112
|
+
wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
|
|
113
|
+
https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
|
|
114
|
+
https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
|
|
115
|
+
https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
|
|
116
|
+
https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
|
|
117
|
+
https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
118
|
+
https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
|
|
119
|
+
https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
|
|
120
|
+
https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
|
|
121
|
+
https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
|
|
122
|
+
https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
|
|
123
|
+
https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
|
|
124
|
+
https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
|
|
125
|
+
www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
|
|
126
|
+
https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
|
|
127
|
+
https://ton.twimg.com; frame-src https: http:; media-src https: http:'
|
|
128
|
+
Set-Cookie:
|
|
129
|
+
- notion_browser_id=b088b6b8-589e-438c-99a2-73133f9ea657; Domain=www.notion.so;
|
|
130
|
+
Path=/; Expires=Wed, 07 May 2053 19:34:41 GMT; Secure
|
|
131
|
+
Etag:
|
|
132
|
+
- W/"239-hWn2FSxVE/GcZiCm1CNuiPH0qec"
|
|
133
|
+
Vary:
|
|
134
|
+
- Accept-Encoding
|
|
135
|
+
Cf-Cache-Status:
|
|
136
|
+
- DYNAMIC
|
|
137
|
+
Expect-Ct:
|
|
138
|
+
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
|
139
|
+
Server:
|
|
140
|
+
- cloudflare
|
|
141
|
+
Cf-Ray:
|
|
142
|
+
- 68679b989adda8d9-CDG
|
|
143
|
+
body:
|
|
144
|
+
encoding: UTF-8
|
|
145
|
+
string: "{\"object\":\"database\",\"id\":\"6a91c56e-bc5e-4669-9e34-952e09ec53c0\",\"cover\":null,\"icon\":null,\"created_time\":\"2021-08-29T17:48:00.000Z\",\"last_edited_time\":\"2021-08-29T17:48:00.000Z\",\"title\":[{\"type\":\"text\",\"text\":{\"content\":\"Orbit
|
|
146
|
+
\U0001F49C Notion\",\"link\":null},\"annotations\":{\"bold\":false,\"italic\":false,\"strikethrough\":false,\"underline\":false,\"code\":false,\"color\":\"default\"},\"plain_text\":\"Orbit
|
|
147
|
+
\U0001F49C Notion\",\"href\":null}],\"properties\":{\"Name\":{\"id\":\"title\",\"name\":\"Name\",\"type\":\"title\",\"title\":{}}},\"parent\":{\"type\":\"page_id\",\"page_id\":\"c7fd1abe-8114-44ea-be77-9632ea33e581\"}}"
|
|
148
|
+
recorded_at: Sun, 29 Aug 2021 17:48:01 GMT
|
|
149
|
+
recorded_with: VCR 6.0.0
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: https://api.notion.com/v1/comments
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: '{"rich_text":[{"text":{"content":"test comment"}}],"discussion_id":"ea116af4839c410bb4ac242a18dc4392"}'
|
|
9
|
+
headers:
|
|
10
|
+
Accept:
|
|
11
|
+
- application/json; charset=utf-8
|
|
12
|
+
User-Agent:
|
|
13
|
+
- Notion Ruby Client/1.0.0
|
|
14
|
+
Authorization:
|
|
15
|
+
- Bearer <NOTION_API_TOKEN>
|
|
16
|
+
Notion-Version:
|
|
17
|
+
- '2022-02-22'
|
|
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
|
+
- Fri, 02 Sep 2022 16:29:26 GMT
|
|
29
|
+
Content-Type:
|
|
30
|
+
- application/json; charset=utf-8
|
|
31
|
+
Transfer-Encoding:
|
|
32
|
+
- chunked
|
|
33
|
+
Connection:
|
|
34
|
+
- keep-alive
|
|
35
|
+
Set-Cookie:
|
|
36
|
+
- notion_browser_id=060fba74-6b6c-4d17-bd99-ac0aaa23aefd; Domain=www.notion.so;
|
|
37
|
+
Path=/; Expires=Sat, 02 Sep 2023 16:29:26 GMT; Secure
|
|
38
|
+
- notion_check_cookie_consent=false; Domain=www.notion.so; Path=/; Expires=Sat,
|
|
39
|
+
03 Sep 2022 16:29:26 GMT; Secure
|
|
40
|
+
Content-Security-Policy:
|
|
41
|
+
- "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://gist.github.com https://apis.google.com
|
|
42
|
+
https://www.google.com https://www.gstatic.com https://cdn.amplitude.com https://api.amplitude.com
|
|
43
|
+
https://hkfxbbdzib.notion.so https://widget.intercom.io https://js.intercomcdn.com
|
|
44
|
+
https://static.zdassets.com https://api.smooch.io\t https://logs-01.loggly.com
|
|
45
|
+
https://http-inputs-notion.splunkcloud.com https://cdn.segment.com https://analytics.pgncs.notion.so
|
|
46
|
+
https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com
|
|
47
|
+
https://embed.typeform.com https://admin.typeform.com https://public.profitwell.com
|
|
48
|
+
js.sentry-cdn.com https://js.chilipiper.com https://platform.twitter.com https://cdn.syndication.twimg.com
|
|
49
|
+
https://accounts.google.com www.googletagmanager.com https://www.googleadservices.com
|
|
50
|
+
https://googleads.g.doubleclick.net https://api-v2.mutinyhq.io https://client-registry.mutinycdn.com
|
|
51
|
+
https://client.mutinycdn.com https://user-data.mutinycdn.com;connect-src 'self'
|
|
52
|
+
https://msgstore.www.notion.so wss://msgstore.www.notion.so ws://localhost:*
|
|
53
|
+
ws://127.0.0.1:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com
|
|
54
|
+
https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
|
|
55
|
+
https://cdn.amplitude.com https://api.amplitude.com https://hkfxbbdzib.notion.so
|
|
56
|
+
https://www.notion.so https://api.embed.ly https://js.intercomcdn.com https://api-iam.intercom.io
|
|
57
|
+
https://uploads.intercomcdn.com wss://nexus-websocket-a.intercom.io https://ekr.zdassets.com
|
|
58
|
+
https://ekr.zendesk.com\t https://makenotion.zendesk.com\t https://api.smooch.io\t
|
|
59
|
+
wss://api.smooch.io\t https://logs-01.loggly.com https://http-inputs-notion.splunkcloud.com
|
|
60
|
+
https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
|
|
61
|
+
https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
|
62
|
+
https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
|
|
63
|
+
https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
|
|
64
|
+
https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
|
|
65
|
+
https://accounts.google.com https://oauth2.googleapis.com https://www.googleadservices.com
|
|
66
|
+
https://googleads.g.doubleclick.net https://region1.google-analytics.com https://region1.analytics.google.com
|
|
67
|
+
https://www.google-analytics.com https://api-v2.mutinyhq.io https://client-registry.mutinycdn.com
|
|
68
|
+
https://client.mutinycdn.com https://user-data.mutinycdn.com https://api.statuspage.io
|
|
69
|
+
https://pgncd.notion.so https://api.statsig.com https://statsigapi.net https://exp.notion.so
|
|
70
|
+
https://file.notion.so;font-src 'self' data: https://cdnjs.cloudflare.com
|
|
71
|
+
https://js.intercomcdn.com;img-src 'self' data: blob: https: https://platform.twitter.com
|
|
72
|
+
https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
|
|
73
|
+
https://region1.google-analytics.com https://region1.analytics.google.com;style-src
|
|
74
|
+
'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com
|
|
75
|
+
https://js.chilipiper.com https://platform.twitter.com https://ton.twimg.com
|
|
76
|
+
https://accounts.google.com;frame-src https: http: https://accounts.google.com;media-src
|
|
77
|
+
https: http: https://file.notion.so"
|
|
78
|
+
X-Dns-Prefetch-Control:
|
|
79
|
+
- 'off'
|
|
80
|
+
X-Frame-Options:
|
|
81
|
+
- SAMEORIGIN
|
|
82
|
+
Strict-Transport-Security:
|
|
83
|
+
- max-age=5184000; includeSubDomains
|
|
84
|
+
X-Download-Options:
|
|
85
|
+
- noopen
|
|
86
|
+
X-Content-Type-Options:
|
|
87
|
+
- nosniff
|
|
88
|
+
X-Permitted-Cross-Domain-Policies:
|
|
89
|
+
- none
|
|
90
|
+
Referrer-Policy:
|
|
91
|
+
- strict-origin-when-cross-origin
|
|
92
|
+
X-Xss-Protection:
|
|
93
|
+
- '0'
|
|
94
|
+
Etag:
|
|
95
|
+
- W/"250-4FWWLrU/GwY9p/XT7GcTdthccMw"
|
|
96
|
+
Vary:
|
|
97
|
+
- Accept-Encoding
|
|
98
|
+
Cf-Cache-Status:
|
|
99
|
+
- DYNAMIC
|
|
100
|
+
Server:
|
|
101
|
+
- cloudflare
|
|
102
|
+
Cf-Ray:
|
|
103
|
+
- 74479fdd5a4e2940-ORD
|
|
104
|
+
body:
|
|
105
|
+
encoding: UTF-8
|
|
106
|
+
string: '{"object":"comment","id":"9e908609-bfcd-42d2-8f54-61c39d82351d","parent":{"type":"block_id","block_id":"1a2f70ab-2615-4dc7-a838-536a3f430af4"},"discussion_id":"ea116af4-839c-410b-b4ac-242a18dc4392","created_time":"2022-09-02T16:29:00.000Z","last_edited_time":"2022-09-02T16:29:00.000Z","created_by":{"object":"user","id":"3eb712e5-c1d7-43f2-ae18-c4d36f846aa1"},"rich_text":[{"type":"text","text":{"content":"test
|
|
107
|
+
comment","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"test
|
|
108
|
+
comment","href":null}]}'
|
|
109
|
+
recorded_at: Fri, 02 Sep 2022 16:29:26 GMT
|
|
110
|
+
recorded_with: VCR 6.0.0
|