-
-
Notifications
You must be signed in to change notification settings - Fork 588
/
Copy pathopenapi.yaml
6511 lines (6507 loc) · 362 KB
/
openapi.yaml
1
2
3
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.3
servers:
- url: https://api.notion.com
info:
contact: {}
description: |-
Hello and welcome!
To make use of this API collection collection as it's written, please duplicate [this database template](https://www.notion.so/8e2c2b769e1d47d287b9ed3035d607ae?v=dc1b92875fb94f10834ba8d36549bd2a).
[Create an integration](https://www.notion.so/my-integrations) to retrieve an API token, add your database and page ID's as variables in the collection, and start making your requests!
For our full documentation, including sample integrations and guides, visit [developers.notion.com](developers.notion.com)
Need more help? Join our [developer community on Slack](https://join.slack.com/t/notiondevs/shared_invite/zt-lkrnk74h-YmPRroySRFGiqgjI193AqA/)
title: Notion API
version: 1.0.0
x-apisguru-categories:
- collaboration
x-logo:
url: https://notion.com/front-static/logo-ios.png
x-origin:
- format: postman
url: https://www.postman.com/collections/15568543-d990f9b7-98d3-47d3-9131-4866ab9c6df2
version: 2.x
x-providerName: notion.com
tags:
- name: Users
- name: Databases
- name: Pages
- name: Blocks
- name: Search
- name: Comments
paths:
"/v1/blocks/{id}":
delete:
description: Delete a block
operationId: deleteABlock
parameters:
- in: header
name: Notion-Version
schema:
example: "{{NOTION_VERSION}}"
type: string
responses:
"200":
content:
application/json:
examples:
200 Success - Delete a block:
value:
archived: true
created_by:
id: 6794760a-1f15-45cd-9c65-0dfe42f5135a
object: user
created_time: 2021-08-06T17:46:00.000Z
has_children: false
id: 4868767d-9029-4b9d-a41b-652ef4c9c7b9
last_edited_by:
id: 92a680bb-6970-4726-952b-4f4c03bff617
object: user
last_edited_time: 2022-02-24T22:26:00.000Z
object: block
paragraph:
text:
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: null
plain_text: hello to you
text:
content: hello to you
link: null
type: text
type: paragraph
schema:
properties:
archived:
example: true
type: boolean
created_by:
properties:
id:
example: 6794760a-1f15-45cd-9c65-0dfe42f5135a
type: string
object:
example: user
type: string
type: object
created_time:
example: 2021-08-06T17:46:00.000Z
type: string
has_children:
example: false
type: boolean
id:
example: 4868767d-9029-4b9d-a41b-652ef4c9c7b9
type: string
last_edited_by:
properties:
id:
example: 92a680bb-6970-4726-952b-4f4c03bff617
type: string
object:
example: user
type: string
type: object
last_edited_time:
example: 2022-02-24T22:26:00.000Z
type: string
object:
example: block
type: string
paragraph:
properties:
text:
example:
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: null
plain_text: hello to you
text:
content: hello to you
link: null
type: text
items:
properties:
annotations:
properties:
bold:
example: false
type: boolean
code:
example: false
type: boolean
color:
example: default
type: string
italic:
example: false
type: boolean
strikethrough:
example: false
type: boolean
underline:
example: false
type: boolean
type: object
href:
example: null
nullable: true
plain_text:
example: hello to you
type: string
text:
properties:
content:
example: hello to you
type: string
link:
example: null
nullable: true
type: object
type:
example: text
type: string
type: object
type: array
type: object
type:
example: paragraph
type: string
type: object
description: 200 Success - Delete a block
headers:
CF-Cache-Status:
schema:
example: DYNAMIC
type: string
CF-RAY:
schema:
example: 6e2c1dcfdbf0255c-SJC
type: string
Connection:
schema:
example: keep-alive
type: string
Content-Encoding:
schema:
example: gzip
type: string
Content-Security-Policy:
schema:
example: "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://gist.github.com https://apis.google.com https://cdn.amplitude.com https://api.amplitude.com https://hkfxbbdzib.notion.so https://widget.intercom.io https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://embed.typeform.com https://admin.typeform.com https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com https://platform.twitter.com https://cdn.syndication.twimg.com; connect-src 'self' https://msgstore.www.notion.so wss://msgstore.www.notion.so ws://localhost:* ws://127.0.0.1:* https://notion-emojis.s3-us-west-2.amazonaws.com 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 https: http: https://cdn.amplitude.com https://api.amplitude.com https://hkfxbbdzib.notion.so https://api.embed.ly https://js.intercomcdn.com https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io https://api.statuspage.io https://pgncd.notion.so https://api.statsig.com; font-src 'self' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com; img-src 'self' data: blob: https: https://platform.twitter.com https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com https://ton.twimg.com; frame-src https: http:; media-src https: http:"
type: string
Date:
schema:
example: Thu, 24 Feb 2022 22:26:40 GMT
type: string
ETag:
schema:
example: W/"258-nR8cSrr3A4mS1zWlKjaHASxX/tQ"
type: string
Expect-CT:
schema:
example: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
type: string
Referrer-Policy:
schema:
example: same-origin
type: string
Server:
schema:
example: cloudflare
type: string
Set-Cookie:
schema:
example: notion_check_cookie_consent=false; Domain=www.notion.so; Path=/; Expires=Fri, 25 Feb 2022 22:26:36 GMT; Secure
type: string
Strict-Transport-Security:
schema:
example: max-age=5184000; includeSubDomains
type: string
Transfer-Encoding:
schema:
example: chunked
type: string
Vary:
schema:
example: Accept-Encoding
type: string
X-Content-Security-Policy:
schema:
example: "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://gist.github.com https://apis.google.com https://cdn.amplitude.com https://api.amplitude.com https://hkfxbbdzib.notion.so https://widget.intercom.io https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://embed.typeform.com https://admin.typeform.com https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com https://platform.twitter.com https://cdn.syndication.twimg.com; connect-src 'self' https://msgstore.www.notion.so wss://msgstore.www.notion.so ws://localhost:* ws://127.0.0.1:* https://notion-emojis.s3-us-west-2.amazonaws.com 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 https: http: https://cdn.amplitude.com https://api.amplitude.com https://hkfxbbdzib.notion.so https://api.embed.ly https://js.intercomcdn.com https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io https://api.statuspage.io https://pgncd.notion.so https://api.statsig.com; font-src 'self' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com; img-src 'self' data: blob: https: https://platform.twitter.com https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com https://ton.twimg.com; frame-src https: http:; media-src https: http:"
type: string
X-Content-Type-Options:
schema:
example: nosniff
type: string
X-DNS-Prefetch-Control:
schema:
example: off
type: string
X-Download-Options:
schema:
example: noopen
type: string
X-Frame-Options:
schema:
example: SAMEORIGIN
type: string
X-WebKit-CSP:
schema:
example: "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://gist.github.com https://apis.google.com https://cdn.amplitude.com https://api.amplitude.com https://hkfxbbdzib.notion.so https://widget.intercom.io https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://embed.typeform.com https://admin.typeform.com https://public.profitwell.com js.sentry-cdn.com https://js.chilipiper.com https://platform.twitter.com https://cdn.syndication.twimg.com; connect-src 'self' https://msgstore.www.notion.so wss://msgstore.www.notion.so ws://localhost:* ws://127.0.0.1:* https://notion-emojis.s3-us-west-2.amazonaws.com 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 https: http: https://cdn.amplitude.com https://api.amplitude.com https://hkfxbbdzib.notion.so https://api.embed.ly https://js.intercomcdn.com https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io https://api.statuspage.io https://pgncd.notion.so https://api.statsig.com; font-src 'self' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com; img-src 'self' data: blob: https: https://platform.twitter.com https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com https://ton.twimg.com; frame-src https: http:; media-src https: http:"
type: string
X-XSS-Protection:
schema:
example: 1; mode=block
type: string
summary: Delete a block
tags:
- Blocks
get:
description: Retrieve a block
operationId: retrieveABlock
parameters:
- in: header
name: Notion-Version
schema:
example: "{{NOTION_VERSION}}"
type: string
responses:
"200":
content:
application/json:
examples:
200 Success - Retrieve a block:
value:
created_time: 2021-08-06T17:46:00.000Z
has_children: false
id: 4868767d-9029-4b9d-a41b-652ef4c9c7b9
last_edited_time: 2021-08-12T00:12:00.000Z
object: block
paragraph:
text:
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: null
plain_text: hello to you
text:
content: hello to you
link: null
type: text
type: paragraph
schema:
properties:
created_time:
example: 2021-08-06T17:46:00.000Z
type: string
has_children:
example: false
type: boolean
id:
example: 4868767d-9029-4b9d-a41b-652ef4c9c7b9
type: string
last_edited_time:
example: 2021-08-12T00:12:00.000Z
type: string
object:
example: block
type: string
paragraph:
properties:
text:
example:
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: null
plain_text: hello to you
text:
content: hello to you
link: null
type: text
items:
properties:
annotations:
properties:
bold:
example: false
type: boolean
code:
example: false
type: boolean
color:
example: default
type: string
italic:
example: false
type: boolean
strikethrough:
example: false
type: boolean
underline:
example: false
type: boolean
type: object
href:
example: null
nullable: true
plain_text:
example: hello to you
type: string
text:
properties:
content:
example: hello to you
type: string
link:
example: null
nullable: true
type: object
type:
example: text
type: string
type: object
type: array
type: object
type:
example: paragraph
type: string
type: object
description: 200 Success - Retrieve a block
headers:
CF-Cache-Status:
schema:
example: DYNAMIC
type: string
CF-RAY:
schema:
example: 67d58148ef562544-SJC
type: string
Connection:
schema:
example: keep-alive
type: string
Content-Encoding:
schema:
example: gzip
type: string
Content-Security-Policy:
schema:
example: "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://gist.github.com https://apis.google.com https://api.amplitude.com https://widget.intercom.io https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://embed.typeform.com https://admin.typeform.com https://public.profitwell.com js.sentry-cdn.com https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/ https://user-data.mutinycdn.com; connect-src 'self' https://msgstore.www.notion.so wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com 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 https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com https://cdn.segment.com https://api.segment.io https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com https://images.ctfassets.net https://www2.profitwell.com https://api.unsplash.com https://boards-api.greenhouse.io https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io; font-src 'self' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com; img-src 'self' data: blob: https: https://platform.twitter.com https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://platform.twitter.com https://ton.twimg.com; frame-src https: http:; media-src https: http:"
type: string
Date:
schema:
example: Thu, 12 Aug 2021 00:14:42 GMT
type: string
ETag:
schema:
example: W/"1ae-RFHXdRIvpQZuh0kRKb9XuWbFwzo"
type: string
Expect-CT:
schema:
example: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
type: string
Referrer-Policy:
schema:
example: same-origin
type: string
Server:
schema:
example: cloudflare
type: string
Set-Cookie:
schema:
example: notion_browser_id=e557ec39-01fc-4a4e-84a1-0a6b1ab4a579; Domain=www.notion.so; Path=/; Expires=Sun, 20 Apr 2053 02:01:22 GMT; Secure
type: string
Strict-Transport-Security:
schema:
example: max-age=5184000; includeSubDomains
type: string
Transfer-Encoding:
schema:
example: chunked
type: string
Vary:
schema:
example: Accept-Encoding
type: string
X-Content-Security-Policy:
schema:
example: "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://gist.github.com https://apis.google.com https://api.amplitude.com https://widget.intercom.io https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://embed.typeform.com https://admin.typeform.com https://public.profitwell.com js.sentry-cdn.com https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/ https://user-data.mutinycdn.com; connect-src 'self' https://msgstore.www.notion.so wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com 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 https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com https://cdn.segment.com https://api.segment.io https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com https://images.ctfassets.net https://www2.profitwell.com https://api.unsplash.com https://boards-api.greenhouse.io https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io; font-src 'self' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com; img-src 'self' data: blob: https: https://platform.twitter.com https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://platform.twitter.com https://ton.twimg.com; frame-src https: http:; media-src https: http:"
type: string
X-Content-Type-Options:
schema:
example: nosniff
type: string
X-DNS-Prefetch-Control:
schema:
example: off
type: string
X-Download-Options:
schema:
example: noopen
type: string
X-Frame-Options:
schema:
example: SAMEORIGIN
type: string
X-WebKit-CSP:
schema:
example: "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://gist.github.com https://apis.google.com https://api.amplitude.com https://widget.intercom.io https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://embed.typeform.com https://admin.typeform.com https://public.profitwell.com js.sentry-cdn.com https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/ https://user-data.mutinycdn.com; connect-src 'self' https://msgstore.www.notion.so wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com 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 https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com https://cdn.segment.com https://api.segment.io https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com https://images.ctfassets.net https://www2.profitwell.com https://api.unsplash.com https://boards-api.greenhouse.io https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io; font-src 'self' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com; img-src 'self' data: blob: https: https://platform.twitter.com https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://platform.twitter.com https://ton.twimg.com; frame-src https: http:; media-src https: http:"
type: string
X-XSS-Protection:
schema:
example: 1; mode=block
type: string
summary: Retrieve a block
tags:
- Blocks
parameters:
- in: path
name: id
required: true
schema:
example: "{{BLOCK_ID}}"
type: string
patch:
description: This endpoint allows you to update block content. [See Full Documentation](https://developers.notion.com/reference/update-a-block)
operationId: updateABlock
parameters:
- in: header
name: Notion-Version
schema:
example: "{{NOTION_VERSION}}"
type: string
requestBody:
content:
application/json:
example:
paragraph:
rich_text:
- text:
content: hello to you
type: text
schema:
properties:
paragraph:
properties:
rich_text:
example:
- text:
content: hello to you
type: text
items:
properties:
text:
properties:
content:
example: hello to you
type: string
type: object
type:
example: text
type: string
type: object
type: array
type: object
type: object
responses:
"200":
content:
application/json:
examples:
200 Success - Update a block:
value:
created_time: 2021-08-06T17:46:00.000Z
has_children: false
id: 4868767d-9029-4b9d-a41b-652ef4c9c7b9
last_edited_time: 2021-08-12T00:12:00.000Z
object: block
paragraph:
text:
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: null
plain_text: hello to you
text:
content: hello to you
link: null
type: text
type: paragraph
schema:
properties:
created_time:
example: 2021-08-06T17:46:00.000Z
type: string
has_children:
example: false
type: boolean
id:
example: 4868767d-9029-4b9d-a41b-652ef4c9c7b9
type: string
last_edited_time:
example: 2021-08-12T00:12:00.000Z
type: string
object:
example: block
type: string
paragraph:
properties:
text:
example:
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: null
plain_text: hello to you
text:
content: hello to you
link: null
type: text
items:
properties:
annotations:
properties:
bold:
example: false
type: boolean
code:
example: false
type: boolean
color:
example: default
type: string
italic:
example: false
type: boolean
strikethrough:
example: false
type: boolean
underline:
example: false
type: boolean
type: object
href:
example: null
nullable: true
plain_text:
example: hello to you
type: string
text:
properties:
content:
example: hello to you
type: string
link:
example: null
nullable: true
type: object
type:
example: text
type: string
type: object
type: array
type: object
type:
example: paragraph
type: string
type: object
description: 200 Success - Update a block
headers:
CF-Cache-Status:
schema:
example: DYNAMIC
type: string
CF-RAY:
schema:
example: 67d57e86ea672544-SJC
type: string
Connection:
schema:
example: keep-alive
type: string
Content-Encoding:
schema:
example: gzip
type: string
Content-Security-Policy:
schema:
example: "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://gist.github.com https://apis.google.com https://api.amplitude.com https://widget.intercom.io https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://embed.typeform.com https://admin.typeform.com https://public.profitwell.com js.sentry-cdn.com https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/ https://user-data.mutinycdn.com; connect-src 'self' https://msgstore.www.notion.so wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com 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 https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com https://cdn.segment.com https://api.segment.io https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com https://images.ctfassets.net https://www2.profitwell.com https://api.unsplash.com https://boards-api.greenhouse.io https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io; font-src 'self' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com; img-src 'self' data: blob: https: https://platform.twitter.com https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://platform.twitter.com https://ton.twimg.com; frame-src https: http:; media-src https: http:"
type: string
Date:
schema:
example: Thu, 12 Aug 2021 00:12:49 GMT
type: string
ETag:
schema:
example: W/"1ae-RFHXdRIvpQZuh0kRKb9XuWbFwzo"
type: string
Expect-CT:
schema:
example: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
type: string
Referrer-Policy:
schema:
example: same-origin
type: string
Server:
schema:
example: cloudflare
type: string
Set-Cookie:
schema:
example: notion_browser_id=72dd4057-624e-4aa3-80c6-ab911ed059b7; Domain=www.notion.so; Path=/; Expires=Sun, 20 Apr 2053 01:59:29 GMT; Secure
type: string
Strict-Transport-Security:
schema:
example: max-age=5184000; includeSubDomains
type: string
Transfer-Encoding:
schema:
example: chunked
type: string
Vary:
schema:
example: Accept-Encoding
type: string
X-Content-Security-Policy:
schema:
example: "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://gist.github.com https://apis.google.com https://api.amplitude.com https://widget.intercom.io https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://embed.typeform.com https://admin.typeform.com https://public.profitwell.com js.sentry-cdn.com https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/ https://user-data.mutinycdn.com; connect-src 'self' https://msgstore.www.notion.so wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com 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 https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com https://cdn.segment.com https://api.segment.io https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com https://images.ctfassets.net https://www2.profitwell.com https://api.unsplash.com https://boards-api.greenhouse.io https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io; font-src 'self' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com; img-src 'self' data: blob: https: https://platform.twitter.com https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://platform.twitter.com https://ton.twimg.com; frame-src https: http:; media-src https: http:"
type: string
X-Content-Type-Options:
schema:
example: nosniff
type: string
X-DNS-Prefetch-Control:
schema:
example: off
type: string
X-Download-Options:
schema:
example: noopen
type: string
X-Frame-Options:
schema:
example: SAMEORIGIN
type: string
X-WebKit-CSP:
schema:
example: "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://gist.github.com https://apis.google.com https://api.amplitude.com https://widget.intercom.io https://js.intercomcdn.com https://logs-01.loggly.com https://cdn.segment.com https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://embed.typeform.com https://admin.typeform.com https://public.profitwell.com js.sentry-cdn.com https://platform.twitter.com https://cdn.syndication.twimg.com https://www.googletagmanager.com https://x.clearbitjs.com https://client-registry.mutinycdn.com https://client.mutinycdn.com/ https://user-data.mutinycdn.com; connect-src 'self' https://msgstore.www.notion.so wss://msgstore.www.notion.so ws://localhost:* https://notion-emojis.s3-us-west-2.amazonaws.com 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 https: http: https://api.amplitude.com https://api.embed.ly https://js.intercomcdn.com https://api-iam.intercom.io wss://nexus-websocket-a.intercom.io https://logs-01.loggly.com https://cdn.segment.com https://api.segment.io https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com https://images.ctfassets.net https://www2.profitwell.com https://api.unsplash.com https://boards-api.greenhouse.io https://user-data.mutinycdn.com https://api-v2.mutinyhq.io https://api.statuspage.io; font-src 'self' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com; img-src 'self' data: blob: https: https://platform.twitter.com https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com www.googletagmanager.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://platform.twitter.com https://ton.twimg.com; frame-src https: http:; media-src https: http:"
type: string
X-XSS-Protection:
schema:
example: 1; mode=block
type: string
summary: Update a block
tags:
- Blocks
"/v1/blocks/{id}/children":
get:
description: Retrieve block children
operationId: retrieveBlockChildren
parameters:
- in: query
name: page_size
schema:
example: "100"
type: string
- in: header
name: Notion-Version
schema:
example: "{{NOTION_VERSION}}"
type: string
responses:
"200":
content:
application/json:
examples:
200 Success - Retrieve block children:
value:
has_more: false
next_cursor: null
object: list
results:
- created_time: 2021-04-27T20:38:19.437Z
has_children: false
id: 48c1ffb5-2789-4025-937b-2c35eaaaab3f
last_edited_time: 2021-04-27T20:38:19.437Z
object: block
type: unsupported
unsupported: {}
- created_time: 2021-04-27T20:38:19.437Z
has_children: false
id: e381a0a3-4efb-4ba9-aa93-45b70fa9ce7f
last_edited_time: 2021-04-27T20:38:19.437Z
object: block
paragraph:
text:
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: null
plain_text: I think we can all agree that Silicon Valley needs more adult supervision right about now.
text:
content: I think we can all agree that Silicon Valley needs more adult supervision right about now.
link: null
type: text
type: paragraph
- created_time: 2021-04-27T20:38:19.437Z
has_children: false
id: ce5f79ac-8145-44ab-be3b-8ad143d6f8a7
last_edited_time: 2021-04-27T20:38:19.437Z
object: block
paragraph:
text:
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: null
plain_text: Is the solution for its companies to hire a chief ethics officer?
text:
content: Is the solution for its companies to hire a chief ethics officer?
link: null
type: text
type: paragraph
- created_time: 2021-04-27T20:38:19.437Z
has_children: false
id: 0387b374-7847-4ddc-bc53-6b0813ce4ed4
last_edited_time: 2021-04-27T20:38:19.437Z
object: block
paragraph:
text:
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: null
plain_text: While some tech companies like Google have top compliance officers and others turn to legal teams to police themselves, no big tech companies that I know of have yet taken this step. But a lot of them seem to be talking about it, and I’ve discussed the idea with several chief executives recently. Why? Because slowly, then all at once, it feels like too many digital leaders have lost their minds.
text:
content: While some tech companies like Google have top compliance officers and others turn to legal teams to police themselves, no big tech companies that I know of have yet taken this step. But a lot of them seem to be talking about it, and I’ve discussed the idea with several chief executives recently. Why? Because slowly, then all at once, it feels like too many digital leaders have lost their minds.
link: null
type: text
type: paragraph
- created_time: 2021-04-27T20:38:19.437Z
has_children: false
id: da035311-5af3-48bc-8279-d28d9f4ef2e2
last_edited_time: 2021-04-27T20:38:19.437Z
object: block
paragraph:
text:
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: null
plain_text: "It’s probably no surprise, considering the complex problems the tech industry faces. As one ethical quandary after another has hit its profoundly ill-prepared executives, their once-pristine reputations have fallen like palm trees in a hurricane. These last two weeks alone show how tech is stumbling to react to big world issues armed with only bubble world skills:"
text:
content: "It’s probably no surprise, considering the complex problems the tech industry faces. As one ethical quandary after another has hit its profoundly ill-prepared executives, their once-pristine reputations have fallen like palm trees in a hurricane. These last two weeks alone show how tech is stumbling to react to big world issues armed with only bubble world skills:"
link: null
type: text
type: paragraph
- created_time: 2021-04-27T20:38:19.437Z
has_children: false
id: 63a60fca-4a11-43eb-8773-c5f0164a3117
last_edited_time: 2021-04-27T20:38:19.437Z
object: block
paragraph:
text:
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: null
plain_text: "As a journalist is beheaded and dismembered at the direction of Saudi Arabian leaders (allegedly, but the killers did bring a bone saw), Silicon Valley is swimming in oceans of money from the kingdom’s Public Investment Fund. Saudi funding includes hundreds of millions for Magic Leap, and huge investments in hot public companies like Tesla. Most significantly: Saudis have invested about $45 billion in SoftBank’s giant Vision Fund, which has in turn doused the tech landscape — $4.4 billion to WeWork, $250 million to Slack, and $300 million to the dog-walking app Wag. In total Uber has gotten almost $14 billion, either through direct investments from the Public Investment Fund or through the Saudis’ funding of the Vision Fund. A billion here, a billion there and it all adds up."
text:
content: "As a journalist is beheaded and dismembered at the direction of Saudi Arabian leaders (allegedly, but the killers did bring a bone saw), Silicon Valley is swimming in oceans of money from the kingdom’s Public Investment Fund. Saudi funding includes hundreds of millions for Magic Leap, and huge investments in hot public companies like Tesla. Most significantly: Saudis have invested about $45 billion in SoftBank’s giant Vision Fund, which has in turn doused the tech landscape — $4.4 billion to WeWork, $250 million to Slack, and $300 million to the dog-walking app Wag. In total Uber has gotten almost $14 billion, either through direct investments from the Public Investment Fund or through the Saudis’ funding of the Vision Fund. A billion here, a billion there and it all adds up."
link: null
type: text
type: paragraph
- created_time: 2021-04-27T20:38:19.437Z
has_children: false
id: 8c58c8f1-86ae-4a14-b6b9-74f5fa579620
last_edited_time: 2021-04-27T20:38:19.437Z
object: block
paragraph:
text:
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: null
plain_text: "["
text:
content: "["
link: null
type: text
- annotations:
bold: false
code: false
color: default
italic: true
strikethrough: false
underline: false
href: null
plain_text: "Kara Swisher answered your questions about her column "
text:
content: "Kara Swisher answered your questions about her column "
link: null
type: text
- annotations:
bold: false
code: false
color: default
italic: true
strikethrough: false
underline: false
href: https://twitter.com/karaswisher/status/1054842303922298880
plain_text: on Twitter
text:
content: on Twitter
link:
url: https://twitter.com/karaswisher/status/1054842303922298880
type: text
- annotations:
bold: false
code: false
color: default
italic: true
strikethrough: false
underline: false
href: null
plain_text: .
text:
content: .
link: null
type: text
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: null
plain_text: "]"
text:
content: "]"
link: null
type: text
type: paragraph
- created_time: 2021-04-27T20:38:19.437Z
has_children: false
id: 875d3aff-086b-45da-9ed1-bc3ddb185229
last_edited_time: 2021-04-27T20:38:19.437Z
object: block
paragraph:
text:
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: null
plain_text: "Facebook introduced a new home video device called Portal, and promised that what could be seen as a surveillance tool would not share data for the sake of ad targeting. Soon after, as "
text:
content: "Facebook introduced a new home video device called Portal, and promised that what could be seen as a surveillance tool would not share data for the sake of ad targeting. Soon after, as "
link: null
type: text
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: https://www.recode.net/2018/10/16/17966102/facebook-portal-ad-targeting-data-collection
plain_text: reported by Recode
text:
content: reported by Recode
link:
url: https://www.recode.net/2018/10/16/17966102/facebook-portal-ad-targeting-data-collection
type: text
- annotations:
bold: false
code: false
color: default
italic: false
strikethrough: false
underline: false
href: null
plain_text: ", Facebook admitted that “data about who you call and data about which apps you use on Portal "
text:
content: ", Facebook admitted that “data about who you call and data about which apps you use on Portal "
link: null
type: text
- annotations:
bold: false
code: false
color: default
italic: true
strikethrough: false
underline: false
href: null
plain_text: can
text:
content: can
link: null
type: text
- annotations: