Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

captive: add model info to the JSON #105

Closed
3 tasks done
drbild opened this issue Oct 24, 2019 · 1 comment
Closed
3 tasks done

captive: add model info to the JSON #105

drbild opened this issue Oct 24, 2019 · 1 comment

Comments

@drbild
Copy link
Contributor

drbild commented Oct 24, 2019

Report the device model number in the JSON.

  • Extract the model number from /etc/mender/artifact_info, either xaprc001 or xaprw001.
  • Add an endpoint /model that returns the model number as a JSON string.
  • Add a "model" key to the root JSON object.
@glfejer
Copy link
Contributor

glfejer commented Oct 29, 2019

Fixed by #106

@glfejer glfejer closed this as completed Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants