POST /signals/push/

The API publish signal values is

POST https://api.databoom.com/v1/signals/push/

To call the API a token OAuth with Publish permission is needed.

Data format to forward is available at Data format to forward

It is possible to specify meta data in the request body to update signal properties. In the example screenshot the following fields are updated 

  •   type, description field of the type of signal (types list is available with API);
  •   tags, values to be used next as filters in signals list;
  •   unit,  unit of measurement of the signal.

Same call in cURL is

curl --location --request POST 'http://127.0.0.1:3001/v1/signals/push/' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <OAuth Token>' \
--data-raw '{
   "device":"0hki456nf3",
   "signals": [{
           "name":"postman_signal",
           "value":15,
           "meta":{
               "type":"temperatura",
               "tags":["test","meta","push"],
               "unit":"m"
           }
   }]
}'

API return a confirm message

{
   "message": "ALL_INFO_PROCESSED"
}
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.