Publish MQTT event
documentedPublish an MQTT event to the broker as defined by the hub configuration.
POST /mqtt_eventMQTT Eventno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://hubsdk.flic.io/v1/mqtt_event" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"topic": "{{$topic}}", "payload": {{$payload}} }'