{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/my-triggers","auth":"required","examples":{"codes":[{"language":"curl","code":"# Return my triggers\ncurl \\\n -H 'Authorization: Basic c3VwZXItcGluazpwaW5raXNoLXB1cnBsZWlzaAo=' \\\n https://triggers.octoblu.com/my-triggers\n\n# With a filter\ncurl \\\n -H 'Authorization: Basic c3VwZXItcGluazpwaW5raXNoLXB1cnBsZWlzaAo=' \\\n https://triggers.octoblu.com/my-triggers?flowContains=device:drone"},{"code":"$authHeaders=:::at:::{ meshblu_auth_uuid = 'fd205f32-7846-4057-911b-3d580747b6c9'; meshblu_auth_token = '9f63aaa056618ee5c79197660c4de874718e41da' }\n\nInvoke-RestMethod `\n -URI http://triggers.octoblu.com/all-triggers?flowContains=device:hue `\n -ContentType \"application/json\" `\n -Headers $authHeaders `\n -Method Get","name":"PowerShell","language":"text"}]},"method":"get","params":[{"name":"flowContains","type":"string","default":"","desc":"Filters the triggers to those from flows that contain at least one node of the given type. Multiple flowContains parameters are combined using AND","required":false,"in":"query","ref":"","_id":"5744e02dc067580e0056b055"}],"results":{"codes":[{"status":200,"language":"json","code":"[\n {\n \"name\": \"Trigger\",\n \"flowId\": \"1b8a3bc0-bf2e-4bc9-b2e7-a7e23635884c\",\n \"flowName\": \"FFFFFFFLLLLO\",\n \"id\": \"032e9420-16fd-11e6-b00d-d1154b1c3a92\",\n \"online\": true,\n \"uri\": \"https://triggers.octoblu.com/flows/1b8a3bc0-bf2e-4bc9-b2e7-a7e23635884c/triggers/032e9420-16fd-11e6-b00d-d1154b1c3a92\"\n }\n]","name":""}]},"settings":"573f36307eeb8b190094cab0"},"next":{"description":"","pages":[]},"title":"List My Triggers","type":"endpoint","slug":"list-my-triggers","excerpt":"Retrieve all triggers in flows owned by the device.","body":"This causes the trigger to perform a Meshblu Search for flows as the device whose authentication was passed in. There is no default identity for this endpoint, so unauthenticated requests will return an HTTP 401.\n\nUnlike the [Get All Triggers `/all-triggers`](doc:get-all-triggers) endpoint, is that this only returns triggers from flows that have the Authenticated UUID listed as its owner, and have an `online` value of `true`.\n[block:callout]\n{\n \"type\": \"warning\",\n \"body\": \"If using 2.0 Whitelists, the authenticated device must be present in the Flow's `discover.view` whitelist to get its triggers. See the [Meshblu whitelist documentation](https://meshblu.readme.io/docs/whitelists-2-0) for more information.\\n\\nIf using the deprecated whitelists, being the owner of the flow is sufficient permission to retrieve its triggers.\",\n \"title\": \"Check the Permissions\"\n}\n[/block]","updates":[],"order":2,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"573f3f6c87cbd20e00208e62","githubsync":"","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["573f3f6c87cbd20e00208e44","573f3f6c87cbd20e00208e43","573f3f6c87cbd20e00208e45","573f3f6c87cbd20e00208e46","573f3f6c87cbd20e00208e47","573f3f6c87cbd20e00208e48","573f3f6c87cbd20e00208e49","573f3f6c87cbd20e00208e4a","573f3f6c87cbd20e00208e4b","579a382265f89a170099946f","57bce03036eff81700666963"],"_id":"573f3f6c87cbd20e00208e42","createdAt":"2016-05-18T20:59:16.635Z","releaseDate":"2016-05-18T20:59:16.635Z","__v":2,"project":"573f3f6c87cbd20e00208e41"},"parentDoc":null,"__v":1,"createdAt":"2016-05-20T16:06:55.382Z","editedParams":true,"editedParams2":true,"user":"5564f227f0f70f0d00a9ab20","project":"573f3f6c87cbd20e00208e41","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Flow Triggers","slug":"flow-triggers","order":4,"from_sync":false,"reference":false,"_id":"573f3f6c87cbd20e00208e49","version":"573f3f6c87cbd20e00208e42","__v":0,"createdAt":"2016-05-20T16:02:55.724Z","project":"573f3f6c87cbd20e00208e41"}}
getList My Triggers
Retrieve all triggers in flows owned by the device.
Definition
{{ api_url }}{{ page_api_url }}
Parameters
Query Params
flowContains:
string
Filters the triggers to those from flows that contain at least one node of the given type. Multiple flowContains parameters are combined using AND