メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
experimentation
/
feature-flags
テナントの機能フラグを一覧表示します。
curl --request GET \
  --url https://{tenantDomain}/api/v2/experimentation/feature-flags \
  --header 'Authorization: Bearer <token>'
{
  "feature_flags": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "name": "<string>",
      "updated_at": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "parameters": {}
    }
  ],
  "next": "<string>"
}

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

クエリパラメータ

from
string

選択を開始する起点となる任意の id。

take
integer

1ページあたりに返す機能フラグの数。既定値は25、最大値は50です。

必須範囲: 1 <= x <= 50
type
enum<string>

type で絞り込みます。完全一致です。 type で絞り込みます。完全一致。

利用可能なオプション:
auth0,
self
status
enum<string>

status で絞り込みます。完全一致です。 status で絞り込みます。完全一致。

利用可能なオプション:
draft,
active,
archived

レスポンス

機能フラグが正常に取得されました。

feature_flags
object[]
必須
next
string

次のページの checkpoint トークン。以降の結果がない場合は省略されます。