Get Target Rules
Returns the current set of targeting rules.
A successful response.
Schema
- Array [
- ALL_SESSIONS: Apply always (default).
- NO_SESSIONS: Never apply.
- PREVIEW_SESSIONS_ONLY: Apply only for "previewed" sessions e.g. to test the addition of a BLOCK_UNMASK rule.
- LIVE_SESSIONS_ONLY: Apply only for non-preview sessions e.g. to test the removal of an BLOCK_EXCLUDE rule.
- Array [
- UID: common
- PLATFORM: a value of schema.PageTypeEnum
- DOMAIN: web related
- APP_VERSION: native mobile related
- BUILD_TYPE: application build variant
- FS_VERSION: application fs instrumentation version
- FS_BUILD_ID: application fs build id
- OS_VERSION: operating system version
- MODEL: device model
- MANUFACTURER: device manufacturer
- Array [
- ]
- ]
- Array [
- ]
- ]
sessionTargetingRules object[] optional
Possible values: [ALL_SESSIONS
, NO_SESSIONS
, PREVIEW_SESSIONS_ONLY
, LIVE_SESSIONS_ONLY
]
Default value: ALL_SESSIONS
RuleScope is used to limit the scope exclusion rules so a customer can dogfood a rule in "audited" sessions they record themselves before turning the rule on for all of their users.
conditions object[] optional
Possible values: [UID
, IP
, LOCATION
, PLATFORM
, DOMAIN
, USER_AGENT
, APP_VERSION
, BUILD_TYPE
, FS_VERSION
, FS_BUILD_ID
, OS_VERSION
, MODEL
, MANUFACTURER
]
identified user
application version string (can be normalized to a numeric value for comparison operators, if in dotted quad form)
Possible values: [EQ
, NEQ
, LT
, LTE
, GT
, GTE
, RANGE
, CONTAINS
]
values object[] optional
versionVal object optional
Possible values: [AND
, OR
]
children object[] optional
Possible values: [AND
, OR
]
metadata object optional
When this entity was last updated.
Who made the last update to this entity.
When this entity was first created.
Who first created this entity.
{
"sessionTargetingRules": [],
"metadata": {
"lastUpdated": "2020-10-01T23:53:06.496Z",
"lastUpdatedBy": "bob@example.com",
"created": "2020-10-01T23:53:06.496Z",
"createdBy": "bob@example.com"
}
}