Skip to main content

Get archived features

GET 

/api/admin/archive/features

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Retrieve a list of all archived feature flags.

Responses

archivedFeaturesSchema

Schema

    version integerrequired

    The version of the feature's schema

    features

    object[]

    required

    A list of features

  • Array [

  • name stringrequired

    Unique feature name

    Example: disable-comments
    type string

    Type of the flag e.g. experiment, kill-switch, release, operational, permission

    Example: kill-switch
    description stringnullable

    Detailed description of the feature

    Example: Controls disabling of the comments section in case of an incident
    project stringrequired

    Name of the project the feature belongs to

    Example: dx-squad
    stale boolean

    true if the feature is stale based on the age and feature type, otherwise false.

    Example: false
    impressionData boolean

    true if the impression data collection is enabled for the feature, otherwise false.

    Example: false
    createdAt date-time

    The date the feature was created

    Example: 2023-01-28T15:21:39.975Z
    archivedAt date-time

    The date the feature was archived

    Example: 2023-01-29T15:21:39.975Z
    lastSeenAt date-timenullabledeprecated

    The date when metrics where last collected for the feature. This field was deprecated in v5, use the one in featureEnvironmentSchema

    Example: 2023-01-28T16:21:39.975Z

    environments

    object[]

    deprecated

    The list of environments where the feature can be used

  • Array [

  • name string

    The name of the environment

    Example: my-dev-env
    lastSeenAt date-timenullable

    The date when metrics where last collected for the feature environment

    Example: 2023-01-28T16:21:39.975Z
    enabled boolean

    true if the feature is enabled for the environment, otherwise false.

    Example: true
  • ]

  • ]

Loading...