3
0

Make blocks optional for page create/update payload

This commit is contained in:
Denis Arh
2020-01-25 21:23:47 +01:00
parent b89b1d1056
commit 4e2bdcd0f1
3 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -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