Getting Triggers
Retrieve triggers and configurations
GET /v1/smart-capture/trigger/:triggerId
DESCRIPTION: Get information about a trigger or all triggers.
URL parameters:
| Parameter Name | Required | Description |
|---|---|---|
| triggerId | Optional | ID of the trigger to get information about. If omitted, will return all triggers. |
Response Values (JSON):
List containing below values for the specified trigger if triggerId is provided, or for all triggers if triggerId is omitted.
| Parameter Name | Description |
|---|---|
| date_created | Date time of the date the trigger was created |
| query | Smart Capture Query Language (SCQL) query to use for the trigger. |
| name | Descriptive name of the trigger |
| device_ids | List of device ids to deploy this trigger to. |
| sample_rate | Number of milliseconds since last trigger activation to wait before enabling again. |
| dataset_id | Nucleus dataset that captured data will be uploaded to if specified. |
Updated 10 months ago
Did this page help you?