Get next and nested suggested block types
Get next and nested suggested block types. Only users with the Standard Registry role are allowed to make the request.
Authorizations
Body
blockTypestringRequired
childrenobject[] | nullableRequired
Responses
200
Successful operation. Suggested next and nested block types respectively.
application/json
401
Unauthorized.
403
Forbidden.
500
Internal server error.
application/json
post
POST /api/v1/suggestions HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 36
{
"blockType": "text",
"children": [
{}
]
}
{
"next": "text",
"nested": "text"
}
Last updated