Experiment Center のセグメントを作成します。
curl --request POST \
--url https://{tenantDomain}/api/v2/experimentation/segments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"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>"
]
}
}
],
"description": "<string>"
}
'{
"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>"
}セグメントを作成
実験で使用するための、ルールベースのメンバーシップ条件を持つ新しいセグメントを作成します。
POST
https://{tenantDomain}/api/v2
/
experimentation
/
segments
Experiment Center のセグメントを作成します。
curl --request POST \
--url https://{tenantDomain}/api/v2/experimentation/segments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"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>"
]
}
}
],
"description": "<string>"
}
'{
"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>"
}承認
bearerAuthoAuth2ClientCredentials
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ボディ
application/jsonapplication/x-www-form-urlencoded
実験のターゲティング用セグメントを作成する
⌘I