Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Pass local information up to the API #4

Open
sungo opened this issue May 31, 2019 · 0 comments
Open

Pass local information up to the API #4

sungo opened this issue May 31, 2019 · 0 comments

Comments

@sungo
Copy link
Contributor

sungo commented May 31, 2019

For record keeping and the like, we should pass more data up to the API via custom http headers.
As I see it, the highest priorities are:

  • version of the conch lib
    • so the API can reject old clients if needed be)
  • the command line executed by the user
    • the APi obviously has logs of what urls were called but there's no way to distinguish the use of conch device :id and conch api get /device/:id. It'd be super useful for us to know that.
@sungo sungo transferred this issue from joyent/conch-shell Sep 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant