From 573610c70db3e4577eec0c802db772b6cb2d8d0e Mon Sep 17 00:00:00 2001 From: Andrew Soback Date: Thu, 10 Feb 2022 01:30:35 -0600 Subject: [PATCH] Added intent handle api endpoint (#1210) --- docs/api/rest.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/api/rest.md b/docs/api/rest.md index e7b108bc..444e6944 100644 --- a/docs/api/rest.md +++ b/docs/api/rest.md @@ -645,3 +645,18 @@ If the check fails, the errors attribute in the object will list what caused the ``` + + + +Handle an intent. + +Sample `curl` command: + +```shell +curl -X POST -H "Authorization: Bearer ${TOKEN}" \ + -H 'Content-Type: application/json' \ + -d '{ "name": "SetTimer", "data": { "seconds": "30" } }' \ + http://localhost:8123/api/intent/handle +``` + +