Execute Browser feature decisions

Zephr HTML Features can be run in the browser by calling this API directly or using the Zephr Browser SDK. For compatibility with CDN, any web headers (Referrer, User-Agent) will be accepted and passed onto the rule engine.

SecurityCookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Request
header Parameters
Cookie
string

The session cookie.

Example: blaize_session=...
Request Body schema: application/json
featureIds
required
Array of any

Array of HTML Feature IDs

session
string

Zephr Session ID

referer
string

Browser referer

path
string

Request path, defaults to "/"

object
giftToken
string

Token to provide access to content for one session

jwt
string

A Json Web Token, may include identity or product holding claims

customData
object

Custom data to be used in Feature HTML browser rule. Accepts a JSON object

Responses
200

OK

post/zephr/feature-decisions
Request samples
application/json
{
  • "featureIds": [
    ],
  • "session": "xxx-xxx-xxx",
  • "path": "/x.html",
  • "content_metadata": {
    },
  • "giftToken": "xxx-xxx-xxx",
  • "jwt": "xxx-xxx-xxx",
  • "customData": {
    }
}
Response samples
application/json
{
  • "featureResults": {
    },
  • "resources": {
    },
  • "accessDetails": {
    }
}