1 /**
2 * @oas [get] /admin/property-labels
3 * operationId: GetPropertyLabels
4 * summary: List Property Labels
5 * description: Retrieve a list of property labels. The property labels can be filtered by fields such as `id`. The property labels can also be sorted or paginated.
6 * x-authenticated: true
7 * parameters:
8 * - name: entity
9 * in: query
10 * description: The property label's entity.
11 * required: false
12 * schema:
13 * type: string
14 * title: entity
15 * description: The property label's entity.
16 * - name: property
17 * in: query
18 * description: The property label's property.
19 * required: false
20 * schema:
21 * type: string
22 * title: property
23 * description: The property label's property.
24 * - name: q
25 * in: query
26 * description: The property label's q.
27 * required: false
28 * schema:
29 * type: string
30 * title: q
31 * description: The property label's q.
32 * - name: limit
33 * in: query
34 * description: Limit the number of items returned in the list.
35 * required: false
36 * schema:
37 * type: number
38 * title: limit
39 * description: Limit the number of items returned in the list.
40 * externalDocs:
41 * url: "#pagination"
42 * - name: offset
43 * in: query
44 * description: The number of items to skip when retrieving a list.
45 * required: false
46 * schema:
47 * type: number
48 * title: offset
49 * description: The number of items to skip when retrieving a list.
50 * externalDocs:
51 * url: "#pagination"
52 * - name: order
53 * in: query
54 * description: The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.
55 * required: false
56 * schema:
57 * type: string
58 * title: order
59 * description: The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.
60 * externalDocs:
61 * url: "#pagination"
62 * - name: with_deleted
63 * in: query
64 * description: The property label's with deleted.
65 * required: false
66 * schema:
67 * type: boolean
68 * title: with_deleted
69 * description: The property label's with deleted.
70 * - name: fields
71 * in: query
72 * description: Comma-separated fields that should be included in the returned data. If a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default
73 * fields. Without prefix it will replace the entire default fields.
74 * required: false
75 * schema:
76 * type: string
77 * title: fields
78 * description: Comma-separated fields that should be included in the returned data. If a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default
79 * fields. Without prefix it will replace the entire default fields.
80 * externalDocs:
81 * url: "#select-fields-and-relations"
82 * security:
83 * - api_token: []
84 * - cookie_auth: []
85 * - jwt_token: []
86 * x-codeSamples:
87 * - lang: Shell
88 * label: cURL
89 * source: |-
90 * curl '{backend_url}/admin/property-labels' \
91 * -H 'Authorization: Bearer {access_token}'
92 * tags:
93 * - Property Labels
94 * responses:
95 * "200":
96 * description: OK
97 * content:
98 * application/json:
99 * schema:
100 * $ref: "#/components/schemas/AdminPropertyLabelListResponse"
101 * "400":
102 * $ref: "#/components/responses/400_error"
103 * "401":
104 * $ref: "#/components/responses/unauthorized"
105 * "404":
106 * $ref: "#/components/responses/not_found_error"
107 * "409":
108 * $ref: "#/components/responses/invalid_state_error"
109 * "422":
110 * $ref: "#/components/responses/invalid_request_error"
111 * "500":
112 * $ref: "#/components/responses/500_error"
113 * x-since: 2.10.3
114 * x-featureFlag: view_configurations
115 *
116 */
117