Get next and nested suggested block types
Was this helpful?
POST /api/v1/suggestions
Returns the suggested next and nested block types based on the current policy configuration context. Only Standard Registry users are allowed to make this request.
Authentication: Bearer token required (Authorization: Bearer <token>)
Permission: Permissions.SUGGESTIONS_SUGGESTIONS_READ
{
"blockType": "requestVcDocumentBlock",
"children": []
}blockType
string
Yes
The current block type to base suggestions on
children
array
No
Current children blocks for nested suggestions
Status: 200 OK
next
string
Suggested next block type
nested
string
Suggested nested block type
401 Unauthorized
Missing or invalid token
403 Forbidden
Insufficient permissions
500 Internal Server Error
Unexpected server failure
Was this helpful?
Was this helpful?
{
"next": "sendToGuardianBlock",
"nested": "calculateContainerBlock"
}