1 /**
2 * @oas [get] /admin/feature-flags
3 * operationId: GetFeatureFlags
4 * summary: List Feature Flags
5 * description: Retrieve a list of feature flags. The feature flags can be filtered by fields such as `id`. The feature flags can also be sorted or paginated.
6 * x-authenticated: false
7 * x-codeSamples:
8 * - lang: Shell
9 * label: cURL
10 * source: curl '{backend_url}/admin/feature-flags'
11 * tags:
12 * - Feature Flags
13 * responses:
14 * "200":
15 * description: OK
16 * content:
17 * application/json:
18 * schema:
19 * type: object
20 * description: SUMMARY
21 * required:
22 * - feature_flags
23 * properties:
24 * feature_flags:
25 * type: object
26 * description: The list of feature flags.
27 * "400":
28 * $ref: "#/components/responses/400_error"
29 * "401":
30 * $ref: "#/components/responses/unauthorized"
31 * "404":
32 * $ref: "#/components/responses/not_found_error"
33 * "409":
34 * $ref: "#/components/responses/invalid_state_error"
35 * "422":
36 * $ref: "#/components/responses/invalid_request_error"
37 * "500":
38 * $ref: "#/components/responses/500_error"
39 * x-since: 2.10.0
40 *
41 */
42