List feature flag definitions in environment

Retrieves the feature flag definitions given an FME environment.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Access requirements

The Authorization Bearer (Admin API Key authorizing the request) must have one of the following roles and scopes:

Admin API Key roles accepted

  • API_ALL_GRANTED
  • API_FEATURE_FLAG_VIEWER
  • API_FEATURE_FLAG_EDITOR

Admin API Key scopes accepted

  • GLOBAL
  • WORKSPACE
  • ENVIRONMENT

To learn more about Admin API Key roles and scopes, see API keys overview.


JSON Received

{
    "objects": [ FEATURE_FLAG_DEFINITIONS ], // Array of feature flag definitions returned
    "offset": Number, // Offset received
    "limit": Number, // Limit received
    "totalCount": Number // Total number of feature flag definitions
}
Path Params
string
required

The ID of the project (workspace) you want to get feature flag definitions from. After migration to Harness, get this value using the Get Projects (Workspaces) endpoint and the Harness project name.

string
required

The ID or case-sensitive name of the FME environment you want to get feature flag definitions from

Query Params
int32
Defaults to 0

The offset to retrieve. Useful for pagination.

int32
Defaults to 20

The maximum feature flags to return per call. Default=20. Max=50.

string

(Optional) An array of IDs of the flag sets you want to filter by. This will allow you to retrieve all feature flags that belong to specific flag sets.

Form Data
string
Responses

Language
LoadingLoading…
Response
Choose an example:
application/json