@notionhq/notion-mcp-server 1.3.0 → 1.4.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.
- package/package.json +1 -1
- package/scripts/notion-openapi.json +71 -6
package/package.json
CHANGED
|
@@ -561,24 +561,89 @@
|
|
|
561
561
|
"type": "object",
|
|
562
562
|
"properties": {
|
|
563
563
|
"properties": {
|
|
564
|
-
"type": "string",
|
|
565
564
|
"description": "The property values to update for the page. The keys are the names or IDs of the property and the values are property values. If a page property ID is not included, then it is not changed.",
|
|
566
|
-
"
|
|
565
|
+
"type": "object",
|
|
566
|
+
"properties": {
|
|
567
|
+
"title": {
|
|
568
|
+
"type": "array",
|
|
569
|
+
"items": {
|
|
570
|
+
"type": "object",
|
|
571
|
+
"properties": {
|
|
572
|
+
"text": {
|
|
573
|
+
"type": "object",
|
|
574
|
+
"properties": {
|
|
575
|
+
"content": {
|
|
576
|
+
"type": "string",
|
|
577
|
+
"maxLength": 2000
|
|
578
|
+
},
|
|
579
|
+
"link": {
|
|
580
|
+
"type": ["object", "null"],
|
|
581
|
+
"properties": {
|
|
582
|
+
"url": {
|
|
583
|
+
"type": "string"
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
"required": ["url"]
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
"additionalProperties": false,
|
|
590
|
+
"required": ["content"]
|
|
591
|
+
},
|
|
592
|
+
"type": {
|
|
593
|
+
"enum": ["text"]
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
"additionalProperties": false,
|
|
597
|
+
"required": ["text"]
|
|
598
|
+
},
|
|
599
|
+
"maxItems": 100
|
|
600
|
+
},
|
|
601
|
+
"type": {
|
|
602
|
+
"enum": ["title"]
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
"additionalProperties": false,
|
|
606
|
+
"required": ["title"]
|
|
567
607
|
},
|
|
568
608
|
"in_trash": {
|
|
569
609
|
"type": "boolean",
|
|
570
610
|
"description": "Set to true to delete a block. Set to false to restore a block.",
|
|
571
611
|
"default": false
|
|
572
612
|
},
|
|
613
|
+
"archived": {
|
|
614
|
+
"type": "boolean"
|
|
615
|
+
},
|
|
573
616
|
"icon": {
|
|
574
|
-
"type": "string",
|
|
575
617
|
"description": "A page icon for the page. Supported types are [external file object](https://developers.notion.com/reference/file-object) or [emoji object](https://developers.notion.com/reference/emoji-object).",
|
|
576
|
-
"
|
|
618
|
+
"type": "object",
|
|
619
|
+
"properties": {
|
|
620
|
+
"emoji": {
|
|
621
|
+
"type": "string"
|
|
622
|
+
}
|
|
623
|
+
},
|
|
624
|
+
"additionalProperties": false,
|
|
625
|
+
"required": ["emoji"]
|
|
577
626
|
},
|
|
578
627
|
"cover": {
|
|
579
|
-
"type": "
|
|
628
|
+
"type": "object",
|
|
580
629
|
"description": "A cover image for the page. Only [external file objects](https://developers.notion.com/reference/file-object) are supported.",
|
|
581
|
-
"
|
|
630
|
+
"properties": {
|
|
631
|
+
"external": {
|
|
632
|
+
"type": "object",
|
|
633
|
+
"properties": {
|
|
634
|
+
"url": {
|
|
635
|
+
"type": "string"
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
"additionalProperties": false,
|
|
639
|
+
"required": ["url"]
|
|
640
|
+
},
|
|
641
|
+
"type": {
|
|
642
|
+
"enum": ["external"]
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
"required": ["external"],
|
|
646
|
+
"additionalProperties": false
|
|
582
647
|
}
|
|
583
648
|
}
|
|
584
649
|
}
|