Skip to content

create_composite

Create a composite component: a reusable block tree (e.g. a site header) that pages instantiate with a composite block. definition is {"parameters": [...], "body": <block>}.

{
"additionalProperties": false,
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Category"
},
"definition": {
"additionalProperties": true,
"title": "Definition",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"icon": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Icon"
},
"idempotency_key": {
"title": "Idempotency Key",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"settings": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Settings"
},
"style_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Style Id"
}
},
"required": [
"application_id",
"name",
"definition",
"idempotency_key"
],
"title": "create_compositeArguments",
"type": "object"
}
{
"properties": {
"applicationId": {
"format": "uuid",
"title": "Applicationid",
"type": "string"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Category"
},
"createdAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Createdat"
},
"createdBy": {
"format": "uuid",
"title": "Createdby",
"type": "string"
},
"definition": {
"additionalProperties": true,
"title": "Definition",
"type": "object"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"icon": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Icon"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"settings": {
"additionalProperties": true,
"title": "Settings",
"type": "object"
},
"styleId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Styleid"
},
"updatedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Updatedat"
},
"version": {
"title": "Version",
"type": "integer"
}
},
"required": [
"id",
"applicationId",
"name",
"definition",
"settings",
"version",
"createdBy"
],
"title": "PublicCompositeResponse",
"type": "object"
}