2018-08-29 19:13:01 +00:00
# Describes the format for Habitica service
api_call :
2021-05-12 18:49:04 +00:00
name : API name
2021-02-04 00:43:07 +00:00
description : Call Habitica API
2018-08-29 19:13:01 +00:00
fields :
name :
2021-05-12 18:49:04 +00:00
name : Name
2018-08-29 19:13:01 +00:00
description : Habitica's username to call for
2021-05-12 18:49:04 +00:00
required : true
2020-04-05 08:33:45 +00:00
example : "xxxNotAValidNickxxx"
2021-05-12 18:49:04 +00:00
selector :
text :
2018-08-29 19:13:01 +00:00
path :
2021-05-12 18:49:04 +00:00
name : Path
2018-08-29 19:13:01 +00:00
description : "Items from API URL in form of an array with method attached at the end. Consult https://habitica.com/apidoc/. Example uses https://habitica.com/apidoc/#api-Task-CreateUserTasks"
2021-05-12 18:49:04 +00:00
required : true
2018-08-29 19:13:01 +00:00
example : '["tasks", "user", "post"]'
2021-05-12 18:49:04 +00:00
selector :
object :
2018-08-29 19:13:01 +00:00
args :
2021-05-12 18:49:04 +00:00
name : Args
2021-02-04 00:43:07 +00:00
description : Any additional JSON or URL parameter arguments. See apidoc mentioned for path. Example uses same API endpoint
2018-08-29 19:13:01 +00:00
example : '{"text": "Use API from Home Assistant", "type": "todo"}'
2021-05-12 18:49:04 +00:00
selector :
object :