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

Make an index page for the Adam server #25

Open
mydatascience opened this issue May 10, 2020 · 1 comment
Open

Make an index page for the Adam server #25

mydatascience opened this issue May 10, 2020 · 1 comment

Comments

@mydatascience
Copy link
Contributor

mydatascience commented May 10, 2020

When I go to the page I'd like to see at least something like:

Hello. Welcome to ADAM. Here are the Endpoints:

The following are the admin endpoints:

GET /onboard - list all onboard certificates
GET /onboard/{cn} - get a specific onboard certificate
POST /onboard - upload a new onboarding certificate
DELETE /onboard - clear all onboarding certificates
DELETE /onboard/{cn} - delete a specific onboarding certificate
GET /device - list all devices
GET /device/{uuid} - get details of one device
GET /device/{uuid}/config - get config for one device
PUT /device/{uuid}/config - update config for one device
GET /device/{uuid}/logs - get all known logs for one device; set header X-Stream=true to stream all new logs instead
GET /device/{uuid}/info - get all known info messages for one device; set header X-Stream=true to stream all new info instead
POST /device - create a new device
DELETE /device - delete all devices
DELETE /device/{uuid} - delete one specific device

Even better if I see that I have some EVE connected to ADAM

@rvs
Copy link
Contributor

rvs commented May 10, 2020

Yeah, that's been on @deitch and my TODO list for some time (and I suppose it is also related to #28 since you can serve that one up as well)

That said, we still not quite out of the weeds on basic functionality -- patches are VERY welcome, of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants