|
1
|
get: |
|
2
|
operationId: GetLayoutsZoneConfiguration |
|
3
|
summary: List Layout Configurations |
|
4
|
description: >- |
|
5
|
Retrieve a list of layout configurations for a specific zone. These are the |
|
6
|
configurations made by the users for their admin dashboard layouts. |
|
7
|
x-authenticated: true |
|
8
|
parameters: |
|
9
|
- name: zone |
|
10
|
in: path |
|
11
|
description: The zone for which the layout configurations should be retrieved. |
|
12
|
required: true |
|
13
|
schema: |
|
14
|
type: string |
|
15
|
security: |
|
16
|
- api_token: [] |
|
17
|
- cookie_auth: [] |
|
18
|
- jwt_token: [] |
|
19
|
x-codeSamples: |
|
20
|
- lang: Shell |
|
21
|
label: cURL |
|
22
|
source: |
|
23
|
$ref: ../code_samples/Shell/admin_layouts_{zone}_configuration/get.sh |
|
24
|
tags: |
|
25
|
- Layouts |
|
26
|
responses: |
|
27
|
'200': |
|
28
|
description: OK |
|
29
|
content: |
|
30
|
application/json: |
|
31
|
schema: |
|
32
|
$ref: ../components/schemas/AdminLayoutConfigurationResponse.yaml |
|
33
|
'400': |
|
34
|
$ref: ../components/responses/400_error.yaml |
|
35
|
'401': |
|
36
|
$ref: ../components/responses/unauthorized.yaml |
|
37
|
'404': |
|
38
|
$ref: ../components/responses/not_found_error.yaml |
|
39
|
'409': |
|
40
|
$ref: ../components/responses/invalid_state_error.yaml |
|
41
|
'422': |
|
42
|
$ref: ../components/responses/invalid_request_error.yaml |
|
43
|
'500': |
|
44
|
$ref: ../components/responses/500_error.yaml |
|
45
|
x-since: 2.17.2 |
|
46
|
post: |
|
47
|
operationId: PostLayoutsZoneConfiguration |
|
48
|
summary: Add Layout Configuration |
|
49
|
description: >- |
|
50
|
Add a layout configuration for a specific zone. This allows you to customize |
|
51
|
the layout of the admin dashboard for that zone, including the arrangement |
|
52
|
of widgets and other UI elements. |
|
53
|
x-authenticated: true |
|
54
|
parameters: |
|
55
|
- name: zone |
|
56
|
in: path |
|
57
|
description: The zone for which the layout configuration should be added. |
|
58
|
required: true |
|
59
|
schema: |
|
60
|
type: string |
|
61
|
security: |
|
62
|
- api_token: [] |
|
63
|
- cookie_auth: [] |
|
64
|
- jwt_token: [] |
|
65
|
requestBody: |
|
66
|
content: |
|
67
|
application/json: |
|
68
|
schema: |
|
69
|
$ref: ../components/schemas/AdminSetLayoutConfiguration.yaml |
|
70
|
x-codeSamples: |
|
71
|
- lang: Shell |
|
72
|
label: cURL |
|
73
|
source: |
|
74
|
$ref: ../code_samples/Shell/admin_layouts_{zone}_configuration/post.sh |
|
75
|
tags: |
|
76
|
- Layouts |
|
77
|
responses: |
|
78
|
'200': |
|
79
|
description: OK |
|
80
|
content: |
|
81
|
application/json: |
|
82
|
schema: |
|
83
|
$ref: ../components/schemas/AdminLayoutConfigurationResponse.yaml |
|
84
|
'400': |
|
85
|
$ref: ../components/responses/400_error.yaml |
|
86
|
'401': |
|
87
|
$ref: ../components/responses/unauthorized.yaml |
|
88
|
'404': |
|
89
|
$ref: ../components/responses/not_found_error.yaml |
|
90
|
'409': |
|
91
|
$ref: ../components/responses/invalid_state_error.yaml |
|
92
|
'422': |
|
93
|
$ref: ../components/responses/invalid_request_error.yaml |
|
94
|
'500': |
|
95
|
$ref: ../components/responses/500_error.yaml |
|
96
|
x-workflow: setLayoutConfigurationWorkflow |
|
97
|
x-events: [] |
|
98
|
x-since: 2.17.2 |
|
99
|
delete: |
|
100
|
operationId: DeleteLayoutsZoneConfiguration |
|
101
|
summary: Clear Configuration of Layout |
|
102
|
description: >- |
|
103
|
Clears all user layout configurations for a given zone. This action will |
|
104
|
remove any customizations made by the user and revert to the system |
|
105
|
defaults. |
|
106
|
x-authenticated: true |
|
107
|
parameters: |
|
108
|
- name: zone |
|
109
|
in: path |
|
110
|
description: The zone for which the layout configuration should be cleared. |
|
111
|
required: true |
|
112
|
schema: |
|
113
|
type: string |
|
114
|
security: |
|
115
|
- api_token: [] |
|
116
|
- cookie_auth: [] |
|
117
|
- jwt_token: [] |
|
118
|
x-codeSamples: |
|
119
|
- lang: Shell |
|
120
|
label: cURL |
|
121
|
source: |
|
122
|
$ref: ../code_samples/Shell/admin_layouts_{zone}_configuration/delete.sh |
|
123
|
tags: |
|
124
|
- Layouts |
|
125
|
responses: |
|
126
|
'200': |
|
127
|
description: OK |
|
128
|
content: |
|
129
|
application/json: |
|
130
|
schema: |
|
131
|
type: object |
|
132
|
description: The details of the layout configuration deletion result. |
|
133
|
required: |
|
134
|
- success |
|
135
|
properties: |
|
136
|
success: |
|
137
|
type: boolean |
|
138
|
title: success |
|
139
|
description: Whether the layout configuration was successfully cleared. |
|
140
|
'400': |
|
141
|
$ref: ../components/responses/400_error.yaml |
|
142
|
'401': |
|
143
|
$ref: ../components/responses/unauthorized.yaml |
|
144
|
'404': |
|
145
|
$ref: ../components/responses/not_found_error.yaml |
|
146
|
'409': |
|
147
|
$ref: ../components/responses/invalid_state_error.yaml |
|
148
|
'422': |
|
149
|
$ref: ../components/responses/invalid_request_error.yaml |
|
150
|
'500': |
|
151
|
$ref: ../components/responses/500_error.yaml |
|
152
|
x-workflow: clearLayoutConfigurationWorkflow |
|
153
|
x-events: [] |
|
154
|
x-since: 2.17.2 |