For the complete documentation index, see llms.txt. This page is also available as Markdown.

LayoutRows

Introduction

LayoutRows divide a Layout vertically and contain LayoutColumns.

Model Definition

Alias

layoutRow

Capabilities

Relations

Key
Relation
Type
Relation Field(s)

layout

Belongs to

layout_id

layoutColumns

Has many

layout_row_id

List

List LayoutRows.

Definition

GET /api/layouts/rows

Request Keys

Key
Type
Default
Description

selects

string

All fields

Comma-separated fields to return.

relations

string

Default relations

Pipe-separated relations to include.

limit

integer

No limit

Maximum number of records.

Example Request

Example Response

Show

Show one LayoutRow.

Definition

GET /api/layouts/rows/{layoutRow}

Route Parameters

Parameter
Type
Description

layoutRow

integer

LayoutRow ID.

Request Keys

Key
Type
Default
Description

selects

string

All fields

Comma-separated fields to return.

relations

string

Default relations

Pipe-separated relations to include.

Example Request

Example Response

Create

Create a new LayoutRow.

Definition

POST /api/layouts/rows

Request Keys

Key
Type
Default
Description

title

string | null

null

Row label.

layout_id*

integer

-

Parent Layout ID.

lang_id

string

System language

Language key. Use en-US for this example.

top_separator

boolean

false

Draw a separator above the row.

bottom_separator

boolean

false

Draw a separator below the row.

sort_number

integer

Auto

Order within the layout.

Keys with * are required.

Example Request

Example Response

Update

Update an existing LayoutRow.

Definition

PUT /api/layouts/rows/{layoutRow}

Route Parameters

Parameter
Type
Description

layoutRow

integer

Row ID.

Request Keys

Key
Type
Default
Description

title

string | null

Current value

Row label.

layout_id

integer

Current value

Parent Layout ID.

lang_id

string

Current value

Language key.

top_separator

boolean

Current value

Separator above the row.

bottom_separator

boolean

Current value

Separator below the row.

sort_number

integer

Current value

Order within the layout.

Example Request

Example Response

Delete

Delete an existing LayoutRow.

Definition

DELETE /api/layouts/rows/{layoutRow}

Route Parameters

Parameter
Type
Description

layoutRow

integer

LayoutRow ID.

Example Request

Example Response

Last updated