createSnapshotForFrame
Mutation
Creates a snapshot Image for the frame identified by the given global
frame ID.
Response
Returns Image!
Arguments
| Name | Type | Description |
|---|---|---|
snapshot | CreateSnapshotForFrameInput! | Arguments to create a snapshot for a frame. |
Example
mutation createSnapshotForFrame( $snapshot: CreateSnapshotForFrameInput!) { createSnapshotForFrame( snapshot: $snapshot ) { id dataSourceId timestamp url thumbnailUrl }}{ "snapshot": { "frameId": "ae455f15-ffae-866c-82ca-d5024743b53f" }}{ "data": { "createSnapshotForFrame": { "id": "71c5045b-8c64-8008-88e1-7cc3beceffe4", "dataSourceId": "0c3f4715-1a80-88eb-9606-bf9ba9d61e66", "timestamp": "2025-01-01T00:00:00.000Z", "url": "url-9d02", "thumbnailUrl": "thumbnailUrl-a1f8" } }}