I looked through the API docs and found a lot of useful information. However I was wondering if there is an API call to register a core with a specific account? I plan to create an admin app and when a customer goes to get the device online I want it to auto register with my account after they put in their user credentials.
Seems like it didn’t end up in the docs. I have opened a github issue and will push a PR tonight.
See the command used here:
Bascially a POST command with core-id and access-token to `api.spark.io/v1/devices
Thank you for the quick response, I will give that a try!
It’s now in the docs: http://docs.spark.io/api/#introduction-claim-core