@one-view/fwf-proxy-types
v0.0.6
Published
pandacare fwf proxy that support cache and invalidation
Downloads
6
Maintainers
Keywords
Readme
FORMAT: 1A VERSION: 1.0.0 HOST: https://api.pd-oneview.net/fwf-proxy
fwf-proxy
pandacare fwf proxy that support cache and invalidation
Feature flag list [/v1/features-list/keys]
List of feature flag keys
Get feature flag keys [GET]
Request
Headers
Authorization: Bearer token
Response 200 (application/json)
- Attributes (FeatureEnvKeys)
Response 401 (application/json)
- Attributes (Error)
Response 500 (application/json)
- Attributes (Error)
Personal Feature Variations [/v1/features]
Get personal flag variations
Put feature flag keys [PUT]
Request
Headers
Authorization: Bearer token
Attributes (FeatureVariationsParam)
Response 200 (application/json)
- Attributes (FeatureVariations)
Response 401 (application/json)
- Attributes (Error)
Response 500 (application/json)
- Attributes (Error)
Personal Feature Variation [/v1/features/{flagKey}]
Get personal flag variation
- Parameters
- flagKey (string, required) - flag key
Put feature flag key [PUT]
Request
Headers
Authorization: Bearer token
Attributes (FeatureVariationParam)
Response 200 (application/json)
- Attributes (FeatureVariation)
Response 401 (application/json)
- Attributes (Error)
Response 500 (application/json)
- Attributes (Error)
Data Structures
int32 (number)
int64 (number)
error_object
(object)
- status (string)
- title (string)
Error
(object)
- errors (array[error_object], fixed-type)
FeatureEnvKeys
- list (array[FeatureEnvKey], required, fixed-type)
FeatureEnvKey
- key (string, required)
- enabled (boolean, required)
- kind (string, required)
FeatureVariationParam
- user (UserParam, required)
FeatureVariationsParam
- user (UserParam, required)
- keys (array[string], fixed-type, optional)
UserParam
- email (string, required)
- userId (string, optional)
- customAttributes (object, optional)
FeatureVariations
- list (array[FeatureVariation], required, fixed-type)
FeatureVariation
- key (string, required)
- variation (object, required)
- abTest (boolean, optional)
- error (string, optional)
- type (string, required)
- enabled (boolean, required)