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

Ping request endpoint #3

Closed
mpetrunic opened this issue Sep 6, 2020 · 2 comments · Fixed by #25
Closed

Ping request endpoint #3

mpetrunic opened this issue Sep 6, 2020 · 2 comments · Fixed by #25
Labels
enhancement New feature with low priority

Comments

@mpetrunic
Copy link
Member

mpetrunic commented Sep 6, 2020

  • http

  • auth using token in header (X-Auth-Header)

  • POST /api/v1/nodes/{id}/pings

  • implementation:

    • store ping timestamp for given node id
@mpetrunic mpetrunic added this to the Milestone 1 milestone Sep 6, 2020
@mpetrunic mpetrunic changed the title Add http api for ping requests Ping request endpoint Sep 6, 2020
@mpetrun5
Copy link
Member

@mpetrunic @MakMuftic
I forgot to ask. I changed the url on daemon to /api/v1/nodes/pings as we should have node-id in token.
Is that ok or should I change?

@mpetrunic
Copy link
Member Author

Yup, thats fine.

@MakMuftic MakMuftic mentioned this issue Sep 18, 2020
@mpetrun5 mpetrun5 added the enhancement New feature with low priority label Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature with low priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants