Files
medusa-store/www/apps/api-reference/specs/admin/components/schemas/AdminUpdateViewConfiguration.yaml
Shahed Nasser 2f990a14e6 docs: generate API reference for 2.10.3 (#13548)
* docs: generate API reference for 2.10.3

* fix curl example
2025-09-19 11:40:52 +03:00

60 lines
1.6 KiB
YAML

type: object
description: The details to update in a view configuration.
x-schemaName: AdminUpdateViewConfiguration
properties:
set_active:
type: boolean
title: set_active
description: Whether the view is set as active.
name:
type: string
title: name
description: The view's name.
is_system_default:
type: boolean
title: is_system_default
description: Whether the view is the system default.
configuration:
type: object
description: The view's configuration.
properties:
search:
type: string
title: search
description: The search query used in the view.
visible_columns:
type: array
description: The configuration's visible columns.
items:
type: string
title: visible_columns
description: The visible column's name.
column_order:
type: array
description: The columns in the order they should be displayed.
items:
type: string
title: column_order
description: The column's name.
column_widths:
type: object
description: The column widths in the view.
filters:
type: object
description: The filters applied to the view.
sorting:
type: object
description: The sorting applied to the view.
required:
- id
- desc
properties:
id:
type: string
title: id
description: The ID of the sorting column.
desc:
type: boolean
title: desc
description: Whether the sorting is descending.