43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
get:
|
|
operationId: GetFeatureFlags
|
|
summary: List Feature Flags
|
|
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.
|
|
x-authenticated: false
|
|
parameters: []
|
|
x-codeSamples:
|
|
- lang: Shell
|
|
label: cURL
|
|
source:
|
|
$ref: ../code_samples/Shell/admin_feature-flags/get.sh
|
|
tags:
|
|
- Feature Flags
|
|
responses:
|
|
'200':
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
description: SUMMARY
|
|
required:
|
|
- feature_flags
|
|
properties:
|
|
feature_flags:
|
|
type: object
|
|
description: The list of feature flags.
|
|
'400':
|
|
$ref: ../components/responses/400_error.yaml
|
|
'401':
|
|
$ref: ../components/responses/unauthorized.yaml
|
|
'404':
|
|
$ref: ../components/responses/not_found_error.yaml
|
|
'409':
|
|
$ref: ../components/responses/invalid_state_error.yaml
|
|
'422':
|
|
$ref: ../components/responses/invalid_request_error.yaml
|
|
'500':
|
|
$ref: ../components/responses/500_error.yaml
|
|
x-since: 2.10.0
|