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.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +1 -0
- data/.gitignore +7 -0
- data/.rubocop.yml +9 -0
- data/CHANGELOG.md +19 -0
- data/Gemfile.lock +29 -7
- data/README.md +245 -55
- data/bin/console +31 -0
- data/lib/notion/api/endpoints/blocks.rb +35 -7
- data/lib/notion/api/endpoints/databases.rb +65 -37
- data/lib/notion/api/endpoints/pages.rb +6 -6
- data/lib/notion/api/endpoints/search.rb +41 -0
- data/lib/notion/api/endpoints/users.rb +6 -3
- data/lib/notion/api/endpoints.rb +3 -1
- data/lib/notion/api/errors/too_many_requests.rb +15 -0
- data/lib/notion/api/errors.rb +0 -2
- data/lib/notion/config.rb +2 -0
- data/lib/notion/pagination/cursor.rb +5 -2
- data/lib/notion/version.rb +2 -2
- data/lib/notion-ruby-client.rb +2 -0
- data/notion-ruby-client.gemspec +3 -1
- data/spec/fixtures/notion/block.yml +146 -0
- data/spec/fixtures/notion/block_append_children.yml +76 -62
- data/spec/fixtures/notion/block_children.yml +80 -65
- data/spec/fixtures/notion/create_database.yml +67 -58
- data/spec/fixtures/notion/create_page.yml +68 -59
- data/spec/fixtures/notion/database.yml +78 -61
- data/spec/fixtures/notion/database_query.yml +81 -62
- data/spec/fixtures/notion/databases_list.yml +77 -60
- data/spec/fixtures/notion/page.yml +70 -57
- data/spec/fixtures/notion/paginated_block_children.yml +296 -242
- data/spec/fixtures/notion/paginated_database_query.yml +79 -62
- data/spec/fixtures/notion/paginated_databases_list.yml +78 -61
- data/spec/fixtures/notion/paginated_search.yml +301 -0
- data/spec/fixtures/notion/paginated_users_list.yml +143 -130
- 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_database.yml +152 -0
- data/spec/fixtures/notion/update_page.yml +71 -59
- data/spec/fixtures/notion/users.yml +69 -56
- data/spec/fixtures/notion/users_list.yml +143 -130
- data/spec/notion/api/endpoints/blocks_spec.rb +37 -11
- data/spec/notion/api/endpoints/databases_spec.rb +25 -17
- data/spec/notion/api/endpoints/pages_spec.rb +7 -16
- data/spec/notion/api/endpoints/search_spec.rb +26 -0
- data/spec/notion/api/endpoints/users_spec.rb +4 -4
- data/spec/notion/pagination/cursor_spec.rb +126 -0
- metadata +52 -8
- data/.rspec_status +0 -19
- data/notion-ruby-client-0.0.4.gem +0 -0
- data/scratchpad.rb +0 -22
- data/screenshots/create_notion_bot.png +0 -0
@@ -1,133 +1,146 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
-
- request:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.notion.com/v1/users?page_size=1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json; charset=utf-8
|
12
|
+
User-Agent:
|
13
|
+
- Notion Ruby Client/0.0.8
|
14
|
+
Authorization:
|
15
|
+
- Bearer <NOTION_API_TOKEN>
|
16
|
+
Notion-Version:
|
17
|
+
- "2021-08-16"
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Date:
|
26
|
+
- Sun, 29 Aug 2021 17:57:40 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=0964e505-3b82-4b5c-9f63-fa75814d889f; Domain=www.notion.so;
|
127
|
+
Path=/; Expires=Wed, 07 May 2053 19:44:20 GMT; Secure
|
128
|
+
Etag:
|
129
|
+
- W/"175-7F8HTEwjtkJi1MvD1wOC7NAu7qQ"
|
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
|
+
- 6867a9b9edb2eda7-CDG
|
140
|
+
body:
|
141
|
+
encoding: UTF-8
|
142
|
+
string:
|
143
|
+
'{"object":"list","results":[{"object":"user","id":"a8da8d30-c858-4c3d-87ad-3f2d477bd98d","name":"Nicolas
|
144
|
+
Goutay","avatar_url":"https://s3-us-west-2.amazonaws.com/public.notion-static.com/5f9b5c65-a7ed-4fc5-983a-6c999b7c2208/Copy_of_P1222454.jpg","type":"person","person":{"email":"nicolas@orbit.love"}}],"next_cursor":null,"has_more":false}'
|
145
|
+
recorded_at: Sun, 29 Aug 2021 17:57:40 GMT
|
133
146
|
recorded_with: VCR 6.0.0
|
@@ -0,0 +1,160 @@
|
|
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: ''
|
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
|
+
Content-Length:
|
21
|
+
- '0'
|
22
|
+
Accept-Encoding:
|
23
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 200
|
27
|
+
message: OK
|
28
|
+
headers:
|
29
|
+
Date:
|
30
|
+
- Sun, 29 Aug 2021 15:50:38 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json; charset=utf-8
|
33
|
+
Transfer-Encoding:
|
34
|
+
- chunked
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
X-Dns-Prefetch-Control:
|
38
|
+
- 'off'
|
39
|
+
X-Frame-Options:
|
40
|
+
- SAMEORIGIN
|
41
|
+
Strict-Transport-Security:
|
42
|
+
- max-age=5184000; includeSubDomains
|
43
|
+
X-Download-Options:
|
44
|
+
- noopen
|
45
|
+
X-Content-Type-Options:
|
46
|
+
- nosniff
|
47
|
+
X-Xss-Protection:
|
48
|
+
- 1; mode=block
|
49
|
+
Referrer-Policy:
|
50
|
+
- same-origin
|
51
|
+
Content-Security-Policy:
|
52
|
+
- 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
|
53
|
+
https://apis.google.com https://api.amplitude.com https://widget.intercom.io
|
54
|
+
https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
|
55
|
+
https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
56
|
+
https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
|
57
|
+
https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
|
58
|
+
https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
|
59
|
+
https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
|
60
|
+
https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
|
61
|
+
wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
|
62
|
+
https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com
|
63
|
+
https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
|
64
|
+
https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
|
65
|
+
https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
|
66
|
+
https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
67
|
+
https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
|
68
|
+
https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
|
69
|
+
https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
|
70
|
+
https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
|
71
|
+
https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
|
72
|
+
https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
|
73
|
+
https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
|
74
|
+
www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
|
75
|
+
https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
|
76
|
+
https://ton.twimg.com; frame-src https: http:; media-src https: http:'
|
77
|
+
X-Content-Security-Policy:
|
78
|
+
- 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
|
79
|
+
https://apis.google.com https://api.amplitude.com https://widget.intercom.io
|
80
|
+
https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
|
81
|
+
https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
82
|
+
https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
|
83
|
+
https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
|
84
|
+
https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
|
85
|
+
https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
|
86
|
+
https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
|
87
|
+
wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
|
88
|
+
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
|
89
|
+
https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
|
90
|
+
https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
|
91
|
+
https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
|
92
|
+
https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
93
|
+
https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
|
94
|
+
https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
|
95
|
+
https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
|
96
|
+
https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
|
97
|
+
https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
|
98
|
+
https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
|
99
|
+
https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
|
100
|
+
www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
|
101
|
+
https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
|
102
|
+
https://ton.twimg.com; frame-src https: http:; media-src https: http:'
|
103
|
+
X-Webkit-Csp:
|
104
|
+
- 'script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' https://gist.github.com
|
105
|
+
https://apis.google.com https://api.amplitude.com https://widget.intercom.io
|
106
|
+
https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com
|
107
|
+
https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
108
|
+
https://js.stripe.com https://embed.typeform.com https://admin.typeform.com
|
109
|
+
https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com
|
110
|
+
https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com
|
111
|
+
https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/
|
112
|
+
https://user-data.mutinycdn.com; connect-src ''self'' https://msgstore.www.notion.so
|
113
|
+
wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com
|
114
|
+
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
|
115
|
+
https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com
|
116
|
+
https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com
|
117
|
+
https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so
|
118
|
+
https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com
|
119
|
+
https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com
|
120
|
+
https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com
|
121
|
+
https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io
|
122
|
+
https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io
|
123
|
+
https://pgncd.notion.so; font-src ''self'' data: https://cdnjs.cloudflare.com
|
124
|
+
https://js.intercomcdn.com; img-src ''self'' data: blob: https: https://platform.twitter.com
|
125
|
+
https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com
|
126
|
+
www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://cdnjs.cloudflare.com
|
127
|
+
https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com
|
128
|
+
https://ton.twimg.com; frame-src https: http:; media-src https: http:'
|
129
|
+
Set-Cookie:
|
130
|
+
- notion_browser_id=ea6f8555-490e-4602-8363-d947e401a184; Domain=www.notion.so;
|
131
|
+
Path=/; Expires=Wed, 07 May 2053 17:37:16 GMT; Secure
|
132
|
+
Etag:
|
133
|
+
- W/"852-0xBbAUIwxErdvwkZrM0ZmV85kUo"
|
134
|
+
Vary:
|
135
|
+
- Accept-Encoding
|
136
|
+
Cf-Cache-Status:
|
137
|
+
- DYNAMIC
|
138
|
+
Expect-Ct:
|
139
|
+
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
140
|
+
Server:
|
141
|
+
- cloudflare
|
142
|
+
Cf-Ray:
|
143
|
+
- 6866ef99ed5939db-CDG
|
144
|
+
body:
|
145
|
+
encoding: UTF-8
|
146
|
+
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
|
147
|
+
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
|
148
|
+
Note URL\":{\"id\":\"L:sP\",\"type\":\"url\",\"url\":\"https://app.orbit.love/orbit/members/phacks3?type=notes\"},\"Member
|
149
|
+
Email\":{\"id\":\"[IFC\",\"type\":\"email\",\"email\":\"nicolas@orbit.love\"},\"Send
|
150
|
+
to Orbit\":{\"id\":\"^oR?\",\"type\":\"checkbox\",\"checkbox\":true},\"Name\":{\"id\":\"title\",\"type\":\"title\",\"title\":[{\"type\":\"text\",\"text\":{\"content\":\"Nicolas
|
151
|
+
Goutay\",\"link\":null},\"annotations\":{\"bold\":false,\"italic\":false,\"strikethrough\":false,\"underline\":false,\"code\":false,\"color\":\"default\"},\"plain_text\":\"Nicolas
|
152
|
+
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
|
153
|
+
\U0001F49C Notion\",\"link\":null},\"annotations\":{\"bold\":false,\"italic\":false,\"strikethrough\":false,\"underline\":false,\"code\":false,\"color\":\"default\"},\"plain_text\":\"Orbit
|
154
|
+
\U0001F49C Notion\",\"href\":null}],\"properties\":{\"Orbit Status\":{\"id\":\"=adK\",\"name\":\"Orbit
|
155
|
+
Status\",\"type\":\"rich_text\",\"rich_text\":{}},\"Orbit Note URL\":{\"id\":\"L:sP\",\"name\":\"Orbit
|
156
|
+
Note URL\",\"type\":\"url\",\"url\":{}},\"Member Email\":{\"id\":\"[IFC\",\"name\":\"Member
|
157
|
+
Email\",\"type\":\"email\",\"email\":{}},\"Send to Orbit\":{\"id\":\"^oR?\",\"name\":\"Send
|
158
|
+
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\":null,\"has_more\":false}"
|
159
|
+
recorded_at: Sun, 29 Aug 2021 15:50:38 GMT
|
160
|
+
recorded_with: VCR 6.0.0
|
@@ -0,0 +1,152 @@
|
|
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: '{"query":"Nicolas"}'
|
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:44:11 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=4032f95f-329b-49ef-8ea5-c9551b4b8bf9; Domain=www.notion.so;
|
129
|
+
Path=/; Expires=Wed, 07 May 2053 17:30:49 GMT; Secure
|
130
|
+
Etag:
|
131
|
+
- W/"4b7-SteU+PB3xEdim4HbpwAbjPaSWz4"
|
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
|
+
- 6866e6271f32cdcf-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 to
|
148
|
+
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"}],"next_cursor":null,"has_more":false}'
|
151
|
+
recorded_at: Sun, 29 Aug 2021 15:44:11 GMT
|
152
|
+
recorded_with: VCR 6.0.0
|