Blocs
Créer un template de bloc
Crée un nouveau template dans la bibliothèque de blocs.
post/api/blocks
Request
- Base URL: https://lucidnest.test
- URL: https://lucidnest.test/api/blocks
- Auth: HTTP bearer
Request body
Example request
{
"name": "b",
"description": "Et animi quos velit et fugiat.",
"category": "d",
"icon": "l",
"color": "jnikhwaykcmyuwpw",
"is_public": true,
"type": "note_template",
"content_html": "architecto",
"default_title": "n",
"is_active": true,
"metadata": {
"defaultPriority": "want",
"defaultTags": [
"g"
]
}
}Response
Example response
{
"uuid": "block-uuid",
"name": "Mon bloc",
"category": "général",
"user_id": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.