diff --git a/api/compose/spec.json b/api/compose/spec.json index 196f166f1..ffe466852 100644 --- a/api/compose/spec.json +++ b/api/compose/spec.json @@ -1,3 +1,4 @@ + [ { "title": "Namespaces", @@ -310,7 +311,7 @@ { "type": "sqlxTypes.JSONText", "name": "blocks", - "required": true, + "required": false, "title": "Blocks JSON" } ] @@ -393,7 +394,7 @@ { "type": "sqlxTypes.JSONText", "name": "blocks", - "required": true, + "required": false, "title": "Blocks JSON" } ] diff --git a/api/compose/spec/page.json b/api/compose/spec/page.json index 9a799830d..6edd58514 100644 --- a/api/compose/spec/page.json +++ b/api/compose/spec/page.json @@ -114,7 +114,7 @@ }, { "name": "blocks", - "required": true, + "required": false, "title": "Blocks JSON", "type": "sqlxTypes.JSONText" } @@ -197,7 +197,7 @@ }, { "name": "blocks", - "required": true, + "required": false, "title": "Blocks JSON", "type": "sqlxTypes.JSONText" } diff --git a/docs/compose/README.md b/docs/compose/README.md index f07df9e5c..c1085cd38 100644 --- a/docs/compose/README.md +++ b/docs/compose/README.md @@ -600,7 +600,7 @@ Compose pages | handle | string | POST | Handle | N/A | NO | | description | string | POST | Description | N/A | NO | | visible | bool | POST | Visible in navigation | N/A | NO | -| blocks | sqlxTypes.JSONText | POST | Blocks JSON | N/A | YES | +| blocks | sqlxTypes.JSONText | POST | Blocks JSON | N/A | NO | | namespaceID | uint64 | PATH | Namespace ID | N/A | YES | ## Get page details @@ -652,7 +652,7 @@ Compose pages | handle | string | POST | Handle | N/A | NO | | description | string | POST | Description | N/A | NO | | visible | bool | POST | Visible in navigation | N/A | NO | -| blocks | sqlxTypes.JSONText | POST | Blocks JSON | N/A | YES | +| blocks | sqlxTypes.JSONText | POST | Blocks JSON | N/A | NO | ## Reorder pages