mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
docs: clarify archived query param syntax for api/admin/search/features (#10538)
## About the changes This PR updates the [Search and filter features](https://docs.getunleash.io/reference/api/unleash/search-features) doc to clearly indicate `IS:` query syntax requirement for `archived` query param.
This commit is contained in:
parent
97297dd40f
commit
247dd3af51
@ -163,9 +163,10 @@ export const featureSearchQueryParameters = [
|
|||||||
schema: {
|
schema: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
example: 'IS:true',
|
example: 'IS:true',
|
||||||
|
pattern: '^IS:(true|false)$',
|
||||||
},
|
},
|
||||||
description:
|
description:
|
||||||
'Whether to get results for archived feature flags or active feature flags. If `true`, Unleash will return only archived flags. If `false`, it will return only active flags.',
|
'Whether to get results for archived feature flags or active feature flags. If `IS:true`, Unleash will return only archived flags. If `IS:false`, it will return only active flags.',
|
||||||
in: 'query',
|
in: 'query',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user