- 🇮🇳India Vishal Choudhary Dharmshala
Only simple custom blocks render in the working part of this API endpoint. The output includes various attributes such as
},
"drupal_internal__id": "olivero_testblock",
"theme": "olivero",
"region": "header",
"weight": 0,
"provider": null,
"plugin": "block_content:e3ad9b86-ed1c-4711-b104-55cc4c5e2598",
"settings": {
"id": "block_content:e3ad9b86-ed1c-4711-b104-55cc4c5e2598",
"label": "Test Block",
"label_display": "visible",
"provider": "block_content",
"status": true,
"info": "",
"view_mode": "full"
},
"visibility": {
"response_status": {
"id": "response_status",
"negate": false,
"status_codes": [
200
]
}
}
}
}However, there's an issue in a second scenario: if the user sets the page path on the same block and saves the block layout, the block output doesn't appear in the API Endpoint. This poses a significant problem, especially when a block is placed in the block region with the page path and fails to show in base_url/jsonapi/block/block.
There's a need to address this functionality. Are there any alternative solutions available for resolving this issue?