Re-resolve a switch advisory under a hand-supplied policy (A/B taste; not persisted)
Required permission: media:read
AuthorizationBearer <token>
API key auth. Prefix cf_live_ for production orgs, cf_test_ for sandbox.
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/projects/string/selector/preview" \ -H "Content-Type: application/json" \ -d '{ "groupId": "string" }'{ "projectId": "string", "groupId": "string", "selectorVersion": "string", "signalVersions": { "property1": "string", "property2": "string" }, "moments": [ { "startSec": 0, "endSec": 0, "chosen": "string", "pacingNote": "string", "candidates": [ { "candidateId": "string", "role": "string", "score": 0, "contributions": { "property1": 0, "property2": 0 }, "reasons": [ "string" ] } ] } ], "recommendation": { "cutSchedule": [ { "startSec": 0, "endSec": 0, "candidateId": "string", "sourceInSec": 0, "sourceOutSec": 0, "reasons": [ "string" ] } ], "audioBed": [ { "startSec": 0, "endSec": 0, "candidateId": "string", "reasons": [ "string" ] } ], "suppressedSwitches": [ { "atSec": 0, "wouldHaveBeenCandidateId": "string", "byScore": 0, "blockedBy": "string", "releaseAtSec": 0 } ] }, "divergesFromComposition": true}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}