1 get:
2 operationId: GetViewsEntityColumns
3 summary: List Columns in View
4 x-sidebar-summary: List Columns
5 description: >-
6 Retrieve a list of columns in a view for an entity. The columns are
7 retrieved for the authenticated admin user.
8 x-authenticated: true
9 parameters:
10 - name: entity
11 in: path
12 description: The entity to retrieve its columns (for example, `orders`)
13 required: true
14 schema:
15 type: string
16 security:
17 - api_token: []
18 - cookie_auth: []
19 - jwt_token: []
20 x-codeSamples:
21 - lang: JavaScript
22 label: JS SDK
23 source:
24 $ref: ../code_samples/JavaScript/admin_views_{entity}_columns/get.js
25 - lang: Shell
26 label: cURL
27 source:
28 $ref: ../code_samples/Shell/admin_views_{entity}_columns/get.sh
29 tags:
30 - Views
31 responses:
32 '200':
33 description: OK
34 content:
35 application/json:
36 schema:
37 $ref: ../components/schemas/AdminViewsEntityColumnsResponse.yaml
38 '400':
39 $ref: ../components/responses/400_error.yaml
40 '401':
41 $ref: ../components/responses/unauthorized.yaml
42 '404':
43 $ref: ../components/responses/not_found_error.yaml
44 '409':
45 $ref: ../components/responses/invalid_state_error.yaml
46 '422':
47 $ref: ../components/responses/invalid_request_error.yaml
48 '500':
49 $ref: ../components/responses/500_error.yaml
50 x-since: 2.10.3
51 x-featureFlag: view_configurations