API

DemoShare

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /api/v1/verify/demo_shares/{token} load Shared demo
GET /api/v1/verify/demo_shares/{token}/thumbnail load Demo capture with a play button

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:

demo_share, err := client.DemoShare(nil).Load(map[string]any{"id": "example_id"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(demo_share)

Lua

Construct client as shown in the Lua setup, then call the operations:

local demo_share, err = client:DemoShare():load({ id = "example_id" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$demo_share = $client->DemoShare()->load(["id" => "example_id"]);

Python

Construct client as shown in the Python setup, then call the operations:

demo_share = client.DemoShare().load({"id": "example_id"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

demo_share = client.DemoShare.load({ "id" => "example_id" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const demo_share = await client.DemoShare().load({ id: "example_id" })

Fields

Field Type Required Description
head_sha string Yes Head Sha
id string No Id
recording object Yes Recording
summary string Yes What the recorded browser confirmed.

load

GET /api/v1/verify/demo_shares/{token}

Operation ID: get_api_v1_verify_demo_shares_token_.

Authentication: not required.

Parameters

Parameter In Type Required Description
token path string Yes

Responses

200: Shared demo

application/json

Property Type Required Description
head_sha string Yes
recording object Yes
recording.video_groups array of object Yes
recording.video_groups[].actor_id string,null No The named actor whose browser this recording contains; null when unknown.
recording.video_groups[].continuous boolean Yes
recording.video_groups[].id string Yes
recording.video_groups[].videos array of object Yes
recording.video_groups[].videos[].duration_ms number,null Yes Recorded length of this segment of one continuous recording, when known.
recording.video_groups[].videos[].id string Yes
recording.video_groups[].videos[].recording_id string,null Yes
recording.video_groups[].videos[].start_ms number,null Yes
recording.video_groups[].videos[].timing_source enum: recorded, estimated, null Yes
recording.video_groups[].videos[].url string Yes
recording.webp_segments array of object Yes
recording.webp_segments[].duration_ms number,null Yes Recorded length of this segment of one continuous recording, when known.
recording.webp_segments[].id string Yes
recording.webp_segments[].recording_id string,null Yes
recording.webp_segments[].start_ms number,null Yes
recording.webp_segments[].timing_source enum: recorded, estimated, null Yes
recording.webp_segments[].url string Yes
summary string Yes What the recorded browser confirmed.
401: Unauthorized
403: Forbidden
422: Unprocessable entity
502: Bad gateway

GET /api/v1/verify/demo_shares/{token}/thumbnail

Operation ID: get_api_v1_verify_demo_shares_token_thumbnail.

Authentication: not required.

Parameters

Parameter In Type Required Description
token path string Yes

Responses

200: Demo capture with a play button

image/png

The response is string (binary).

302: Generic play card when no capture is retained