How do i use the REST part of the Onion?
-
In the documentation is stated that i can use curl to (for example) list available devices. As following:
curl -H "Authorization: Bearer SuperSecretToken123" \ -F "type=OnionOmega1.1" -F "access_level=public" \ -X GET "https://api.onion.io/v1/devices/list"
How do i get a token? And is bearer the username? It's all a bit unclear.
Can anybody shed some light on this?
-
Hi @Bart-Peperkamp, the Onion Cloud is still in private beta. We will be releasing it in about 3 weeks to the public. Once it is released, there will be an app on the Console to generate tokens.
-
@Boken-Lin Thanks for the reply. Scanning through the docs i found this out Hope to see it soon, good luck with the development!
-
@Bart-Peperkamp Thanks! We are all super stoked about the public release! Can't wait to get all of you to start using it