メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
experimentation
/
segments
/
{id}
ID でセグメントを取得します。
curl --request GET \
  --url https://{tenantDomain}/api/v2/experimentation/segments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "created_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "name": "<string>",
  "rules": [
    {
      "match": {
        "browser": [
          "<string>"
        ],
        "client_id": [
          "<string>"
        ],
        "connection": [
          "<string>"
        ],
        "connection_type": [
          "<string>"
        ],
        "country": [
          "<string>"
        ],
        "device_type": [
          "<string>"
        ],
        "domain": [
          "<string>"
        ],
        "organization_id": [
          "<string>"
        ],
        "platform": [
          "<string>"
        ],
        "region": [
          "<string>"
        ],
        "user_agent": [
          "<string>"
        ]
      },
      "not_match": {
        "browser": [
          "<string>"
        ],
        "client_id": [
          "<string>"
        ],
        "connection": [
          "<string>"
        ],
        "connection_type": [
          "<string>"
        ],
        "country": [
          "<string>"
        ],
        "device_type": [
          "<string>"
        ],
        "domain": [
          "<string>"
        ],
        "organization_id": [
          "<string>"
        ],
        "platform": [
          "<string>"
        ],
        "region": [
          "<string>"
        ],
        "user_agent": [
          "<string>"
        ]
      }
    }
  ],
  "updated_at": "2023-11-07T05:31:56Z",
  "description": "<string>"
}

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

取得するセグメントのID。

レスポンス

セグメントを正常に取得しました。

created_at
string<date-time>
必須
id
string
必須
Pattern: ^seg_[A-HJ-NP-Za-km-z1-9]+$
name
string
必須
rules
object[]
必須
type
enum<string>
必須
利用可能なオプション:
self,
auth0
updated_at
string<date-time>
必須
description
string