I’m trying to register a device to openbalena using the API but i can’t make it work, i would appreciate any help.
when i execute
curl -X POST -k --cacert ca.crt -H “Content-Type: application/json” -H “Authorization: Bearer xxxxx” --data “{“application”: “test”}” “https://api.myhost.com/v5/device”
I get “Unknown device type undefined” error.
it seems theres no clear docs on how to do this