DemoShareSegment
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}/segments/{segment_id} |
load |
Video bytes |
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_segment, err := client.DemoShareSegment(nil).Load(map[string]any{"demo_share_id": "example", "id": "example_id"}, nil)
if err != nil {
panic(err)
}
fmt.Println(demo_share_segment)
Lua
Construct client as shown in the Lua setup, then call the operations:
local demo_share_segment, err = client:DemoShareSegment():load({ demo_share_id = "example", id = "example_id" })
PHP
Construct client as shown in the PHP setup, then call the operations:
$demo_share_segment = $client->DemoShareSegment()->load(["demo_share_id" => "example", "id" => "example_id"]);
Python
Construct client as shown in the Python setup, then call the operations:
demo_share_segment = client.DemoShareSegment().load({"demo_share_id": "example", "id": "example_id"})
Ruby
Construct client as shown in the Ruby setup, then call the operations:
demo_share_segment = client.DemoShareSegment.load({ "demo_share_id" => "example", "id" => "example_id" })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const demo_share_segment = await client.DemoShareSegment().load({ demo_share_id: "example", id: "example_id" })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
id |
string |
No | Id |
load
GET /api/v1/verify/demo_shares/{token}/segments/{segment_id}
Operation ID: get_api_v1_verify_demo_shares_token_segments_segment_id_.
Authentication: not required.
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
token |
path |
string |
Yes | |
segment_id |
path |
string |
Yes |
Responses
200: Video bytes
application/json
The response is object.
video/webm
The response is string (binary).
video/mp4
The response is string (binary).