JourneyVariantReplay
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
POST |
/api/v1/organizations/{organization_id}/verification/projects/{project_id}/product_map/journey_variants/{variant_id}/replays |
create |
Reviewed replay request; existing Run approval remains required |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
created, err := client.JourneyVariantReplay(nil).Create(map[string]any{"journey_variant_id": "example", "organization_id": "example", "project_id": "example", "idempotency_key": "example", "review_reason": "example", "scenario_file": map[string]any{}}, nil)
if err != nil {
panic(err)
}
fmt.Println(created)
Lua
Construct client as shown in the Lua setup, then call the operations:
local created, err = client:JourneyVariantReplay():create({ journey_variant_id = "example", organization_id = "example", project_id = "example", idempotency_key = "example", review_reason = "example", scenario_file = {} })
PHP
Construct client as shown in the PHP setup, then call the operations:
$created = $client->JourneyVariantReplay()->create(["journey_variant_id" => "example", "organization_id" => "example", "project_id" => "example", "idempotency_key" => "example", "review_reason" => "example", "scenario_file" => []]);
Python
Construct client as shown in the Python setup, then call the operations:
created = client.JourneyVariantReplay().create({ "journey_variant_id": "example", "organization_id": "example", "project_id": "example", "idempotency_key": "example", "review_reason": "example", "scenario_file": {} })
Ruby
Construct client as shown in the Ruby setup, then call the operations:
created = client.JourneyVariantReplay.create({ "journey_variant_id" => "example", "organization_id" => "example", "project_id" => "example", "idempotency_key" => "example", "review_reason" => "example", "scenario_file" => {} })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const created = await client.JourneyVariantReplay().create({ journey_variant_id: "example", organization_id: "example", project_id: "example", idempotency_key: "example", review_reason: "example", scenario_file: {} })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
actor_id |
one,string,null |
Yes | Actor Id |
can_request_qualification |
boolean |
Yes | Can Request Qualification |
created_at |
string |
Yes | Created At |
failure_code |
one,string,null |
Yes | Failure Code |
failure_message |
one,string,null |
Yes | Failure Message |
id |
string |
Yes | Id |
idempotency_key |
string |
Yes | Idempotency Key |
max_seconds |
integer |
No | Max Seconds |
preparation_receipt |
one,object,null |
Yes | Preparation Receipt |
qualification |
any |
Yes | Qualification |
qualification_status |
string |
Yes | Qualification Status |
replay_required |
boolean |
Yes | Replay Required |
review_reason |
string |
Yes | Review Reason |
run_id |
one,string,null |
Yes | Run Id |
scenario_file |
object |
Yes | Scenario File |
scenario_run_id |
one,string,null |
Yes | Scenario Run Id |
source_digest |
string |
Yes | Source Digest |
status |
string |
Yes | Status |
updated_at |
string |
Yes | Updated At |
variant_id |
string |
Yes | Variant Id |
create
POST /api/v1/organizations/{organization_id}/verification/projects/{project_id}/product_map/journey_variants/{variant_id}/replays
Operation ID: api_v1_verification_project_product_map_journey_replays.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
project_id |
path |
string |
Yes | |
variant_id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
actor_id |
string |
No | |
idempotency_key |
string |
Yes | |
max_seconds |
integer |
No | |
review_reason |
string |
Yes | |
scenario_file |
object |
Yes |
Responses
202: Reviewed replay request; existing Run approval remains required
application/json
| Property | Type | Required | Description |
|---|---|---|---|
actor_id |
string,null |
Yes | |
can_request_qualification |
boolean |
Yes | |
created_at |
string |
Yes | |
failure_code |
string,null |
Yes | |
failure_message |
string,null |
Yes | |
id |
string |
Yes | |
preparation_receipt |
object,null |
Yes | |
preparation_receipt.actor_id |
string,null |
Yes | |
preparation_receipt.definition_digest |
string |
Yes | |
preparation_receipt.environment_revision_id |
string |
Yes | |
preparation_receipt.plan_digest |
string |
Yes | |
preparation_receipt.replay_required |
boolean |
Yes | |
preparation_receipt.run_id |
string |
Yes | |
preparation_receipt.scenario_run_id |
string |
Yes | |
preparation_receipt.source_digest |
string |
Yes | |
qualification |
object or null |
Yes | |
qualification_status |
enum: unqualified, pending, checking, qualified, refused, unavailable |
Yes | |
replay_required |
boolean |
Yes | |
review_reason |
string |
Yes | |
run_id |
string,null |
Yes | |
scenario_run_id |
string,null |
Yes | |
source_digest |
string |
Yes | |
status |
enum: pending, prepared, refused |
Yes | |
updated_at |
string |
Yes | |
variant_id |
string |
Yes |