List all feature flags for a project
GET
/api/v4/projects/{id}/feature_flags
Lists all feature flags of the requested project. Use the page and per_page pagination parameters to control the pagination of results.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”scope
string
The scope of feature flags, one of: enabled, disabled
page
integer
Current page number
Example
1per_page
integer
Number of items per page
Example
20Responses
Section titled “Responses”OK
Media typeapplication/json
object
name
string
description
string
active
boolean
version
string
created_at
string format: date-time
updated_at
string format: date-time
scopes
array
strategies
object
id
integer format: int64
name
string
parameters
string
scopes
object
id
integer format: int64
environment_scope
string
user_list
object
id
integer format: int64
iid
integer
name
string
user_xids
string
Example
{ "name": "merge_train", "description": "merge train feature flag", "version": "new_version_flag", "created_at": "2019-11-04T08:13:51.423Z", "updated_at": "2019-11-04T08:13:51.423Z", "strategies": { "id": 1, "name": "userWithId", "parameters": "{\"userIds\": \"user1\"}", "scopes": { "id": 1, "environment_scope": "production" }, "user_list": { "id": 1, "iid": 1, "name": "user_list", "user_xids": "user1,user2" } }}Bad Request
Unauthorized
Not found