get https://api-prod-us-west-2.solinkcloud.com/v2/cameras//snapshot
The Snapshot API endpoint allows third-party developers to retrieve camera snapshots at a specific timestamp.
The following workflow outlines the necessary steps to authenticate, list available devices and cameras, and fetch snapshots.
Snapshot Retrieval Workflow
-
Authenticate
Obtain an access token. -
List Devices
Identify the available devices and their deviceId. -
List Cameras
Fetch cameras associated with a specific deviceId. -
Retrieve a Snapshot
Request a snapshot using the cameraId and desired timestamp as outlined below.
Sample Request
curl --request GET \
--url 'https://api-prod-us-west-2.solinkcloud.com/v2/cameras/{cameraId}/snapshot?timestamp={timestamp}' \
--header 'Authorization: Bearer {ACCESS_TOKEN}' \
--header 'x-api-key: {API_KEY}'
Sample Response
A successful request returns the binary data of a JPEG image, which represents the snapshot taken at the specified timestamp.