Get a list of feature controls

Changed on

Returns a paginated list of feature controls with optional filtering by name, scope, or type.

get/api/feature-controls

Request

  • Base URL
    http://localhost:3001
  • URL
    http://localhost:3001/api/feature-controls
  • Auth
    HTTP bearer and API key in header x-api-key

Query parameters

pageinteger
pageSizeinteger
namestring

Partial name match (case-insensitive).

displayNamestring

Partial display name match (case-insensitive).

ownerstring

Partial owner match (case-insensitive).

scopestring

Exact scope match.

type'list-string' | 'list-number' | 'boolean' | 'date' | 'string' | 'number'

Exact type match.

status'active' | 'withdrawn' | 'expired' | 'removed'

Exact status match.

Headers

x-cdp-request-idstring

A unique identifier for the request, used for tracing.

Response

Successfully retrieved the list of feature controls.

totalinteger
pageinteger
pageSizeinteger
totalPagesinteger
uniqueScopesstring[]

Changes

    • warning

      added the new removed enum value to the /// response property for the response status

    • info

      added the new enum value removed to the query request parameter status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status