Skip to content

API question #164

Answered by MarcViola
MarcViola asked this question in Q&A
Discussion options

You must be logged in to vote

Answering my own question.

tile_id="ID"
tile_title="TITLE"
curl -X POST 'http://IP:port/api/push' -d 'tile_id='$tile_id -d 'tile_template=big_value'
-d 'data={"title":"'"${tile_title}"'" , "big-value": "", "lower-left-label": "", "upper-left-label": "", "upper-right-label": "", "lower-right-label": "", "description": "", "upper-left-value": "", "lower-left-value": "", "upper-right-value": "", "lower-right-value": "" }'
-d 'meta={ "big_value_color": "green", "fading_background": "false"}'

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MarcViola
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant