Skip to content

create_style

Create a reusable style for the bound application’s workspace.

{
"additionalProperties": false,
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
},
"borders": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Borders"
},
"colors": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Colors"
},
"components": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Components"
},
"custom_css": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Custom Css"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"idempotency_key": {
"title": "Idempotency Key",
"type": "string"
},
"is_default": {
"default": false,
"title": "Is Default",
"type": "boolean"
},
"name": {
"title": "Name",
"type": "string"
},
"spacing": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Spacing"
},
"typography": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Typography"
}
},
"required": [
"application_id",
"name",
"idempotency_key"
],
"title": "create_styleArguments",
"type": "object"
}
{
"properties": {
"borders": {
"additionalProperties": true,
"title": "Borders",
"type": "object"
},
"colors": {
"additionalProperties": true,
"title": "Colors",
"type": "object"
},
"components": {
"additionalProperties": true,
"title": "Components",
"type": "object"
},
"createdAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Createdat"
},
"createdBy": {
"format": "uuid",
"title": "Createdby",
"type": "string"
},
"custom_css": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Custom Css"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"is_default": {
"title": "Is Default",
"type": "boolean"
},
"name": {
"title": "Name",
"type": "string"
},
"spacing": {
"additionalProperties": true,
"title": "Spacing",
"type": "object"
},
"typography": {
"additionalProperties": true,
"title": "Typography",
"type": "object"
},
"updatedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Updatedat"
}
},
"required": [
"id",
"name",
"description",
"colors",
"typography",
"spacing",
"borders",
"components",
"custom_css",
"is_default",
"createdBy"
],
"title": "StyleResponse",
"type": "object"
}