Init (1)
Some checks failed
Maven build / build (push) Failing after 54s

This commit is contained in:
Guillaume Dugas
2026-02-19 09:58:35 +01:00
parent 7ad05e5b14
commit 90ac1fe6b4
44 changed files with 2395 additions and 7 deletions

47
Blocks.http Normal file
View File

@@ -0,0 +1,47 @@
### Render a simple template
POST http://localhost:8080/blocks/template/render
Content-Type: application/json
{
"definitions": {
"defsId": [
{
"name": "html",
"inputs": {
"name": "toto"
},
"slots": {
"content": [
{
"name": "html",
"inputs": {
"name": "slot content"
}
}
]
}
}
]
}
}
### Render a block configuration
POST http://localhost:8080/blocks/configuration/render
Content-Type: application/json
{
"definitions": {
"defsId": [
{
"name": "product",
"inputs": {
"product": {
"title": "TEA",
"name": "Visiting Eiffel Tower"
}
},
"slots": {}
}
]
}
}